rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] where is --change-source-perms ?


From: Alan
Subject: Re: [rdiff-backup-users] where is --change-source-perms ?
Date: Tue, 9 Sep 2003 16:36:26 -0700
User-agent: Mutt/1.5.4i

On Tue, Sep 09, 2003 at 11:11:05AM -0700, Ben Escoto wrote:
> The backup should just skip any unreadable directories (so a 0
> directory won't be backed up, but shouldn't mess anything else up
> either).  The --change-source-perms option was removed because it

Well, the one directory
(/mnt/share/var/backups/ufies.org/home/alan/backups/arcterex.net/arcterex/htdocs/gallery/setup)
had the perms of 000 and the cron email I got before I changed it had
the following error:

--------------
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File 
"/home/jgoerzen/dpkg/rdiff-backup-0.12.3/debian/rdiff-backup/usr/lib/python2.3/site-packages/rdiff_backup/Main.py",
 line 246, in Main
  File 
"/home/jgoerzen/dpkg/rdiff-backup-0.12.3/debian/rdiff-backup/usr/lib/python2.3/site-packages/rdiff_backup/Main.py",
 line 219, in take_action
  File 
"/home/jgoerzen/dpkg/rdiff-backup-0.12.3/debian/rdiff-backup/usr/lib/python2.3/site-packages/rdiff_backup/Main.py",
 line 260, in Backup
  File 
"/home/jgoerzen/dpkg/rdiff-backup-0.12.3/debian/rdiff-backup/usr/lib/python2.3/site-packages/rdiff_backup/backup.py",
 line 47, in Mirror_and_increment  File 
"/home/jgoerzen/dpkg/rdiff-backup-0.12.3/debian/rdiff-backup/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
 line 424, in __call__
  File 
"/home/jgoerzen/dpkg/rdiff-backup-0.12.3/debian/rdiff-backup/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
 line 346, in reval
OSError: [Errno 13] Permission denied: 
'/mnt/share/var/backups/ufies.org/home/alan/backups/arcterex.net/arcterex/htdocs/gallery/setup/.htaccess'
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 246, in 
Main
    take_action(rps)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 217, in 
take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line 331, 
in Server
    self.get_response(-1)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line 293, 
in get_response
    try: req_num, object = self._get()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line 216, 
in _get
    raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem 
probably originated remotely)
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method GzipFile.__del__ of <gzip open file 
'/mnt/share/var/backups/ufies.org/rdiff-backup-data/error_log.2003-09-08T03:12:47-07:00.data.gz',
 mode 'wb' at 0x828af88 0x8177a6c>> ignored
Previous backup seems to have failed, regressing destination now.
-----------------

> seemed to conflict with the idea that a backup program really
> shouldn't be destroying the source data.  (High standards eh?)

Hehhe, in the OSS world you can expect the best! :)

> Yes, 0 vs non-zero (usually, but not necessarily 1).  Adding to man
> page now.

Cool, just making sure.  Adding better error checking to my backup
script now.

alan


-- 
Alan <address@hidden> - http://arcterex.net
--------------------------------------------------------------------
"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."                -- Hemingway

Attachment: pgp7fYVwnfZDJ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]