From 9e9ac86ba4d50979975b624ce3948a1011af3fd1 Mon Sep 17 00:00:00 2001 From: bescoto Date: Wed, 27 Aug 2003 20:18:22 +0000 Subject: Fixed various --restrict options, some refactoring git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@407 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/backup.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rdiff-backup/rdiff_backup/backup.py') 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 -- cgit v1.2.1