forked from guppy/snappy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
33 lines (22 loc) · 792 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
snappy
======
snappy is a backup program for managing rsync based snapshots.
To check out the most recent release, type:
git clone git://github.com/guppy/snappy.git
Usage
=====
snappy -n N interval source destination
-n: the number of copies to keep
interval: hourly, daily, or weekly
source: any source argument you would normally pass to rsync
destination: the destination directory that already exists
example:
snappy -n 6 hourly [email protected]:/home /mnt/backups/example.com/home
If you ran that every 4 hours via cron, you would end up with directories named
hourly.0 to hourly.5, each of which contain a complete snapshot of
example.com's /home filesystem.
Requirements
============
rsync >= 2.5.6
python >= 2.4
A destination volume that can handle doing hard-links.