[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

hot-backup.py permission problem

From: Kalle Klovn <nyhetsgrupper_at_gmail.com>
Date: 2006-11-30 12:54:22 CET

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

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.