This repository has been archived by the owner on Nov 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
55 lines (33 loc) · 1.34 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
glastree 1.05 stable
Overview
Builds live backup trees, with branches for each day. Users directly browse
the past to recover older documents or retrieve lost files.
Hard links serve to compress out unchanged files, while modified ones are
copied verbatim. A prune utility effects a constant, sliding window.
Satoru Takabayashi has writen a similar program, in Ruby,
"pdumpfs":http://namazu.org/~satoru/pdumpfs.
Installation
Edit install variables in Makefile, then 'make install' ::
# su
# make install
Examples
Backup home directory to /vol02/backup ::
# mkdir /vol02/backup
# glastree ~ /vol02/backup
You will subsequently see directories such as ::
/vol02/backup/200105/26/blah/blah
/vol02/backup/200105/27/blah/blah
...
Backup my Mail files to /backup/joe/Mail (a directory I own), everyday
at 4am, keeping last 35 days ::
0 4 * * * glastree Mail /backup/joe/Mail ; \
glastreeprune --days=35 /backup/joe/Mail | xargs -- rm -fr
As root, backup /home; user trees will be self-owned ::
# su
# glastree /home /backup
License
Released into the public domain. I provide no warranty, accept no
responsibility, etc.
Contact
Jeremy Wohl, jeremywohl at the gmail, "code homepage":https://github.com/jeremywohl/glastree.
I appreciate feedback, patches or anecdotes.