Releases: baodrate/snap-sync
Releases · baodrate/snap-sync
Release 0.7
Release 0.6.1
Release 0.6.1
Release 0.6
Release 0.6
Release 0.5
- Keep old local snapper snapshots after backup is complete. Number algorithm is used for cleaning, and the description is such that a user can manually remove if desired.
- Make libnotify optional.
- Remote backup fixes (#58).
- Use readline to read stdin (#60).
- Detect if backup destination already exists (#54).
- Use subvolid of mounted btrfs disk, since a single disk can have multiple subvolumes mounted. This breaks current usage and causes snap-sync to skip over past backups. The subvolid is now output when snap-sync is run.
Users will need to manually add subvolid
to the user data of snapper snapshots in order to not have a full backup run again. For example, if your last backup has the following line:
# snapper -c root list | grep "latest incremental backup"
single | 1319 | | Fri 25 May 2018 02:42:16 PM EDT | root | | latest incremental backup | backupdir=E5-575, uuid=7360922b-c916-4d9f-a670-67fe0b91143c
You need to modify it such that it has the subvolume id, keeping the rest of the entry the same:
# snapper -c root modify -u "subvolid=5" 1319
Now the entry should be:
single | 1319 | | Fri 25 May 2018 02:42:16 PM EDT | root | | latest incremental backup | backupdir=E5-575, subvolid=5, uuid=7360922b-c916-4d9f-a670-67fe0b91143c
To get the subvolume id of your backup disk, mount the disk (for example to /mnt
) and then do:
# btrfs subvolume show /mnt | awk '/Subvolume ID:/ { print $3 }'
Most likely if you are not specifying the subvolume or subvolume id when you mount the disk, it will be 5
, which is the top level subvolume for the filesystem.
Release 0.4.2
- Revert commit that removed needed script for Makefile (#52).
Relase 0.4.1
- Trace errors (#39)
- Prevent duplicate notifications (thanks @tlvince)
- Fixed typos and UUID/targets bug (thanks @albertmichaelj)
- Exclude source subvolues (#28)
- Skip duplicate subvolumes (#41)
- Prompt user to delete failed snapshots (#40)
- Update install instructions, change snapper config location in Makefile (#43)
- Check if root filesystem is btrfs before excluding (#44)
- Allow nonroot user to see help
Thanks to @NicoHood for all the input, bug fixes, etc.
Release 0.4
Release 0.3.1
Release 0.3
- Add notifications (#20)
- Add logging to systemd journal (#22)
- Tag snapshots with description indicating failed backup (#22)
- Warn of previous incomplete backups (#24)
- Keep prompting until valid input (#17)
- Add SNAP_SYNC_EXCLUDE (#11)
- Prompt user for backup directory on all configurations before running backups (#5)
- Sign commits (#18)
Release 0.2.2
Bug fixes.