Created Date Not Preserved when using Backup

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
gcam
Posts: 5
Joined: 25 Jan 2015 06:56

Created Date Not Preserved when using Backup

Post 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?
To see the attached files, you need to log into the forum.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Created Date Not Preserved when using Backup

Post 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 :bug:
Don't like it :evil:


PS forgot to say hello to gcam :D
And thanks for the info - though it's bad :P

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Created Date Not Preserved when using Backup

Post by admin »

Cannot repro. Need more info on that exact precedure...

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Created Date Not Preserved when using Backup

Post 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)

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Created Date Not Preserved when using Backup

Post by admin »

CF-card in reader? Is that a normal file path with a drive letter?

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Created Date Not Preserved when using Backup

Post 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" :roll:)

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Created Date Not Preserved when using Backup

Post by admin »

Well, I cannot see this issue here. And I did not change code related to backup in a very long time. Weird.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Created Date Not Preserved when using Backup

Post by PeterH »

1) in a not changing environment the handling *has* changed for me,
2) there *is* something special :shock: - just backed up for test a folder on a local drive - "Created" was copied without change :!: :!:

Will do some further tests...

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Created Date Not Preserved when using Backup

Post by Filehero »

PeterH wrote:Will do some further tests...
Perhaps robocopy $source $target /Mir could provide another control.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Created Date Not Preserved when using Backup

Post by PeterH »

It's the NAS :!: :shock: :shock: :shock:

(Synology DS212+)

Backup between local disks or CF-reader all are OK.
Backup to NAS: "Created" is set to current! :cry:

So to verify: changed Created, Changed and Accessed for a file on NAS
:arrow: Changed and Accessed could be changed - Created couldn't :(
(Bad, bad, bad! :evil: )
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 :whistle: )

__________
Edit: typo

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Created Date Not Preserved when using Backup

Post by Filehero »

Isn't the type of the NAS file system / access protocol (NFS?) the major determinant here?

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Created Date Not Preserved when using Backup

Post 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 :whistle:
Access protocal is SMB, i.e. "like windows" :roll:


@gcam:
Did you read my previous post? Do you have an environment that can be compared to this?

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Created Date Not Preserved when using Backup

Post by admin »

The OP said it was random...

gcam
Posts: 5
Joined: 25 Jan 2015 06:56

Re: Created Date Not Preserved when using Backup

Post 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.

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Created Date Not Preserved when using Backup

Post 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.

Post Reply