Skip to content
/ rdup Public

The only backup program that doesn't make backups!

License

Notifications You must be signed in to change notification settings

miekg/rdup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fa1c753 · Mar 5, 2024
Apr 13, 2010
Mar 4, 2019
May 11, 2013
Feb 4, 2016
Mar 5, 2024
Feb 4, 2016
Aug 4, 2017
Aug 4, 2017
Mar 5, 2024
Mar 5, 2024
Feb 8, 2008
Mar 5, 2024
Jan 18, 2010
May 13, 2013
May 9, 2013
Feb 22, 2009
Jul 6, 2013
May 13, 2013
May 13, 2013
Sep 28, 2009
Apr 18, 2008
Apr 18, 2008
Mar 5, 2024
Feb 4, 2016
Nov 9, 2019
Apr 7, 2021
May 13, 2013
Jan 13, 2010
Apr 7, 2021
May 13, 2013
Mar 5, 2024
Sep 28, 2009
May 13, 2013
May 9, 2013
May 13, 2013
Apr 7, 2021
May 13, 2013
Oct 1, 2009
Jan 1, 2015
Aug 4, 2017
Oct 16, 2010
Aug 4, 2017
May 25, 2012
Aug 4, 2017
Apr 4, 2010
May 11, 2013
Mar 5, 2024
May 13, 2013
May 13, 2013
May 9, 2013
May 13, 2013
May 3, 2009
May 13, 2013
May 27, 2013
May 13, 2013
May 13, 2013
May 13, 2013
May 13, 2013

Repository files navigation

# 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.
* PCRE2 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
* Cygwin

./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.

# Coding style

All code has been indented by `indent -linux`