Hi all,
I'm hitting a few issues with long paths in windows. I understand
windows has issues with paths longer than 260 characters which is
annoying... but we can deal with that. My problem seems to be with the
rdiff-backup-data folder where files quite easily hit the 260 character
limit when including the various rdiff-backup timestamps/metadata in the
file name.
I get UpdateErrors indicating there is no such file or directory in the
increments folder, generally followed by an Exception indicating a
directory is not empty (see the full error message below)
This is how to reproduce it
1) create path/file with 190 characters.
2) perform a backup
3) modify the file with 190 characters
4) perform the backup
5) watch the error.
Searching the mailing list, it seems similar errors have occurred in the
past
http://lists.nongnu.org/archive/html/rdiff-backup-users/2013-10/msg00017.html
http://lists.nongnu.org/archive/html/rdiff-backup-users/2008-10/msg00127.html
Any hints on how to get around this? Or at the very least is there a way
to get better error messages to indicate the actual problem?
Full error message:
c:\testing\TestingXMLBackupxx>rdiff-backup.exe test testDest
UpdateError
bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2ble
r2bler2bler2bler2bler2bler2bler2bler2bler2bler2/SystemData/folderblabla/rdiff-backup.tmp.2
[Errno 2] No such file or directory: 'testDest/rdiff-backup-data/incr
ements/bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2ble
r2bler2bler2bler2bler2bler2bler2bler2bler2/SystemData/folderblabla/a.txt.2013-11-27T15;05839;05806+08;05800.snapshot.gz'
UpdateError
bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2ble
r2bler2bler2bler2bler2bler2bler2bler2bler2bler2/SystemData/folderblabla/rdiff-backup.tmp.3
[Errno 2] No such file or directory:
'testDest/rdiff-backup-data/increments/bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2ble
r2bler2bler2bler2bler2bler2bler2bler2bler2/SystemData/folderblabla/b.txt.2013-11-27T15;05839;05806+08;05800.snapshot.gz'
Exception '[Error 145] The directory is not empty:
'testDest/bler2bler2bler2bler
2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler
2bler2bler2bler2/SystemData/folderblabla'' raised of class '<type
'exceptions.WindowsError'>':
File "rdiff_backup\Main.pyc", line 304, in error_check_Main
File "rdiff_backup\Main.pyc", line 324, in Main
File "rdiff_backup\Main.pyc", line 280, in take_action
File "rdiff_backup\Main.pyc", line 343, in Backup
File "rdiff_backup\backup.pyc", line 51, in Mirror_and_increment
File "rdiff_backup\backup.pyc", line 244, in patch_and_increment
File "rdiff_backup\rorpiter.pyc", line 247, in Finish
File "rdiff_backup\backup.pyc", line 672, in end_process
File "rdiff_backup\rpath.pyc", line 993, in rmdir
Traceback (most recent call last):
File "rdiff-backup", line 30, in <module>
File "rdiff_backup\Main.pyc", line 304, in error_check_Main
File "rdiff_backup\Main.pyc", line 324, in Main
File "rdiff_backup\Main.pyc", line 280, in take_action
File "rdiff_backup\Main.pyc", line 343, in Backup
File "rdiff_backup\backup.pyc", line 51, in Mirror_and_increment
File "rdiff_backup\backup.pyc", line 244, in patch_and_increment
File "rdiff_backup\rorpiter.pyc", line 247, in Finish
File "rdiff_backup\backup.pyc", line 672, in end_process
File "rdiff_backup\rpath.pyc", line 993, in rmdir
WindowsError: [Error 145] The directory is not empty:
'testDest/bler2bler2bler2b
ler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2bler2b
ler2bler2bler2bler2/SystemData/folderblabla'
--
Wilson Waters
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki