Link to home
Start Free TrialLog in
Avatar of Jonathan Banh
Jonathan Banh

asked on

Stop backup software from modifying last accessed file/folder properties

Hello,
I'm in the middle of a project that requires me to collect the 'last accessed' file/folder on our file server to assist in archiving stale files and folders. However, when using a program called TreeSize Professional to generate this report I'm seeing that most if not all files are being accessed daily. I find this to be misleading and believe our backup software(Windows Backup Server and CloudBerry Backup for Windows) are modifying the properties every night during scheduled backups.

Does anyone know how I can go about stopping our backup software from modifying the Last Accessed properties?
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Hi Jonathan,

As I mentioned at your previous question, the disablelastaccess parameter on the fsutil command may be helpful in this case:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior

I'm not familiar with Windows Backup Server or CloudBerry Backup for Windows, but most backup software has the ability to run "pre" and "post" scripts. If those backup utilities support that, you can tell it to run a "pre" script to disable it and a "post" script to re-enable it. Even if the backup software doesn't support that, you could probably call them from a batch file, with the necessary disable/enable in the batch file (or any other scripting language that you prefer).

However, note this important comment at that doc (copied here under "Fair Use"):
The disablelastaccess parameter can affect programs such as Backup and Remote Storage that rely on this feature.
So, if your two backup programs rely on the last access time, this method would not work.

Btw, I've never used this method myself. I'm offering it based on theory, not practice. :)

Regards, Joe
Avatar of Jonathan Banh
Jonathan Banh

ASKER

Thanks Joe. This would definitely be a great work around method if I'm not able to verify that the two backup software I use are already doing this already or are the direct cause of the problem.
ASKER CERTIFIED SOLUTION
Avatar of skullnobrains
skullnobrains

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial