Page 1 of 2
Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 07:18
by gcam
I have been an XYplorer user for many years. I have just recently noticed that not all Created Dates are NOT being preserved when using the backup function. When I backup the files most files are copied correctly with the dates preserved, but there always seems to be 1 or 2 files in every folder where the created date is the current date and time.
I have checked the option to preserve all dates.
This problem happens when I am backing up a large amount of files or even a small number of files. In the Screenshot below, IMG8045.JPG has a source created date of 2014-10-19 whereas the backup copy has today's date of 2015-01-24. All other files have preserved the created dates. This seems to happen randomly as if I backed up the files again, this file would preserve the dates but other files would not. I have also noticed that the "default" sort order sorts the files differently.
XYplorer_DateErrorZoom.jpg
I am running Windows 7 and XYplorer Version 14.50.0200. Is this a bug or does anyone know why this may be happening?
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 11:36
by PeterH
Seems right - there's a problem!
Pictures from 8.8.14 I've backuped have correct "created" - so all right up to this date.
Pictures from 28.9.14, backed up on 15.10.14, have "created" from 15.10.
So Error must have started between 8.8.14 and 28.9.14!
For me that should mean: at least 14.30.0000 is OK, and 14.50.0200 wrong.
Bad bad
Don't like it
PS forgot to say hello to gcam
And thanks for the info - though it's bad

Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 14:14
by admin
Cannot repro. Need more info on that exact precedure...
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 14:36
by PeterH
admin wrote:Cannot repro. Need more info on that exact precedure...
For me: all with right-draging and selecting Backup, from CF-card in reader -
- either right-drag one folder, select Backup,
- or selecting many files in a folder, than right-drag / Backup
(On D300 I usually create a folder in camera for a group of fotos - so later drag this folder,
on AW110 can't create folders - so have to select the new files to backup)
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 14:40
by admin
CF-card in reader? Is that a normal file path with a drive letter?
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 14:45
by PeterH
admin wrote:CF-card in reader? Is that a normal file path with a drive letter?
Yes!
And: destinatin is NAS - but also mounted with drive letter.
Will verify what happens if Backup from NAS to local path - often do this, too.
(By the way - just verified: Config/Backup still says "Preserve all item dates"

)
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 14:47
by admin
Well, I cannot see this issue here. And I did not change code related to backup in a very long time. Weird.
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 14:52
by PeterH
1) in a not changing environment the handling *has* changed for me,
2) there *is* something special

- just backed up for test a folder on a local drive - "Created" was copied without change
Will do some further tests...
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 15:14
by Filehero
PeterH wrote:Will do some further tests...
Perhaps
robocopy $source $target /Mir could provide another control.
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 15:36
by PeterH
It's the NAS
(Synology DS212+)
Backup between local disks or CF-reader all are OK.
Backup
to NAS: "Created" is set to current!
So to verify: changed Created, Changed and Accessed for a file on NAS

Changed and Accessed could be changed - Created couldn't
(Bad, bad, bad!

)
I think this was about the date when I installed a new SW-version on the NAS (DSM 5.0).
(That's what changed! Did I say: BAD!)
So Don: how do you do it: copy file, then set the dates to a copy of the original? Might there be another way? (I don't think so - just ask...)
(Else I must think about connecting Synology. If that might help

)
__________
Edit: typo
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 15:47
by Filehero
Isn't the type of the NAS file system / access protocol (NFS?) the major determinant here?
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 15:58
by PeterH
Filehero wrote:Isn't the type of the NAS file system / access protocol (NFS?) the major determinant here?
After some thinking: no! As it was possible with the former version of NAS-software.
That is: this info might be stored by the NAS as additional data.
I didn't use till now, but with this version they *started* to also allow Windows Access Rights with the stored files - this also will need some additional info to be stored.
(So: in general they seem to provide a most transparent use of the remote stored files for the windows user.)
Edit: I only read File System
Access protocal is SMB, i.e. "like windows"
@gcam:
Did you read my previous post? Do you have an environment that can be compared to this?
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 16:15
by admin
The OP said it was random...
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 17:42
by gcam
Good Morning (from Canada). Thanks everyone for your input.
My normal procedure when backing up these files is:
Acer laptop running Windows 7 64bit with built in SD Card Reader.
1. Place SD Card in built in Card Reader. Drive letter assigned to card reader by Windows is Drive E:
2. Just like PeterH, I right click and drag the folder (or multiple files) to the second pane on the right side and select "Backup Here".
3. Destination Folder is a folder on my C: drive, my laptops internal hard drive.
4. Windows Security window pops up asking if I want to run C:\Program Files (x86)\XYplorer\XYcopy.exe
5. Click on Run and files begin to copy over.
6. Once all files are copied over to the C: drive, the created dates are updated. Most of them match the source created date on the SD card, but there always seems to be one that remains at the current date. As mentioned above, it is not always the same file where dates remain unchanged. Sometimes, it may be one file, sometimes more than one file where the created date remain as the current date. If I get lucky (usually with a folder with a small amount of files), then they may all preserved.
I do not have a NAS so that isn't the problem on my end. It is strictly copying from internal laptop SD Card Reader (E:) to my local C: drive. I have been using this process for years and have gone through many different versions of XYplorer as I have a lifetime license. I don't know when this problem began, but going back through files it looks like it has been doing it for about 4 or 5 months now.
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 19:00
by admin
it might be related to this:
Code: Select all
v14.50.0103 - 2014-09-24 12:07
+ Custom Copy: Added a tweak to disallow DoEvents (let Windows messages be
processed) while copying large files.
CustomCopyNoDoEvents=1
If you enable the tweak the progress dialog won't be moveable anymore with
the mouse while a large file is being copied.
Try to set CustomCopyNoDoEvents=1 in the INI file to see whether it changes anything.
Note that this only affects foreground copying (not copying using XYcopy), so test you have to turn off Configuration | File Operations | Background Processing | Enable background processing.