Mysteriouse file copy proplem

R

Roland Mösl

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?
 
R

Roland Mösl

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
 
P

philo

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
 
R

Roland Mösl

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?
 
S

Seth

Roland Mösl said:
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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top