first commit , first release

This commit is contained in:
admin
2020-04-16 01:49:22 +02:00
parent 8907581851
commit e2bc399c02
8 changed files with 184 additions and 21 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh
PATH=$PATH:/usr/local/sbin
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null || exit 0
exec zfs-auto-snapshot --label daily --keep 31

View File

@@ -0,0 +1,3 @@
PATH="/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
*/15 * * * * root which zfs-auto-snapshot > /dev/null || exit 0 ; zfs-auto-snapshot --label quarterhour --keep 4

View File

@@ -0,0 +1,7 @@
#!/bin/sh
PATH=$PATH:/usr/local/sbin
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null || exit 0
exec zfs-auto-snapshot --label hourly --keep 24

View File

@@ -0,0 +1,7 @@
#!/bin/sh
PATH=$PATH:/usr/local/sbin
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null || exit 0
exec zfs-auto-snapshot --label monthly --keep 12

View File

@@ -0,0 +1,7 @@
#!/bin/sh
PATH=$PATH:/usr/local/sbin
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null || exit 0
exec zfs-auto-snapshot --label weekly --keep 12