Time-Machine-style backup with rsync
github.com
Time-Machine-style backup with rsync
1–10 of 52 posts
Re: Time-Machine-style backup with rsync
#2You should also check out rsnapshot: http://www.rsnapshot.org/, it does a great job and has many of the features that this script does.
Re: Time-Machine-style backup with rsync
#3Re: Time-Machine-style backup with rsync
#4This looks great, doesn't seem to need anything other than rsync installed. You should also check out rsnapshot: http://www.rsnapshot.org/ , it does a great job and has many of the features that this script does.
Re: Time-Machine-style backup with rsync
#5Re: Time-Machine-style backup with rsync
#6Time Machine, as can be seen here http://www.apple.com/support/timemachine/ time machine is tightly integrated in the os and provides a self-defining interface and user experience.
This github page is for a wrapper shell script around rsync, which is not like time machine.
This has been going on for a while now, see Timevault (https://wiki.ubuntu.com/TimeVault ), back in time (http://backintime.le-web.org/ ) or flyback (http://www.flyback-project.org/ ).
Please telling us your backup solution is like time machine when it lacks the kind of UX time machine offers, thanks !
Re: Time-Machine-style backup with rsync
#7If you're looking for file snapshots and versioning, I've found Back In Time ( http://backintime.le-web.org/ ) to be awesome.
Re: Time-Machine-style backup with rsync
#8Re: Time-Machine-style backup with rsync
#9Also, if you're doing multiple backups of the same data to a filesystem over time, it's worth doing 'cp -al' from the previous backup to the current backup destination, then rsync over the top of that - that way multiple copies of files which haven't changed don't take up any extra space.
Re: Time-Machine-style backup with rsync
#10I started too with hard links but nowadays I prefer to format my backup disk with BTRFS and use btrfs snapshots instead, though I still support hard links.
I prefer btrfs snapshots due to their support for COW, so if I decide to play with a backup I won't mess all the other versions of this backup. With hard links you should never write to your existing backups.
Lately I added a helper script to mount remote filesystems and lock mysql databases but it could be easier to use.
Most of my code is checks to make sure I won't write somewhere I shouldn't to.