duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] cronplicity


From: Alex Jakushev
Subject: [Duplicity-talk] cronplicity
Date: Sat, 23 Dec 2006 22:28:38 +0200

Hello all,

Probably this was already done N times before, but I'm
new to duplicity, that's why I reinvented the wheel (while
learning bash programming) ...

I've created wrapper script for duplicity. Its main features
are:

1) Simplifies duplicity invokation, because numerous
 parameters are hidden in script/cfg files (similar to
 what ftplicity does)
2) Designed to be copied and tweaked for every new
 backup profile. No system/user global configuration
 files, everything is in the same folder where script
 resides.
3) Designed to be added to crontab once and forgotten.
4) Takes care of full vs. incremental back-up cycle.
 In the script, you set for how many days to keep
 backups, and script automatically makes periodic
 full backups, and tells duplicity to remove older ones.
 If full backup failed, script will redo it on the next
 invokation. No need to make separate crontab entries
 for full and incremental backups, just one (ex: once per
 day) entry does it all.
5) Makes entries in the system log about (un)successful
 backups.

The script requires bash and standard binutils. It was tested
on debian sarge linux. I'd like to know if it works (or not) on
other systems and shells.

The one thing that I'd like to implement (if duplicity had it) is
backup resuming. If (full) backup failed due to some reason,
it would be good to resume full back-up from the point where
it stopped. Currently I'm bad at python to tweak duplicity itself,
I just have some ideas what has to be done...  Once duplicity
had such a feature, it would appear in my script too.

Hope this script will be useful to people. Any feedback would
be highly appreciated.

P.S. And merry christmas and happy new year to all :)

--
Best regards,

Alex J.

Attachment: backup
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]