f0b279c9191dfeb1ff0f5c023b63c17811e1f50e
README
zfs-auto-snapshot scripts allow automatic snapshots of all zfs filesystems and volumes.
The script will automatically rotate snapshots deleting old ones.
The script will temporarely avoid backups on damaged pools or pools with scrubbing going on.
It creates:
4 snapshots for hour to rotate every 15 min
24 hourly snapshots
30 daily snapshots
12 weekly snapshots
12 yearly snapshots
Script has been tested on zfs on linux 0.8.3, centos 7
Original script from https://github.com/zfsonlinux/zfs-auto-snapshot
I semplified the code and fixed some bugs
to install
cd to current folder
make install
to uninstall
cd to current folder
make uninstall
NOTE
uninstalling the script doesn't delete made snapshots
Description
Languages
Shell
77.7%
Makefile
22.3%