Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The only backup program that doesn't make backups!

Fix double free

latest commit 7bd2cecb42
Miek Gieben authored
Octocat-spinner-32 contrib doc update April 13, 2010
Octocat-spinner-32 doc Update doc and Fix %H for hardlink May 27, 2013
Octocat-spinner-32 po Correct documentation for new usage of -P May 11, 2013
Octocat-spinner-32 testsuite Make the -a test a noop too July 13, 2013
Octocat-spinner-32 AUTHORS Add new people February 17, 2012
Octocat-spinner-32 ChangeLog Fix memory leak October 08, 2013
Octocat-spinner-32 DEPENDENCIES Make the documentation pandoc-like February 17, 2012
Octocat-spinner-32 GNUmakefile.in Add prerequisites to strip target May 07, 2013
Octocat-spinner-32 LICENSE LICENSE change to GPL3 February 08, 2008
Octocat-spinner-32 README Pull all code through indent -linux May 09, 2013
Octocat-spinner-32 RELEASE-NOTES-1.1 make release notes better January 18, 2010
Octocat-spinner-32 abspath.c Even better license text May 13, 2013
Octocat-spinner-32 base64.c Pull all code through indent -linux May 09, 2013
Octocat-spinner-32 base64.h made base64 use g_malloc0() functions, not the systems one February 22, 2009
Octocat-spinner-32 child.c Fix the reaping of the children July 06, 2013
Octocat-spinner-32 chown.c Even better license text May 13, 2013
Octocat-spinner-32 common.c Even better license text May 13, 2013
Octocat-spinner-32 common.h Cleanup header files September 28, 2009
Octocat-spinner-32 config.guess config.{sub,guess} seem to be needed April 18, 2008
Octocat-spinner-32 config.sub config.{sub,guess} seem to be needed April 18, 2008
Octocat-spinner-32 configure.ac Do not link to gmp May 08, 2013
Octocat-spinner-32 crawler.c Make the -a option a noop July 13, 2013
Octocat-spinner-32 crypt.c Fix double free October 09, 2013
Octocat-spinner-32 dir.c Even better license text May 13, 2013
Octocat-spinner-32 entry.c Even better license text May 13, 2013
Octocat-spinner-32 entry.h fix compile on older distros January 13, 2010
Octocat-spinner-32 fs-up.c Even better license text May 13, 2013
Octocat-spinner-32 getdelim.c Even better license text May 13, 2013
Octocat-spinner-32 gfunc.c Fix memory leak October 08, 2013
Octocat-spinner-32 glib-2.0.m4 stuff begins to work December 24, 2005
Octocat-spinner-32 install-sh make install target December 27, 2005
Octocat-spinner-32 io.h More cleanup September 28, 2009
Octocat-spinner-32 link.c Even better license text May 13, 2013
Octocat-spinner-32 mkpath.c Pull all code through indent -linux May 09, 2013
Octocat-spinner-32 msg.c Even better license text May 13, 2013
Octocat-spinner-32 names.c Even better license text May 13, 2013
Octocat-spinner-32 protocol.c Even better license text May 13, 2013
Octocat-spinner-32 protocol.h more changes and cleanup for the new format October 01, 2009
Octocat-spinner-32 rdup-simple Correct documentation for new usage of -P May 11, 2013
Octocat-spinner-32 rdup-tr.c Fix double free October 09, 2013
Octocat-spinner-32 rdup-tr.h.in Fix libarchive detection October 16, 2010
Octocat-spinner-32 rdup-up.c Fix double free October 09, 2013
Octocat-spinner-32 rdup-up.h.in update the documention May 25, 2012
Octocat-spinner-32 rdup.c Fix memory leak October 08, 2013
Octocat-spinner-32 rdup.cron dont default to -a in cron April 04, 2010
Octocat-spinner-32 rdup.h.in Remove now unneeded MAX_CHILD_OPT macro May 11, 2013
Octocat-spinner-32 regexp.c Even better license text May 13, 2013
Octocat-spinner-32 reverse.c Even better license text May 13, 2013
Octocat-spinner-32 rm.c Even better license text May 13, 2013
Octocat-spinner-32 sha1.c Pull all code through indent -linux May 09, 2013
Octocat-spinner-32 signal.c Even better license text May 13, 2013
Octocat-spinner-32 site.exp more tests ported over to dejagnu May 03, 2009
Octocat-spinner-32 strippath.c Even better license text May 13, 2013
Octocat-spinner-32 todo update todo May 27, 2013
Octocat-spinner-32 usage-tr.c Even better license text May 13, 2013
Octocat-spinner-32 usage-up.c Even better license text May 13, 2013
Octocat-spinner-32 usage.c Even better license text May 13, 2013
Octocat-spinner-32 xattr.c Even better license text May 13, 2013
README
# 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.

# Coding style

All code has been indented by `indent -linux`
Something went wrong with that request. Please try again.