[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] [PATCH] Log symlink creation
From: |
Gordon Rowell |
Subject: |
[rdiff-backup-users] [PATCH] Log symlink creation |
Date: |
Thu, 16 Nov 2006 14:37:28 +1100 |
User-agent: |
Thunderbird 1.5.0.8 (Windows/20061025) |
Has anyone looked at storing symlink metadata separately for filesystems
which don't support symlinks? In particular, when backing up to a CIFS
fileystem. This currently logs a SpecialFileError, which is not surprising.
Thanks,
Gordon
diff -Nur -x '*.orig' -x '*.rej' rdiff-backup-1.1.7/rdiff_backup/rpath.py
mezzanine_patched_rdiff-backup-1.1.7/rdiff_backup/rpath.py
--- rdiff-backup-1.1.7/rdiff_backup/rpath.py 2006-11-13 14:08:42.000000000
+1100
+++ mezzanine_patched_rdiff-backup-1.1.7/rdiff_backup/rpath.py 2006-11-16
14:32:42.891212804 +1100
@@ -884,6 +884,7 @@
def symlink(self, linktext):
"""Make symlink at self.path pointing to linktext"""
+ log.Log("Symbolic linking %s to %s" % (self.path, linktext), 6)
self.conn.os.symlink(linktext, self.path)
self.setdata()
assert self.issym()
- [rdiff-backup-users] [PATCH] Log symlink creation,
Gordon Rowell <=