Snapshot management tool for btrfs
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
shadow
.gitignore
readme
setup.py
shadowconsole

readme

:: 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