This website requires JavaScript.
Explore
Help
Sign In
extern
/
zfs-auto-snapshot
Watch
1
Star
0
Fork
1
You've already forked zfs-auto-snapshot
mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced
2025-02-23 13:50:53 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d99147db7a
zfs-auto-snapshot
/
etc
/
zfs-auto-snapshot.cron.weekly
3 lines
77 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Split the cron file for anacron compatibilty. Split the cron file so that the hourly, daily, weekly, and monthly zfs automatic snapshots still happen even if the system is offline temporarily during the scheduled event, such as during a reboot. On Debian systems, if anacron is installed, then it is used to run the /etc/cron.{hourly,daily,weekly,monthly} directories, but not the /etc/cron.d directory. This means that /etc/cron.d jobs are not run if the system is offline when crond would usually invoke them.
2011-11-25 17:51:03 +01:00
#!/bin/sh
Set keep=8 in the weekly cron job. A default of keep=8 for weekly snapshot is more useful than keep=4, which is no more protective than the default daily schedule.
2011-12-22 03:29:27 +01:00
exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
Reference in New Issue
Copy Permalink