You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understood correctly, you will always remove the other versions of the backups. However it might make sense to keep e.g. the last 14 versions, no?
Would you feel like making that into a parameter?
The text was updated successfully, but these errors were encountered:
Unfortunately Bash scripting isn't my thing, I would have to do it in Python, but I think this could be implemented:
You are using list_file_names to retrieve the files from b2 and you extract files[]|.fileName+"'$DELIMITER'"+.fileId from that.
However you could check files[]|.fileName+"'$DELIMITER'"+.uploadTimestamp and ignore files that were uploaded in the last $UPLOAD_RETENTION days?
If I understood correctly, you will always remove the other versions of the backups. However it might make sense to keep e.g. the last 14 versions, no?
Would you feel like making that into a parameter?
The text was updated successfully, but these errors were encountered: