|
|
@ -7,7 +7,7 @@ older snapshots are deleted. |
|
|
|
|
|
|
|
|
|
|
|
To create regular snapshots on a daily base, just run: |
|
|
|
To create regular snapshots on a daily base, just run: |
|
|
|
|
|
|
|
|
|
|
|
sudo cp btrfs-snapshots.sh /etc/cron.daily/btrfs-snapshots |
|
|
|
sudo cp lizardfs-snapshots.sh /etc/cron.daily/lizardfs-snapshots |
|
|
|
|
|
|
|
|
|
|
|
If `lizardfs-snapshots` is run from a `cron.daily`, `cron.hourly`, |
|
|
|
If `lizardfs-snapshots` is run from a `cron.daily`, `cron.hourly`, |
|
|
|
`cron. monthly` or `cron.weekly` directory, the periodity is |
|
|
|
`cron. monthly` or `cron.weekly` directory, the periodity is |
|
|
@ -22,4 +22,4 @@ e.g. `/etc/lizardfs-snapshots.conf`: |
|
|
|
DESTINATION=/var/volumes/backup/snapshots |
|
|
|
DESTINATION=/var/volumes/backup/snapshots |
|
|
|
MONTHLY_DEL=13 |
|
|
|
MONTHLY_DEL=13 |
|
|
|
|
|
|
|
|
|
|
|
Try: `lizardfs-snapshots.sh --help` |
|
|
|
Try: `lizardfs-snapshots.sh --help` |
|
|
|