--- a/bin/pvl.backup-snapshot Thu May 24 13:08:08 2012 +0300
+++ b/bin/pvl.backup-snapshot Thu May 24 13:48:04 2012 +0300
@@ -376,6 +376,8 @@
enable = False,
intervals = [],
rsync_options = {},
+
+ # XXX: not implemented?
exclude_from = None
) :
self.name = name
@@ -441,9 +443,10 @@
# build rsync options
opts = dict(self.rsync_options)
-
- # rsync links absolute paths..
- opts['link-dest'] = os.path.abspath(link_dest)
+
+ if link_dest :
+ # rsync links absolute paths..
+ opts['link-dest'] = os.path.abspath(link_dest)
# to tempdir
log.debug("rsync %s -> %s", self.source, temp_path)