mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-17 16:11:19 +02:00
Compare commits
5 Commits
upstream/1
...
upstream/1
Author | SHA1 | Date | |
---|---|---|---|
d49be6a2de | |||
2e1f309131 | |||
1666623191 | |||
739972f18a | |||
8c45add2c0 |
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
exec which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
exec which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
exec which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
exec which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
|
||||
|
@ -110,7 +110,7 @@ print_log () # level, message, ...
|
||||
;;
|
||||
(inf*)
|
||||
# test -n "$opt_syslog" && logger -t "$opt_prefix" -p daemon.info $*
|
||||
test -n "$opt_verbose" && echo $*
|
||||
test -z ${opt_quiet+x} && test -n "$opt_verbose" && echo $*
|
||||
;;
|
||||
(deb*)
|
||||
# test -n "$opt_syslog" && logger -t "$opt_prefix" -p daemon.debug $*
|
||||
|
Reference in New Issue
Block a user