Skip to content

Releases: baodrate/snap-sync

Release 0.7

24 Jan 12:31
276e177
Compare
Choose a tag to compare
  • By default, don't keep old, unneeded snapshots. Instead, delete them. But, user can you -k to keep the old snapshot. #74 #82
  • Add -q option to disable notifications. #90
  • Add support for sudo when using ssh. #87
  • Document COPR support. #88
  • Add progress bar support if pv is installed. #93

Release 0.6.1

15 Mar 17:24
0.6.1
691b897
Compare
Choose a tag to compare
Release 0.6.1

Release 0.6

15 Mar 17:22
0.6
1eeafdf
Compare
Choose a tag to compare
Release 0.6

Release 0.5

25 May 17:50
0.5
30b4db1
Compare
Choose a tag to compare
  • 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

26 Aug 18:21
0.4.2
c97a99f
Compare
Choose a tag to compare
  • Revert commit that removed needed script for Makefile (#52).

Relase 0.4.1

23 Aug 23:46
0.4.1
a4a6ef7
Compare
Choose a tag to compare
  • 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

29 May 18:52
0.4
dfab7e8
Compare
Choose a tag to compare
  • Backup via ssh
  • Fix for updated syntax with btrfs-progs (#32)
  • Fix for undefined behavior when pressing enter at disk selection (#33)
  • Use bash traps
  • Perform all user prompts before running backup
  • Documentation updates
  • Fix typos in snapper commands

Release 0.3.1

01 Feb 02:49
0.3.1
a15ad6c
Compare
Choose a tag to compare
  • Check all configurations for failed backups (#27)
  • Make enter confirm question (#25)
  • Documentation updates

Release 0.3

31 Jan 02:38
0.3
25311a6
Compare
Choose a tag to compare
  • 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

29 Nov 14:08
0.2.2
Compare
Choose a tag to compare

Bug fixes.