Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Snapshot management tool for btrfs
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
shadow updated list_snapshots to show most recent first
.gitignore
readme
setup.py
shadowconsole updated list-snapshots to use btrfs to list snapshots

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


Something went wrong with that request. Please try again.