Hello everyone,
I'm trying to create a backup of my system configuration using
rdiff-backup. The idea is to have a backup of `/etc' and a few dotfiles
in `$HOME' just in case I screw something up. Ideally this backup should
be performed by a cron job.
rdiff-backup is called as
rdiff-backup --include-globbing-filelist file_list \
/ $HOME/.backup/local
where `file_list' looks like
- /**~
- /.*.swp
- /**/.*.swp
/etc
/home/username/.ssh/config
- /
The problem: As soon as I put any file inside home into `file_list' the
following error message appears and the backup fails.
[Errno 13] Permission denied: '/home/username/.gvfs'
Adding `- /home/username/.gvfs' to the file list doesn't help.
Googling around revealed, that this is a known problem and has to do
with fuse [1,2]. [1] even says this issue would be solved in the cvs
version. I've tried 1.2.8, 1.3.3 and the latest cvs version. All produce
the same error message.
The exact error message is attached to the mail.
I had a look at the code myself, but it's not clear to me where to
handle this case. Non readable files should produce an error if they are
listed as source or destination. But, I do _not_ want to backup `.gvfs'
so it should _not_ produce an error...
A quick hack around this is given in [2]. But, it's definitely not an
option for a cron job.
Best,
Andreas
[1]
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/rdiff-backup-23/rdiff-backup-trying-to-access-gvfs-even-though-it-is-exc-93726/
[2] http://ubuntuforums.org/showthread.php?t=783935
Using rdiff-backup version 1.3.3
POSIX ACLs not supported by filesystem at /
Unable to import win32security module. Windows ACLs
not supported by filesystem at /
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes On
Windows access control lists Off
Case sensitivity On
Escape DOS devices Off
Escape trailing spaces Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Extended attributes not supported by filesystem at
/home/username/.backup/local/rdiff-backup-data/rdiff-backup.tmp.0
POSIX ACLs not supported by filesystem at
/home/username/.backup/local/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at
/home/username/.backup/local/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Ownership changing On
Hard linking On
fsync() directories On
Directory inc permissions On
High-bit permissions On
Symlink permissions Off
Extended filenames On
Windows reserved filenames Off
Access control lists Off
Extended attributes Off
Windows access control lists Off
Case sensitivity On
Escape DOS devices Off
Escape trailing spaces Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Backup: escape_dos_devices = 0
Backup: escape_trailing_spaces = 0
Reading globbing filelist /home/username/.backup/local_include
Starting increment operation / to /home/username/.backup/local
Exception '[Errno 13] Permission denied: '/home/username/.gvfs'' raised of
class '<type 'exceptions.OSError'>':
File "/usr/lib/pymodules/python2.6/rdiff_backup/robust.py", line 32, in
check_common_error
try: return function(*args)
File "/usr/lib/pymodules/python2.6/rdiff_backup/rpath.py", line 1149, in
append
return self.__class__(self.conn, self.base, self.index + (ext,))
File "/usr/lib/pymodules/python2.6/rdiff_backup/rpath.py", line 884, in
__init__
else: self.setdata()
File "/usr/lib/pymodules/python2.6/rdiff_backup/rpath.py", line 908, in
setdata
self.data = self.conn.rpath.make_file_dict(self.path)
File "/usr/lib/pymodules/python2.6/rdiff_backup/rpath.py", line 287, in
make_file_dict
return C.make_file_dict(filename)
ListError home/username/.dosbox/drive_c/GAMES/WORMSPLS/UTILS/SOURCE/.gvfs
[Errno 13] Permission denied: '/home/username/.gvfs'
_______________________________________________
rdiff-backup-users mailing list at [email protected]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki