Why Time Machine Isn’t Good Enough
- It sometimes takes forever to perform a backup.
- You can’t inspect what it’s doing easily.
- You cannot create a custom schedule. If you want more frequent backups, you have to run it manually.
- It fails frequently with encrypted filesystems on external disks.
- Exclusions only available though the GUI, and there is no wildcard matching.
- It cannot sync over the network.
Why Rsnapshot Isn’t Good Enough
alpha.0/has no inherent meaning.
- And consequently,
Why I Made Safekeep
- Safekeep is just another rsync-hard-link-backup clone.
- I wanted exclusions configurable per directory. If there is no exclusion file in the target directory, it walks up the directory hierarchy until one is found. Bowerrc and Editorconfig work this way.
- Nevertheless, Safekeep lacked backup expiration. Even though it uses filesystem hard links, eventually the filesystem will run out of inodes. In the end, one must address numerous links and expire superfluous/extensive backups.
Use Rsync Time Backup
Use rsync time backup. Here’s why it’s awesome:
- No prerequisites, it’s just a bash script. Use it the same way on OS X and Linux.
- The default expiry is more than adequate for most use cases.
- Complete control over backup scheduling - just use a cronjob.
- What about when there is no more space on the device? It handles that! E.g. the message reads
rsync_tmbackup: [WARNING] No space left on device - removing oldest backup and resuming.
- By far, the biggest advantage is remote backup over ssh.
Tips For Success
- Most importantly, backup your home directory. After you’re satisfied with this, then add system directories.
- Backup everything, and cherry pick exclusions. E.g. developers would likely exclude
- Schedule cronjobs for when it makes sense for you.
- Keep your eye on the backup output! Without read permissions you cannot back something up. Try mutt for reading cronjob mail.
- Regarding remote backups: you might want to define subset of your complete local backup. The subset would be your most critical files. They’re going over the network so file size is a performance factor.