Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

install sysutils/acts to make it dead simple

Just start with this and you'll have backups in less than 5 mins

http://blog.feld.me/posts/2015/05/braindead-freebsd-backups-...



Nice! For larger sites, having a NAS/SAN setup with enough cheapo spinning-rust is a good way to consolidate onsite->offsite backups (using multiple providers).

0. Use backup agents for local boxes to make a compressed, encrypted backup to the NAS/SAN on some host-unique temporary dir on the same volume as the offsite dir.

1. Test restores of backups to throwaway VMs before blessing them as good for offsite storage. Fail any backups that fail this test. (Very important for checking backup jobs and restore automation processes. An untested backup == not a backup.)

2. Use mv to move the compressed backup from host-unique dir into the offsite dir.

3. Continuously replicate the offsite dir to offsite providers.

4. Prune old jobs as needed, which then replicates. (Be sure to set provider-specific previous backup retentions appropriately, to avoid error replication issues.)

5. Sleep at night.


Thanks for the great advice :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: