473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Re: Getting windows error while making a backup

du**********@gmail.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
Oct 17 '08 #1
0 814

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: daniel kern | last post by:
Please help with the following issue. I am trying to dump a table. My mysqldump command is: mysqldump.exe -u xx -P xx --add-drop-table --quick --extended-insert --result-file=xx "--where=cdrdate...
0
by: Jep | last post by:
How do you backup your databases ?? Our first backup on a new server (UDB 8.1) gave the result 'SQL0290N', and the server could not be contacted. We had used Control Center and the standard...
1
by: Joseph Bittman MCAD | last post by:
June 16, 2005 I'm creating a Windows Service that will backup some statistics files for my web application. I am having a problem when I try to start my service, where it says something about...
5
by: abelbfilho | last post by:
I have a backup image with name DADOSADV.0.DB2.NODE0000.CATN0000.20060812230006.001 and I want to restore it on Windows (in another server). In Windows Server I created this folder structure:...
9
by: guitonoklops9 | last post by:
I am very new to python and programming. Right now I'm working on this simple backup program: #C:\python25\programs\ # File name: test import os, time source = target_directory =...
4
by: Christian Maslen | last post by:
Hi All, I understand in older versions of DB2/UDB this was not possible. The following article explains how I might do this ...
5
by: overcomersonline | last post by:
We have a Perl script that is supposed to back up all our files, folders and databases on our server however its sending an error via email. This is the error Unrecognized character \xA6 at...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Description NOTE- If you are unfamiliar with the concept of autoruns, then read "Windows Autorun FAQs: Overview". Que-1: How can I safely remove or edit the autorun...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.