Windows 7 Forums


Reply
Thread Tools

Mysteriouse file copy proplem

 
 
Roland Mösl
Guest
Posts: n/a
Thanked:
 
      08-28-2010
I have in my software a backup system integrated.

The subroutine duing the copy job

if ( ! open ( GET_TARGET, ">$target" ) )
{
if ( $condition eq 'alert' ) { view_alert ( "get_file_copy: can not
open $target" ) }
}

Which means open at the target a file for overwrite.
If open fails, make an error message.

This worked for years fine on windows XP.

Now I make my first backup at Windows 7 64 Bit

Surpise, I get at each altered file
this means file exists on backup drive,
but should be overwritten by newer version
an error message.

But only at an external harddisk NTSF formated.
The same software works fine on a 32 Bit FAT
SD-Card

Any ideas about the problem?

--
Roland Mösl - PEGE - http://www.pege.org
Planetary Engineering Group Earth
 
Reply With Quote
 
 
 
 
Roland Mösl
Guest
Posts: n/a
Thanked:
 
      08-28-2010
On 2010-08-28 19:03, Roland Mösl wrote:
> I have in my software a backup system integrated.
>
> The subroutine duing the copy job
>
> if ( ! open ( GET_TARGET, ">$target" ) )
> {
> if ( $condition eq 'alert' ) { view_alert ( "get_file_copy: can not open
> $target" ) }
> }
>
> Which means open at the target a file for overwrite.
> If open fails, make an error message.
>
> This worked for years fine on windows XP.
>
> Now I make my first backup at Windows 7 64 Bit
>
> Surpise, I get at each altered file
> this means file exists on backup drive,
> but should be overwritten by newer version
> an error message.
>
> But only at an external harddisk NTSF formated.
> The same software works fine on a 32 Bit FAT
> SD-Card
>
> Any ideas about the problem?


I tried now the same with the command prompt copy command

the command ended with 0 files copied at each line
at the external USB drive

copy "d:\mind2.files\2010\Internetwerbung\Werbepotential.ods"
"f:\backup\mind2.files\2010\Internetwerbung\Werbepotential.ods"
copy "d:\mind2.files\2010\PEGE Auto\E-Max S Dauertest.ods"
"f:\backup\mind2.files\2010\PEGE Auto\E-Max S Dauertest.ods"

Same copy to the SD Card FAT32 formatted

copy "d:\mind2.files\2010\Internetwerbung\Werbepotential.ods"
"f:\backup\mind2.files\2010\Internetwerbung\Werbepotential.ods"
copy "d:\mind2.files\2010\PEGE Auto\E-Max S Dauertest.ods"
"f:\backup\mind2.files\2010\PEGE Auto\E-Max S Dauertest.ods"

the command ended with 1 files copied at each line

--
Roland Mösl - PEGE - http://www.pege.org
Planetary Engineering Group Earth
 
Reply With Quote
 
philo
Guest
Posts: n/a
Thanked:
 
      08-29-2010
On 08/28/2010 12:03 PM, Roland Mösl wrote:
> I have in my software a backup system integrated.
>
> The subroutine duing the copy job
>
> if ( ! open ( GET_TARGET, ">$target" ) )
> {
> if ( $condition eq 'alert' ) { view_alert ( "get_file_copy: can not open
> $target" ) }
> }
>
> Which means open at the target a file for overwrite.
> If open fails, make an error message.
>
> This worked for years fine on windows XP.
>
> Now I make my first backup at Windows 7 64 Bit
>
> Surpise, I get at each altered file
> this means file exists on backup drive,
> but should be overwritten by newer version
> an error message.
>
> But only at an external harddisk NTSF formated.
> The same software works fine on a 32 Bit FAT
> SD-Card
>
> Any ideas about the problem?
>




Since it only happens on the NTFS drive
it's got to be a permissions problem
 
Reply With Quote
 
Roland Mösl
Guest
Posts: n/a
Thanked:
 
      08-31-2010
On 2010-08-29 03:01, philo wrote:
> On 08/28/2010 12:03 PM, Roland Mösl wrote:
>> I have in my software a backup system integrated.
>>
>> The subroutine duing the copy job
>>
>> if ( ! open ( GET_TARGET, ">$target" ) )
>> {
>> if ( $condition eq 'alert' ) { view_alert ( "get_file_copy: can not open
>> $target" ) }
>> }
>>
>> Which means open at the target a file for overwrite.
>> If open fails, make an error message.
>>
>> This worked for years fine on windows XP.
>>
>> Now I make my first backup at Windows 7 64 Bit
>>
>> Surpise, I get at each altered file
>> this means file exists on backup drive,
>> but should be overwritten by newer version
>> an error message.
>>
>> But only at an external harddisk NTSF formated.
>> The same software works fine on a 32 Bit FAT
>> SD-Card
>>
>> Any ideas about the problem?
>>

>
>
>
> Since it only happens on the NTFS drive
> it's got to be a permissions problem


But how to set up permissions,
that my external NTSF drive is treated
like my FAT 32 SD card?

--
Roland Mösl - PEGE - http://www.pege.org
Planetary Engineering Group Earth
 
Reply With Quote
 
Seth
Guest
Posts: n/a
Thanked:
 
      08-31-2010

"Roland Mösl" <> wrote in message
news:i5hm6b$vt7$...
> On 2010-08-29 03:01, philo wrote:
>> On 08/28/2010 12:03 PM, Roland Mösl wrote:
>>> I have in my software a backup system integrated.
>>>
>>> The subroutine duing the copy job
>>>
>>> if ( ! open ( GET_TARGET, ">$target" ) )
>>> {
>>> if ( $condition eq 'alert' ) { view_alert ( "get_file_copy: can not open
>>> $target" ) }
>>> }
>>>
>>> Which means open at the target a file for overwrite.
>>> If open fails, make an error message.
>>>
>>> This worked for years fine on windows XP.
>>>
>>> Now I make my first backup at Windows 7 64 Bit
>>>
>>> Surpise, I get at each altered file
>>> this means file exists on backup drive,
>>> but should be overwritten by newer version
>>> an error message.
>>>
>>> But only at an external harddisk NTSF formated.
>>> The same software works fine on a 32 Bit FAT
>>> SD-Card

>>
>> Since it only happens on the NTFS drive
>> it's got to be a permissions problem

>
> But how to set up permissions,
> that my external NTSF drive is treated
> like my FAT 32 SD card?


You'll have to grant permissions to the user account under which your backup
is running. Is it running as a specific user? Via Scheduled Tasks as
"SYSTEM"? Give that account FC (Full Control) of the file hierarchy (both
source and destination).


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 Live CD? spearace Windows 7 Support 15 2 Weeks Ago 08:46 PM
Windows 7 Tip of the Week: Smarter File Copying Nibiru2012 General Discussion 9 10-14-2011 06:29 PM
Can´t Copy Network File cbcb52 Networking 0 07-13-2010 05:33 PM
Windows 7 install keeps rebooting Stephen47 Installation, Setup and Updates 32 05-24-2009 06:26 PM
Can't copy file from OSX to Win 7 whsm Windows 7 Support 1 01-23-2009 03:13 AM


All times are GMT +1. The time now is 06:40 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33