diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-11-01 04:46:16 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-11-01 04:46:16 +0000 |
commit | 07d8d9cb11114ef5f98993e2e50a67762b3d9aaa (patch) | |
tree | 8bb6237a84163ad01d482bb2c5497305e6524f4e /rdiff-backup/rdiff_backup/Security.py | |
parent | a5c03feacbbd9361eb3e2abe367b75529c83459b (diff) | |
download | rdiff-backup-07d8d9cb11114ef5f98993e2e50a67762b3d9aaa.tar.gz |
Added --verify and --verify-at-time switches
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@665 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Security.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/Security.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py index 1e06d46..ba61c60 100644 --- a/rdiff-backup/rdiff_backup/Security.py +++ b/rdiff-backup/rdiff_backup/Security.py @@ -115,7 +115,7 @@ def set_security_level(action, cmdpairs): elif action in ["test-server", "list-increments", 'list-increment-sizes', "list-at-time", "list-changed-since", "calculate-average", "remove-older-than", "compare", - "compare-hash", "compare-full"]: + "compare-hash", "compare-full", "verify"]: sec_level = "minimal" rdir = tempfile.gettempdir() else: assert 0, "Unknown action %s" % action @@ -159,7 +159,8 @@ def set_allowed_requests(sec_level): "compare.DataSide.get_source_select", "compare.DataSide.compare_fast", "compare.DataSide.compare_hash", - "compare.DataSide.compare_full"]) + "compare.DataSide.compare_full", + "compare.Verify"]) if sec_level == "update-only" or sec_level == "all": l.extend(["log.Log.open_logfile_local", "log.Log.close_logfile_local", "log.ErrorLog.open", "log.ErrorLog.isopen", |