mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-18 08:29:58 +02:00
Compare commits
3 Commits
debian/1.0
...
upstream/1
Author | SHA1 | Date | |
---|---|---|---|
|
d8b1730015 | ||
|
adebbd6fee | ||
|
5bdcaad4bf |
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,6 +0,0 @@
|
|||||||
zfs-auto-snapshot (1.0.0) oneiric; urgency=low
|
|
||||||
|
|
||||||
* Initial release.
|
|
||||||
* Initial debian packaging.
|
|
||||||
|
|
||||||
-- Darik Horn <dajhorn@vanadac.com> Mon, 21 Nov 2011 20:01:19 -0600
|
|
1
debian/compat
vendored
1
debian/compat
vendored
@@ -1 +0,0 @@
|
|||||||
7
|
|
16
debian/control
vendored
16
debian/control
vendored
@@ -1,16 +0,0 @@
|
|||||||
Source: zfs-auto-snapshot
|
|
||||||
Section: admin
|
|
||||||
Priority: extra
|
|
||||||
Maintainer: Darik Horn <dajhorn@vanadac.com>
|
|
||||||
Build-Depends: debhelper (>= 7.4)
|
|
||||||
Standards-Version: 3.8.4
|
|
||||||
Homepage: http://www.zfsonlinux.org/
|
|
||||||
Vcs-Git: git://github.com/dajhorn/zfs-auto-snapshot.git
|
|
||||||
Vcs-Browser: https://github.com/dajhorn/zfs-auto-snapshot/
|
|
||||||
|
|
||||||
Package: zfs-auto-snapshot
|
|
||||||
Architecture: all
|
|
||||||
Depends: ${misc:Depends}, cron, zfsutils
|
|
||||||
Description: ZFS Automatic Snapshot Service
|
|
||||||
Automatically create and destroy ZFS snapshots on an hourly, daily, weekly
|
|
||||||
and monthly schedule.
|
|
1
debian/copyright
vendored
1
debian/copyright
vendored
@@ -1 +0,0 @@
|
|||||||
Copyright 2011 Darik Horn <dajhorn@vanadac.com>
|
|
4
debian/rules
vendored
4
debian/rules
vendored
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@
|
|
2
debian/watch
vendored
2
debian/watch
vendored
@@ -1,2 +0,0 @@
|
|||||||
version=3
|
|
||||||
http://githubredir.debian.net/github/dajhorn/zfs-auto-snapshot/([\d\.].*).tar.gz
|
|
@@ -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
|
||||||
|
|
||||||
@@ -508,4 +508,5 @@ done
|
|||||||
print_log notice "@$SNAPSHOT_NAME, \
|
print_log notice "@$SNAPSHOT_NAME, \
|
||||||
$SNAPSHOT_COUNT created, $DESTRUCTION_COUNT destroyed, $WARNING_COUNT warnings."
|
$SNAPSHOT_COUNT created, $DESTRUCTION_COUNT destroyed, $WARNING_COUNT warnings."
|
||||||
|
|
||||||
|
exit 0
|
||||||
# }
|
# }
|
||||||
|
Reference in New Issue
Block a user