Issue while backing-up with preserved file datetime...

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".
Post Reply
grchen168
Posts: 1
Joined: 13 Jul 2020 08:03

Issue while backing-up with preserved file datetime...

Post by grchen168 »

I encounter an issue while using Backup operation:
I have already enable "preserve datetime of folder/file for backup operation",
but, after successfully perform the backup (using "Back up to..."),
I found that the datetime of the 1st level folder withing the destination IS NOT the same with the original (source) 1st level folder,
please see the attached picture.
screen-cap.png
To see the attached files, you need to log into the forum.

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

Re: Issue while backing-up with preserved file datetime...

Post by admin »

Hi and welcome to the club!

I could not reproduce the issue. It seems to work well here.

A question: Why do your screenshots show File Explorer (and not XYplorer)? Maybe you took the wrong app? :whistle:

Don

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Issue while backing-up with preserved file datetime...

Post by prino »

This has been mentioned before!

E.g. if you create a directory with a few files in C:\TEMP, e.g. C:\TEMP\WHATEVER, then create a few files in this whatever, then timestamp all dates of C:\TEMP to something unusual, like 2100-12-31 12:00:00, then go into c:\TEMP, and backup "whatever" to (the default) whatever-01, the access & modified timestamp of C:\TEMP will change. Whether that's good or bad is debatable. For me it's bad, as it will throw up mismatches when doing directory compares against backups.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Issue while backing-up with preserved file datetime...

Post by highend »

the access & modified timestamp of C:\TEMP will change
You are free to change this via fsutil...
One of my scripts helped you out? Please donate via Paypal

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Issue while backing-up with preserved file datetime...

Post by prino »

fsutil has already been used, directly after switching this laptop on for the first time, to stop updating the accessed timestamp, but that does not work with XY. There is no way to stop it from updating the modified timestamp.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Issue while backing-up with preserved file datetime...

Post by highend »

And that also happens if these "unusual" dates are ALL before the year 2038?
One of my scripts helped you out? Please donate via Paypal

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Issue while backing-up with preserved file datetime...

Post by prino »

Irrelevant, 2038 is a Unix problem.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Issue while backing-up with preserved file datetime...

Post by highend »

Yeah. Sure. It's a problem for all 32-bit systems that internally use unix timestamps but hey, it's your problem so just solve it yourself.
One of my scripts helped you out? Please donate via Paypal

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Issue while backing-up with preserved file datetime...

Post by prino »

I don't see why you now add another irrelevant post. Never knew that XY ran on systems that internally use unix timestamps.

Guess you're irritated because the conversion to .NOT is not going well...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

RalphM
Posts: 2143
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Issue while backing-up with preserved file datetime...

Post by RalphM »

And it seems now you are mixing up Don (admin, the developer of XY) with highend (a very knowledgeable forum moderator) who AFAIK has nothing to do with XY's switch to 64bit.
Ralph :)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

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

Re: Issue while backing-up with preserved file datetime...

Post by admin »

prino wrote: ↑23 Jul 2020 09:51 This has been mentioned before!

E.g. if you create a directory with a few files in C:\TEMP, e.g. C:\TEMP\WHATEVER, then create a few files in this whatever, then timestamp all dates of C:\TEMP to something unusual, like 2100-12-31 12:00:00, then go into c:\TEMP, and backup "whatever" to (the default) whatever-01, the access & modified timestamp of C:\TEMP will change. Whether that's good or bad is debatable. For me it's bad, as it will throw up mismatches when doing directory compares against backups.
That's standard Windows behavior, and it's Windows that does the timestamp update. XY does not care about the parent directory when doing a backup.

Post Reply