jeremywohl / glastree

Builds live backup trees, with branches for each day.

This URL has Read+Write access

glastree / glastree.1
100644 64 lines (59 sloc) 1.488 kb
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
55
56
57
58
59
60
61
62
63
64
.\" -*-nroff-*-
.\"
.\" glastree.1
.\"
.\" Jeremy Wohl (http://igmus.org/code)
.\" Public domain; no warranty, no responsibility, etc.
.\"
.\" $Id: glastree.1,v 1.5 2003/01/27 00:26:26 jeremyw Exp $
.\"
.TH glastree 1 "February 2002" Unix "User Manuals"
.SH NAME
.PP
glastree \- build live, daily backup trees
.SH SYNOPSIS
.PP
.B glastree
[options]
sourcedir
backupdir
.SH DESCRIPTION
.PP
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 (see glastreeprune) effects a constant, sliding
window.
 
You may repeat invocations to one
.I backupdir
with different
.IR sourcedir s.
 
Intermittent backups will retain compression if runs are not more than
sixty (60) days apart.
.SH EXAMPLE CRON
.nf
# backup ~/Mail everyday at 5am
0 5 * * * glastree Mail /backup
 
# as above, keeping only last 3 days
0 5 * * * glastree Mail /backup; glastreeprune --days=3 /backup | xargs -- rm -fr
.fi
.SH OPTIONS
.PP
.IP "--today=\fIpath\fP"
Use path instead of today's date (YYYYMM/DD)
.IP "--yesterday=\fIpath\fP"
Use path instead of yesterday's date (YYYYMM/DD)
.IP "--version"
Display version and exit
.IP "--help"
Display help message and exit
.SH REPORTING BUGS
Report bugs to <jeremyw-glastree@igmus.org>.
.SH SEE ALSO
.PP
.BR glastreeprune (1)
.PP
http://igmus.org/code
.SH AUTHOR
.PP
Jeremy Wohl