Re: Getting windows error while making a backup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Golden

    Re: Getting windows error while making a backup

    dudeja.rajat@gm ail.com wrote:
    Hi,
    >
    I've this backup script that having some problems. Please some one suggest
    what is that I'm missing in it.
    This backup script deletes the previous backups and then create a new backup
    by simply renaming the original folder to backup folder and creates a new
    folder.
    >
    The folder contains many files and folders and many .svn (i.e. hidden and
    readonly files and directories)
    >
    Well things seems to be done correctly but at times while renaming the
    folder to backup I get this error
    WindowsError: [Error 5] Access is denied

    The most obvious possiblity (there are others) is that you
    don't have permission to delete / rename the files. That's
    a question of NTFS permissions, not readonly-ness. Have you
    checked? It could also be that the file is encrypted and
    that you're not among the permitted users, but that's less
    likely.

    If you need to, you can take ownership and grant yourself
    the access you need to complete the operation.

    TJG
Working...