-
released this
2022-03-28 11:31:57 +09:00 | 77 commits to master since this releaseVERSION 4.0 CHANGE
Version 4.0 introduces default borg repository name with
-filefor thefilemodule. The repository has to be renamed manual before the next backup or the backup will fail.Example:
Old backup name
BACKUP_FILE="some-backup-data.borg"Then the file need to be renamed the following way:
mv some-backup-data.borg some-backup-data-file.borgBelow changes have to be done after the
filemodule backup has been renamed.With Version 4.0 all backup sets are prefixed with the module name and a comma. For exmaple the files backup will have backup set "file,YYYY-MM-DD" as base name.
To make sure prune of archives will work the
_borg_backup_set_prefix_cleanup.shscript has to be run once. It has the same config (-c), debug (-d) and dry run (-n) options like the main scripts. It is recommended to run with the dry-run script first and see that the list of chagnes matches the expectation.The zabbix module has the prefix changed from
zabbix-settings-tozabbix,settings-to match the new archive set rulesOne time backup
-T for one time backups outside normal prune rules (will not be automatically deleted)
-D for delete this set or set group (for DB backups)-b borg executable override and settings
-b option for setting borg executable or BORG_EXECUTEABLE in the main settings file to override the borg executable.
Also checks if borg is actually a borg command with version checkborg 1.2 compact
Update calls for borg 1.2 for compact command run after prune and delete, also add list and other options where now possible
Downloads