I am running the hot-backup.py script like this:
hot-backup.py --archive-type=zip c:\svn\sysdev c:\backcup\
This works. It create the backup and zip it. But then it tries to delete the
files it has now zipped and get the following error:
Beginning hot backup of 'c:\svn\sysdev'.
Youngest revision is 10
Backing up repository to 'c:\backup\sysdev-10-3'...
Done.
Archiving backup to 'c:\backup\sysdev-10-3.zip'...
Archive created, removing backup 'c:\backup\sysdev-10-3'...
Traceback (most recent call last):
File "c:\svn\hot-backup.py", line 259, in ?
shutil.rmtree(backup_subdir)
File "C:\Python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\Python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied: 'c:\\backup\\sysdev-10-3\\db\\format'
Can anyone help? I'm on Windows 2003 server. Also having the same problem on
w2k.
Received on Thu Nov 30 12:55:05 2006