back to notes

Backup and Recovery with Native OS Tools

* System tar and restore
Backup and Restore your system using tar or Transfer it with rsync
System tar & restore contains two bash scripts, backup and restore.
- The purpose is to make the process of backing up and restoring a full GNU/Linux installation easier, using tar or transfer an existing installation using rsync.
https://github.com/tritonas00/system-tar-and-restore

* Linux Complete Backup and Recovery HOWTO
http://www.tldp.org/HOWTO/pdf/Linux-Complete-Backup-and-Recovery-HOWTO.pdf

* Simple Off-Site Backups with rsync, ssh, and sudo
May 2, 2012
Setting up a proper backup system is often ignored until it's too late. Manage a computer or a server for long enough, and you'll inevitably run into missing data, or worse yet, corrupted data. For small servers running on a VPS, a complete off-site backup solution might be cost prohibitive or even unavailable. Many backup systems use complicated or proprietary storage mechanisms, making recovery difficult when restoring from "bare metal". Using a combination of rsync, ssh, sudo, and a touch of bash, it's possible to back up your servers quickly and easily.
https://www.lullabot.com/articles/simple-offsite-backups-with-rsync-ssh-and-sudo

* migratehistories - Script to maintain histories
- Backup stuff with rsync and hard links. I manage pruning older copies from the backup set by grouping them into hourly, daily, weekly and monthly folders. The "hourly" folder is the first destination for a historical backup folder. If the time delta of the items in the hourly folder gets to be > 1 day, then one of the older items is migrated to the "daily" folder, and the others are deleted. This process is repeated for each of the time periods. This method of distribution over time insures that I have a good mix of recent and older copies of each item set being backed up.
( From comment:
https://www.lullabot.com/articles/simple-offsite-backups-with-rsync-ssh-and-sudo#comment-1931105588 )
https://github.com/greg-1-anderson/utiliscripts/blob/master/migratehistories


* Simple Off-Site Backups with rsync, ssh, and sudo
https://www.lullabot.com/articles/simple-offsite-backups-with-rsync-ssh-and-sudo


last updated june 2018