Collection of scripts used for data backup and snapshots, i.e. for btrfs and lizardfs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
333 B

7 years ago
Use BTRFS Snapshots For Backups
===============================
7 years ago
7 years ago
Try: btrfs-snapshots.sh --help
Setup daily btrfs snapshot of all mounted subvols in `/etc/fstab`:
sudo cp btrfs-snapshots.sh /etc/cron.daily/btrfs-snapshots
If you want hourly bakups, just enter:
sudo cp btrfs-snapshots.sh /etc/cron.hourly/btrfs-snapshots