mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-16 23:51:15 +02:00
Compare commits
2 Commits
debian/1.0
...
upstream/1
Author | SHA1 | Date | |
---|---|---|---|
adebbd6fee | |||
5bdcaad4bf |
@ -1,8 +1,7 @@
|
|||||||
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
|
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
|
||||||
OPTIONS="--quiet --syslog"
|
|
||||||
|
|
||||||
* */4 * * * root zfs-auto-snapshot $OPTIONS --label=frequent --keep=4 //
|
*/15 * * * * root zfs-auto-snapshot -q -g --label=frequent --keep=4 //
|
||||||
@hourly root zfs-auto-snapshot $OPTIONS --label=hourly --keep=24 //
|
@hourly root zfs-auto-snapshot -q -g --label=hourly --keep=24 //
|
||||||
@daily root zfs-auto-snapshot $OPTIONS --label=daily --keep=31 //
|
@daily root zfs-auto-snapshot -q -g --label=daily --keep=31 //
|
||||||
@weekly root zfs-auto-snapshot $OPTIONS --label=weekly --keep=4 //
|
@weekly root zfs-auto-snapshot -q -g --label=weekly --keep=4 //
|
||||||
@monthly root zfs-auto-snapshot $OPTIONS --label=monthly --keep=12 //
|
@monthly root zfs-auto-snapshot -q -g --label=monthly --keep=12 //
|
||||||
|
@ -136,7 +136,7 @@ GETOPT=$(getopt \
|
|||||||
--longoptions=default-exclude,dry-run,skip-scrub,recursive \
|
--longoptions=default-exclude,dry-run,skip-scrub,recursive \
|
||||||
--longoptions=keep:,label:,prefix:,sep: \
|
--longoptions=keep:,label:,prefix:,sep: \
|
||||||
--longoptions=debug,help,quiet,syslog,verbose \
|
--longoptions=debug,help,quiet,syslog,verbose \
|
||||||
--options=dnshl:k:rs:gv \
|
--options=dnshl:k:rs:qgv \
|
||||||
-- "$@" ) \
|
-- "$@" ) \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user