rdup 11dev

Posted in rdup; comments: 1

During the past few weeks I been (also) busy updating rdup. There were a few things I wanted to change (also because of users requesting these).

Major changes

  • Added username and groupname to the output of rdup
    • I've added two new output modifiers: %U and %G which hold the user- and groupname.
    • rdup-up will use the username when creating the file. If the username does not match the uid on the system the file is created, the (numeric) uid is used.
  • Added the m-time to the output of rdup
    • The modifier %t was already implemented, but now it is used by default.
    • rdup-up uses this to set the last modification time on the files it creates.
  • The output of rdup now defaults to with contents (the -c switch).
    • Actually this is the only output still supported
  • rdup-tr also understands this new output.
  • The -P switch has been moved from rdup-tr to rdup
    • Insert long story about deadlocks here...
  • All in all this has led to simpler and less code.

Smaller changes

  • Default install path is /usr/local
  • The timestamp file is now created before the backup.
    • If rdup touches this file after the backup there is a time window in which newly created files might not been seen by rdup.
  • libnettle has been removed in favor of OpenSSL

How can you help?

Check out rdup from git:

git clone http://www.miek.nl/git/rdup.git/

Pull the 11dev-branch were these changes are taking place:

cd rdup
git checkout -b 11dev origin/11dev

You can can also download a tar file containing the latest git code: rdup-11dev.tar.gz. With sha1: 604832be7c96abdea0ef14f827e3b5b81a233e9c

Test the code, check the documentation (still needs work) and provide feedback.

Tags: rdup

1 comment

One bug already uncovered, the path encryption is broken and makes rdup-tr crash. I'm doing something wrong wrt OpenSSL.

Comments are closed

If you really, really want to comment, please mail miek@miek.nl.

0 comments in moderator queue