shadow

btrfs snapshot utility


License
AGPL-3.0
Install
pip install shadow==0.31

Documentation

:: Shadow ::

Shadow is a snapshot management utility for the btrfs filesystem.  You can use it in 
tandem with package managers (such as pacman for Arch linux) to provide restore 
snapshots (similar to what Yum does in Fedora with btrfs).

** btrfs on / is required

Shadow will snapshot all kernels/initrds as well as the root (/) filesystem for later
recovery.

Installation
-------------

Download and extract (or clone) and run:

python setup.py install

OR

pip install shadow


Usage
------

View options and help:

shadowconsole --help


List snapshots (shadow only):

shadowconsole --list-snapshots


Create a snapshot:

shadowconsole --snapshot

Create a snapshot with name:

shadowconsole --snapshot --name mysnapshot


Activate a snapshot:

shadowconsole --activate-snapshot <snapshot_id>

i.e.: shadowconsole --activate-snapshot 201106192000


Merge a snapshot:

shadowconsole --merge-snapshot <src_snapshot_id>:<target_snapshot_id>

i.e.:  shadowconsole --merge-snapshot testing:base


Remove a snapshot:

shadowconsole --remove-snapshot <snapshot_id>

i.e.: shadowconsole --remove-snapshot testing