Skip to content

zidarko/zfs-auto-snapshot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zfs-auto-snapshot:

An alternative implementation of the zfs-auto-snapshot service for Linux
that is compatible with zfs-linux and zfs-fuse.

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.

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.


Installation:
-------------

wget https://github.com/zidarko/zfs-auto-snapshot/archive/master.zip
unzip master.zip
cd zfs-auto-snapshot-master
make install

Recent changes:
-------------

2017-01-13:
1. Changed all cron scripts to Bash.
2. Add script to scrub ZFS pools on a weekly basis.
2016-04-29:
1. Explicitly defined PATH in the cron scripts.
2. Set the snapshot tool to use local time format instead of UTC.

About

ZFS Automatic Snapshot Service for Linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 80.9%
  • Roff 14.0%
  • Makefile 5.1%