diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-27 20:18:22 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-27 20:18:22 +0000 |
commit | 9e9ac86ba4d50979975b624ce3948a1011af3fd1 (patch) | |
tree | 7e7b233f9715ac00ab78ff72d0df99fcd3b55d65 /rdiff-backup/rdiff_backup/backup.py | |
parent | a1a2ba7783c700cd73b640cac7388fa6c733bf8b (diff) | |
download | rdiff-backup-9e9ac86ba4d50979975b624ce3948a1011af3fd1.tar.gz |
Fixed various --restrict options, some refactoring
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@407 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/backup.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/backup.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/backup.py b/rdiff-backup/rdiff_backup/backup.py index 0909722..0c66ca0 100644 --- a/rdiff-backup/rdiff_backup/backup.py +++ b/rdiff-backup/rdiff_backup/backup.py @@ -27,6 +27,7 @@ import Globals, metadata, rorpiter, TempFile, Hardlink, robust, increment, \ def Mirror(src_rpath, dest_rpath): """Turn dest_rpath into a copy of src_rpath""" + log.Log("Starting mirror %s to %s" % (src_rpath.path, dest_rpath.path), 4) SourceS = src_rpath.conn.backup.SourceStruct DestS = dest_rpath.conn.backup.DestinationStruct @@ -38,6 +39,8 @@ def Mirror(src_rpath, dest_rpath): def Mirror_and_increment(src_rpath, dest_rpath, inc_rpath): """Mirror + put increments in tree based at inc_rpath""" + log.Log("Starting increment operation %s to %s" % + (src_rpath.path, dest_rpath.path), 4) SourceS = src_rpath.conn.backup.SourceStruct DestS = dest_rpath.conn.backup.DestinationStruct |