mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-17 16:11:19 +02:00
Compare commits
1 Commits
zevo
...
debian/1.0
Author | SHA1 | Date | |
---|---|---|---|
b2bf3f2c9d |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
|
|
||||||
.DS_Store
|
|
10
Makefile
10
Makefile
@ -2,14 +2,6 @@ all:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
install -d $(DESTDIR)$(PREFIX)/etc/cron.d
|
install -d $(DESTDIR)$(PREFIX)/etc/cron.d
|
||||||
install -d $(DESTDIR)$(PREFIX)/etc/cron.daily
|
install etc/zfs-auto-snapshot.cron $(DESTDIR)$(PREFIX)/etc/cron.d/zfs-auto-snapshot
|
||||||
install -d $(DESTDIR)$(PREFIX)/etc/cron.hourly
|
|
||||||
install -d $(DESTDIR)$(PREFIX)/etc/cron.weekly
|
|
||||||
install -d $(DESTDIR)$(PREFIX)/etc/cron.monthly
|
|
||||||
install etc/zfs-auto-snapshot.cron.frequent $(DESTDIR)$(PREFIX)/etc/cron.d/zfs-auto-snapshot
|
|
||||||
install etc/zfs-auto-snapshot.cron.hourly $(DESTDIR)$(PREFIX)/etc/cron.hourly/zfs-auto-snapshot
|
|
||||||
install etc/zfs-auto-snapshot.cron.daily $(DESTDIR)$(PREFIX)/etc/cron.daily/zfs-auto-snapshot
|
|
||||||
install etc/zfs-auto-snapshot.cron.weekly $(DESTDIR)$(PREFIX)/etc/cron.weekly/zfs-auto-snapshot
|
|
||||||
install etc/zfs-auto-snapshot.cron.monthly $(DESTDIR)$(PREFIX)/etc/cron.monthly/zfs-auto-snapshot
|
|
||||||
install -d $(DESTDIR)$(PREFIX)/sbin
|
install -d $(DESTDIR)$(PREFIX)/sbin
|
||||||
install src/zfs-auto-snapshot.sh $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot
|
install src/zfs-auto-snapshot.sh $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot
|
||||||
|
12
README
12
README
@ -1,14 +1,4 @@
|
|||||||
zfs-auto-snapshot:
|
An alternative implementation of the zfs-auto-snapshot service for Linux.
|
||||||
|
|
||||||
An alternative implementation of the zfs-auto-snapshot service for Macosx
|
|
||||||
that is compatible with ZEVO community zfs.
|
|
||||||
|
|
||||||
Automatically create, rotate, and destroy periodic ZFS snapshots. This is
|
|
||||||
the utility that creates the @zfs-auto-snap_frequent, @zfs-auto-snap_hourly,
|
|
||||||
@zfs-auto-snap_daily, @zfs-auto-snap_weekly, and @zfs-auto-snap_monthly
|
|
||||||
snapshots if it is installed.
|
|
||||||
|
|
||||||
It can backup to remote systems utilizing zfs send command.
|
|
||||||
|
|
||||||
This program is a posixly correct bourne shell script. It depends only on
|
This program is a posixly correct bourne shell script. It depends only on
|
||||||
the zfs utilities and cron, and can run in the dash shell.
|
the zfs utilities and cron, and can run in the dash shell.
|
||||||
|
6
debian/changelog
vendored
Normal file
6
debian/changelog
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
7
|
16
debian/control
vendored
Normal file
16
debian/control
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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
Normal file
1
debian/copyright
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
Copyright 2011 Darik Horn <dajhorn@vanadac.com>
|
4
debian/rules
vendored
Executable file
4
debian/rules
vendored
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
version=3
|
||||||
|
http://githubredir.debian.net/github/dajhorn/zfs-auto-snapshot/([\d\.].*).tar.gz
|
8
etc/zfs-auto-snapshot.cron
Normal file
8
etc/zfs-auto-snapshot.cron
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
|
||||||
|
OPTIONS="--quiet --syslog"
|
||||||
|
|
||||||
|
* */4 * * * root zfs-auto-snapshot $OPTIONS --label=frequent --keep=4 //
|
||||||
|
@hourly root zfs-auto-snapshot $OPTIONS --label=hourly --keep=24 //
|
||||||
|
@daily root zfs-auto-snapshot $OPTIONS --label=daily --keep=31 //
|
||||||
|
@weekly root zfs-auto-snapshot $OPTIONS --label=weekly --keep=4 //
|
||||||
|
@monthly root zfs-auto-snapshot $OPTIONS --label=monthly --keep=12 //
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
|
|
@ -1,3 +0,0 @@
|
|||||||
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
|
|
||||||
|
|
||||||
*/15 * * * * root zfs-auto-snapshot -q -g --label=frequent --keep=4 //
|
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
|
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
|
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
|
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user