Page 2 of 2
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 19:40
by gcam
I tried your suggestion with changing CustomCopyNoDoEvents=1.
I turned on the Custom Copy with the Preserve All Dates checked.
I copied a folder over and got the same results. This time 2 files did not have their created dates preserved. (As mentioned, the number and files always varies.)
Please see image below.
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 19:48
by admin
Did you take care to do it in the foreground (NOT XYcopy)?
Re: Created Date Not Preserved when using Backup
Posted: 25 Jan 2015 23:52
by gcam
I did not use XYcopy for this test. I changed the .ini file and turned off the background processing as you described. I right-dragged the folder and selected "copy here". (Prior to doing the copy, I checked Custom Copy in the configurations so that I could enable the "preserve all dates".)
Re: Created Date Not Preserved when using Backup
Posted: 26 Jan 2015 08:26
by admin
OK, my hopes were low anyway.
So I'm out of ideas at the moment. I cannot reproduce nor understand it.

Re: Created Date Not Preserved when using Backup
Posted: 26 Jan 2015 11:08
by PeterH
Trying to understand a bit more, and not knowing about the abilities of Windows interfaces, I'd like to re-ask my question: how do you do it? First copy the file, leading to Created=Now, and then changing Created to a copy of the original Created, or is it some other way?
And: would you know about some other way? (I.e. copyfile could have a flag saying "copy Created", or whatever.)
Re: Created Date Not Preserved when using Backup
Posted: 26 Jan 2015 11:56
by Filehero
I'm not sure wether the following is of any help with SC backup but it should help to get more clarity.
At the weekend I added a new 3TB drive to my setup and had to do darn loooooooooong copy jobs. Since my first tests using Acronis drive clone indicated days of work, I decided to use robocopy /mir because it's from Seattle (not eager to make tests here) and because the command's job is perfecty transparent (mirror an existing structure to another location).
The result was/is
- create date: set to the real creation date (makes sense, because the folder/file has actually been created during the copy job)
- modified date: set to mod date of the source thereby reflecting the content history/genesis
Though this observation (create date > modified date) is irritating each time (and usually I pay attention only during this sort of major setup changes) it makes perfect sense to me. The file system nodes of the backuped copies are truly created at the time of its creation. Simple logic as that.
Cheers,
Filehero
Re: Created Date Not Preserved when using Backup
Posted: 26 Jan 2015 12:22
by admin
PeterH wrote:Trying to understand a bit more, and not knowing about the abilities of Windows interfaces, I'd like to re-ask my question: how do you do it? First copy the file, leading to Created=Now, and then changing Created to a copy of the original Created, or is it some other way?
And: would you know about some other way? (I.e. copyfile could have a flag saying "copy Created", or whatever.)
First copy the file, leading to Created=Now, and then changing Created to a copy of the original Created.
There is no other way.
As filehero implicitly remarked, preserving the created date on a copy is actually against the very sense of this date.
I personally have turned off "preserve all item dates" in Custom Copy, but turned on in Backup.
Re: Created Date Not Preserved when using Backup
Posted: 26 Jan 2015 12:49
by PeterH
admin wrote:First copy the file, leading to Created=Now, and then changing Created to a copy of the original Created.
There is no other way.
As filehero implicitly remarked, preserving the created date on a copy is actually against the very sense of this date.
I personally have turned off "preserve all item dates" in Custom Copy, but turned on in Backup.
Thanks for the info. I was afraid that it's that way, just wanted to verify...
To Created: I think we expect the same:
- for a normal Copy operation Created should be Now
- for a Backup (and later Restore) Created should be as it was original
(I see copying pictures from a CF-card as kind of backup

)
My astonishment about Created later than Modified lies some years in the past.
Though I must admit: I *was* astonished

Re: Created Date Not Preserved when using Backup
Posted: 26 Jan 2015 20:14
by gcam
Thanks for your input Filehero, and what you are saying logically makes sense. But in my case when backing up the SD Card, I do wish to maintain the Created Date as when the picture was created. I agree with PeterH that when making a copy you do want the created date to be NOW, but when backing up the created date should be preserved.
Since admin (who I am thinking is the software developer) cannot duplicate my problem I began to think that this is a problem local to my laptop. I started the laptop in SAFE MODE and ran a few tests and out of all my tests the created date was preserved. I ran the test twice with about 75 files and each time all the created dates mirrored the original. While in safe mode, I counted the number of Windows Services running and there were 24. When I went into Windows normally, there are over 70 services running. I'm thinking that it may have to do with one or more of these services, but now to figure out what ones. Anyone have any ideas on how I can identify what service may be causing the problem, rather than me stopping each one to determine what one is the culprit?
I also have a question regarding the Default Sort Order of the files. When looking at the SD Card (source) in the E: drive, the files are sorted (and indexed) by when they were created. However, after the backup is made the copied files have a default sort (and index number) by the name of the file. You can see this in my previous screenshot. The .MOV file on the SD card is Index #4, but in the destination folder it has an index number of #15. Is this just because the files are copied over in File Name order rather than Created order? Is there anywhere I can change this? I know this sounds like a petty problem, but it just makes things easier to compare.
Re: Created Date Not Preserved when using Backup
Posted: 26 Jan 2015 20:49
by admin
Next beta might help a bit:
Code: Select all
* Custom Copy: Added error trapping for the unlikely case that preserving
the item dates fails for some reason. There should be an error message in
the copy report now that tells more about the problem.
Re: Created Date Not Preserved when using Backup
Posted: 27 Jan 2015 11:24
by PeterH
Though I have another situation (backing up to NAS) I tested the change. Result:
- Created dates were being set to current, but
- found no hint for missing date-change in the log
Is this expected?
(Now) I don't really need it - but would be fine.
And would have made me notice this NAS-problem months ago!
Re: Created Date Not Preserved when using Backup
Posted: 27 Jan 2015 11:44
by admin
That means that Windows *thinks* that setting the dates was successful. (I don't countercheck by reading the date again -- performance...)
Question: do you use "Safe Overwrite", and does it make a difference if you don't?
Re: Created Date Not Preserved when using Backup
Posted: 27 Jan 2015 12:43
by PeterH
admin wrote:That means that Windows *thinks* that setting the dates was successful. (I don't countercheck by reading the date again -- performance...)
Ah - just returncode for setting DateCreated?
This should(!) mean that the NAS accepts the req from windows, but doesn't execute it?
admin wrote:Question: do you use "Safe Overwrite", and does it make a difference if you don't?
Tested without: see no difference.
(Has only meaning if files already exist, I think? For the situations i test files are always new. I drag a folder into a NAS folder, where the original name doesn't exist. Though I tested unsetting the option.)
By the way: Configuration/Jump to Setting... neither finds "Safe Overwrite" by safe nor by overwrite.
OK: not too hard to guess for File Operations/Backup...
Re: Created Date Not Preserved when using Backup
Posted: 27 Jan 2015 12:46
by admin
Yes (too all).