Skip to content

ehazlett/shadow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


About

Snapshot management tool for btrfs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages