file modify date/time is not preserved

Get help for specific problems
Posts: 2
Joined: 7 Sep 2022

udo.sander

Dear community,

I want to use FFS to backup files from my Linux Mint 21 computer to a WebDAV cloud storage in sync mode mirroring. and compare mode date+size.

For this, i have mounted the WebDAV drive via following entry in /etc/fstab:

https://<an-openxchange-server>/servlet/webdav.infostore /mnt/OXDrive davfs noauto,user,uid=udo,gid=udo 0 0

The access via this mount works in principle, and FFS is creating the mirrored files on it.

The problem is:
The creation/modification date/time of the source files is not preserved, they all get the current date/time on the WebDAV share.

This makes the tool unusable, because on the next sync, it assumes that all files have changed and copies them again.

How can I configure FFS so that it creates the files with their original modification date/time?

Thanks for your help!
Posts: 1202
Joined: 8 May 2006

therube

The problem is:
The creation/modification date/time of the source files is not preserved, they all get the current date/time on the WebDAV share.
Are you sure it is not an issue on the WebDAV end?

If you some other method to copy files to the WebDAV, are the date/time stamps preserved?

cp -p (or whatever)
Posts: 2
Joined: 7 Sep 2022

udo.sander

Yes, you are right! Thanks for that hint.

When I copy a file via Linux file manager to the WebDAV drive, then the same problem occurs, date/time is set to the current date/time.

If anybody knows how to mount a WebDAV drive in Linux so that it preserves the datetime, I would be glad if they could post that here.

Thanks!