Welcome! » Log In » Create A New Profile

feedback on packaged cygwin rd-backup

Posted by Anonymous 
feedback on packaged cygwin rd-backup
March 12, 2004 09:28AM
I'm using a 0.13.4 cygwin build that I compiled myself and I'm getting
the same thing. I'm on XP Pro. I think windows is seeing the
rdiff-backup-data/rdiff-backup.tmp.0 as still being referenced by python
and is not really letting it be deleted. What I am seeing is that,
during the script execution, if I call:

os.system('ls -aR .backup')

(.backup is the name of my backup dir) I get:

Fri Mar 12 10:34:45 2004 In QuotedRPath.listdir. ls -aR .backup =

.backup:
. .. rdiff-backup-data

ls: .backup/rdiff-backup-data/rdiff-backup.tmp.0: No such file or directory
.backup/rdiff-backup-data:
. .. backup.log chars_to_quote

and os.listdir('.backup/rdiff-backup-dir') also shows an entry for
rdiff-backup.tmp.0. But immediately after the script exits
rdiff-backup.tmp.0 is gone.

Hope this helps,

Jon

Matt Wilkie wrote:

[quote]Hi Dave,

[quote]please let me know how you go with that package. I have had very
little feedback.
[/quote]

WRT rdiff-backup0.13.4w3.exe:

rdiff-backup.bat: had to add %RDIFF-PATH% as well as %RDIFF-PATH%bin to
path so that cygwin1.dll could be found.

I have so far not been able to get it to work at all. What follows is a
sample session from windows cmd prompt:

cd /c D:temp

set RDIFF-PATH=c:rdiff-backup
set PYTHONHOME=%RDIFF-PATH%
set PYTHONPATH=%RDIFF-PATH%

set PATH=%RDIFF-PATH%bin;%RDIFF_PATH%

mount -m > oldmounts.bat
umount -A
mount -f -s -b %RDIFF-PATH% /

python2.3.exe -S %RDIFF-PATH%rdiff-backup -v9 /cygdrive/d/Imagery ./trytwo

Mon Feb 23 16:04:06 2004 Making directory trytwo
Mon Feb 23 16:04:06 2004 Making directory trytwo/rdiff-backup-data
Mon Feb 23 16:04:06 2004 Unable to import module xattr. EAs not
supported on filesystem at /cygdrive/d/Imagery
Mon Feb 23 16:04:06 2004 Unable to import module posix1e from pylibacl
package.

ACLs not supported on filesystem at /cygdrive/d/Imagery
Mon Feb 23 16:04:06 2004
------------------------------------------------------
-----------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Mon Feb 23 16:04:06 2004 Making directory
trytwo/rdiff-backup-data/rdiff-backup
.tmp.0
Mon Feb 23 16:04:06 2004 Touching
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/f
oo
Mon Feb 23 16:04:06 2004 Warning: ownership cannot be changed on
filesystem at
trytwo/rdiff-backup-data
Mon Feb 23 16:04:06 2004 Deleting
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/f
oo
Mon Feb 23 16:04:06 2004 Touching
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/h
ardlinked_file1
Mon Feb 23 16:04:06 2004 Hard linking
trytwo/rdiff-backup-data/rdiff-backup.tmp
.0/hardlinked_file2 to
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_fi
le1
Mon Feb 23 16:04:06 2004 Directories on file system at
trytwo/rdiff-backup-data
/rdiff-backup.tmp.0 are not fsyncable.
Assuming it's unnecessary.
Mon Feb 23 16:04:06 2004 Unable to import module xattr. EAs not
supported on f
ilesystem at trytwo/rdiff-backup-data/rdiff-backup.tmp.0
Mon Feb 23 16:04:06 2004 Unable to import module posix1e from pylibacl
package.

ACLs not supported on filesystem at
trytwo/rdiff-backup-data/rdiff-backup.tmp.0
Mon Feb 23 16:04:06 2004 Touching
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/d
ir_inc_check
Mon Feb 23 16:04:06 2004 Deleting
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/d
ir_inc_check
Mon Feb 23 16:04:06 2004 Touching
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/r
egfile
Mon Feb 23 16:04:06 2004 Deleting
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/r
egfile
Mon Feb 23 16:04:06 2004 Touching
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/5
-_ a.
Mon Feb 23 16:04:06 2004 Deleting
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/5
-_ a.
Mon Feb 23 16:04:06 2004 Touching
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/A

Mon Feb 23 16:04:06 2004 Deleting
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/a

Mon Feb 23 16:04:06 2004 Touching
trytwo/rdiff-backup-data/rdiff-backup.tmp.0/:

Mon Feb 23 16:04:06 2004 Deleting
trytwo/rdiff-backup-data/rdiff-backup.tmp.0
Mon Feb 23 16:04:06 2004 Removing directory
trytwo/rdiff-backup-data/rdiff-back
up.tmp.0
Mon Feb 23 16:04:06 2004
------------------------------------------------------
-----------
Detected abilities for destination (read/write) file system:
Characters needing quoting '^a-z0-9_ -.'
Ownership changing Off
Hard linking On
fsync() directories Off
Directory inc permissions On
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Mon Feb 23 16:04:06 2004 Fatal Error: Bad rdiff-backup-data dir on
destination
side

The rdiff-backup data directory
trytwo/rdiff-backup-data
exists, but we cannot find a valid current_mirror marker. You can
avoid this message by removing the rdiff_backup_data directory;
however any data in it will be lost.

Probably this error was caused because the first rdiff-backup session
into a new directory failed. If this is the case it is safe to delete
the rdiff_backup_data directory because there is no important
information in it.

Mon Feb 23 16:04:06 2004 Cleaning up

[/quote]
Sorry, only registered users may post in this forum.

Click here to login