暫無描述

yourcoke 4b459bde06 Added mkdir 10 年之前
lib a9a53a3d6e Serialize snap/destroy 12 年之前
node_modules 5beb57c2d2 V2: New config format, features. 12 年之前
.gitignore 5beb57c2d2 V2: New config format, features. 12 年之前
LICENSE 5eeda79954 Relicense as MIT 13 年之前
Makefile 4b7cb15d95 Build/install docs updated 13 年之前
README.md b5065b8011 fix install link for new github URL 11 年之前
install.sh 4b459bde06 Added mkdir 10 年之前
package.json 109b629156 2.0.0 12 年之前
zsnapper a9a53a3d6e Serialize snap/destroy 12 年之前
zsnapper.ini 5beb57c2d2 V2: New config format, features. 12 年之前
zsnapper.xml 5beb57c2d2 V2: New config format, features. 12 年之前

README.md

 _______ _ __   __ _ _ __  _ __   ___ _ __
|_  / __| '_ \ / _` | '_ \| '_ \ / _ \ '__|
 / /\__ \ | | | (_| | |_) | |_) |  __/ |
/___|___/_| |_|\__,_| .__/| .__/ \___|_|
                    |_|   |_|

This is a ZFS snapshotting service for Solaris, OpenIndiana, SmartOS and friends. It takes periodic snapshots of the datasets you specify, at whatever intervals you like. You tell it how many of each kind to keep around and the rest gets cleaned out.

Installation

SmartOS

bash <(curl -Lsk https://raw.githubusercontent.com/calmh/zsnapper/master/install.sh)

This will install into /opt/local/zsnapper and drop default config and manifest into /opt/local/etc and /opt/custom/smf respectively. If the config is already present it won't be overwritten, so this can be used for upgrades as well.

Non-SmartOS Solaris, Linux, or FreeBSD

# npm -g install zsnapper

Copy the zsnapper.ini to a suitable place, start zsnapper with the location of the config file as the only parameter. For Solaris, there's an example SMF in zsnapper.xml.

License

MIT