I want to start using HD sentinel for my backups. I've created a backup job under operations and it's working well. However the transfered folders do not preserve their original modified date, which is important to me, instead the modified date is when it was transfered.
Before this I used robocopy scripts to perform flat file backups and using particular flags I was able to preserve the original modified date of the folders that get transfered.
Is there a way to preserve this via the backup from HD sentinel?W
File transfer operation, preserve modified date for folders
Re: File transfer operation, preserve modified date for folders
I think I have a solution. I can put my robocopy script directly into "Run external application or batch file" and run as invisible.
However, I don't get the added benefit of the emailing alerting.
The robocopy flag for copying directory timestamps is /DCOPY:T
Is there anyway to add this to the built in backup function of HD Sentinel?
However, I don't get the added benefit of the emailing alerting.
The robocopy flag for copying directory timestamps is /DCOPY:T
Is there anyway to add this to the built in backup function of HD Sentinel?
Last edited by Humner on 2024.10.21. 01:41, edited 1 time in total.
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: File transfer operation, preserve modified date for folders
Yes, currently the date/time and the attributes of the files copied (archived) during the backup operation.
Thanks for the tip and your attention, I'll examine the possibilities and may add this too.
Thanks for the tip and your attention, I'll examine the possibilities and may add this too.
Re: File transfer operation, preserve modified date for folders
At the moment HD Sentinel will alert on any exit code other then 0
However Robo Copy's exit codes can be successful with other codes and it would be also good if I could somehow make it ignore some others other than 0 too
https://ss64.com/nt/robocopy-exit.html
Is it possible to specify somewhere for HD Sentinel to ignore a few other exit codes ?
However Robo Copy's exit codes can be successful with other codes and it would be also good if I could somehow make it ignore some others other than 0 too
https://ss64.com/nt/robocopy-exit.html
Is it possible to specify somewhere for HD Sentinel to ignore a few other exit codes ?
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: File transfer operation, preserve modified date for folders
No, I'm afraid not: 0 exit code is always used to suggest error-free operation, so a non-zero exit code always triggers an "error" as you can see.
Maybe you can make a BAT file which calls robocopy and will "simplify" the situation: to finish with exit code 0 upon the other successful (non-zero) exit codes of robocopy.
Maybe you can make a BAT file which calls robocopy and will "simplify" the situation: to finish with exit code 0 upon the other successful (non-zero) exit codes of robocopy.
Re: File transfer operation, preserve modified date for folders
Thank you, I appreciate the time to go over this with me.
I like that idea - I will look into it and test it further.
For now, I will use HD Sentinel to run regular backup jobs and get the alerting I want. And then trigger my robocopy script separately and it will update the folder time stamps.
I like that idea - I will look into it and test it further.
For now, I will use HD Sentinel to run regular backup jobs and get the alerting I want. And then trigger my robocopy script separately and it will update the folder time stamps.