Brak opisu

Jakob Borg d7acf1ace9 Update README.md 10 lat temu
lib a9a53a3d6e Serialize snap/destroy 12 lat temu
node_modules 5beb57c2d2 V2: New config format, features. 12 lat temu
.gitignore 5beb57c2d2 V2: New config format, features. 12 lat temu
LICENSE 5eeda79954 Relicense as MIT 13 lat temu
Makefile 4b7cb15d95 Build/install docs updated 13 lat temu
README.md d7acf1ace9 Update README.md 10 lat temu
install.sh 4b459bde06 Added mkdir 10 lat temu
package.json 109b629156 2.0.0 12 lat temu
zsnapper a9a53a3d6e Serialize snap/destroy 12 lat temu
zsnapper.ini 5beb57c2d2 V2: New config format, features. 12 lat temu
zsnapper.xml 5beb57c2d2 V2: New config format, features. 12 lat temu

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

Inspect the installation script to ensure a lack of shenanigans:

curl -Lsk https://raw.githubusercontent.com/calmh/zsnapper/master/install.sh

Then either paste it to a file and run it yourself, or run it directly from the internet:

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