forked from miekg/rdup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
81 lines (54 loc) · 2.25 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# TO BUILD
Run:
autoreconf && ./configure && make
Then a:
make install
as root, to get `rdup` installed.
Optionally you can also do a:
make check
to run the test suite, note that you will need DejaGNU installed
for this to work. If you find errors in this testrun, please
look at testlogs/rdup.log and send that to the author.
rdup depends on:
* Gmake for compilation
* Glib to build. Glib is the low level C library of the
GTK project. Configure will check for this.
* PCRE library
* LibNettle - if you want rdup-tr to do path encryption and
for sha hashing
optional:
* Libarchive - if you want to have rdup-tr
rdup should compile on all unix platforms out there. It is tested on
the following
* Linux
* Solaris
* FreeBSD
./configure will try to do the right thing, if you don't have
specific libraries certain functionality isn't built.
# DIFFERENCE WITH RSYNC
While rsync really works well, I wanted to have the ability to gzip
and/or encrypt the backed up files. rsync can not do that. That is why I
wrote rdup, which, with the help of rdup-tr and rdup-up will do that.
Rdup was created to make custom backups, but due to its flexibility it
can be used for much more.
# DOCUMENTATION
rdup is a utility inspired by rsync and the plan9 way of doing backups.
rdup it self does not backup anything, it only print a list of absolute
filenames to standard output. Auxiliary scripts are needed that act on
this list and implement the backup strategy. This way rdup can be kept
lean and mean. Currently the (stripped) rdup executable measures 26 KB (on
i386) and I don't expect that to increase much (maybe it will even get
smaller).
The manual page explains rdup's options and usage, see rdup(1). For an
introduction into making backups see rdup-backups(1). Helper tools
that are included are rdup-tr (see rdup-tr(1)) and rdup-up (see
rdup-up(1)). All manual pages include examples to get you started.
A small script 'rdup-simple' is also included, this makes starting
with rdup even more easy: rdup-simple ~ /backup. Will create a
backup of your homedir in /backup.
# COPYRIGHT
All files in this archive are copyrighted by Miek Gieben, unless stated
otherwise in the file itself.
(c) Miek Gieben, 2005-2011.
# LICENSE
GPL, version 3, see the file LICENSE.