4 ms·
Still one of my all time favorite approaches is the DIY-style snapshot-based system with rsync and hard links, which keeps snapshot sizes small: This example k
by pwenzel 12y ago
Still one of my all time favorite approaches is the DIY-style snapshot-based system with rsync and hard links, which keeps snapshot sizes small:
This example keeps the days worth of filesystem backups:
rm -rf backup.3
mv backup.2 backup.3
mv backup.1 backup.2
cp -al backup.0 backup.1
rsync -a --delete source_directory/ backup.0/
More details: http://www.mikerubel.org/computers/rsync_snapshots/ http://www.mikerubel.org/computers/rsync_snapshots/
Trinkup is a script that automates this approach, somewhat like rsnapshot:
https://gist.github.com/ei-grad/7610406 https://gist.github.com/ei-grad/7610406