Jump to content

rsync didn't preserve timestamps


Go to solution Solved by magic144,

Recommended Posts

anybody got any experience with this?

I'm using the protected-parity "Mirroring procedure to convert drives"  - in order to (slowly) migrate my drives from reiserFS to xfs
https://wiki.unraid.net/File_System_Conversion#Mirroring_procedure_to_convert_drives

the main part of which involves the command:
 

% rsync -avPX /mnt/<disksrc> /mnt/<diskdst>

 

things went OK on the first disk I migrated. but for some reason a few days later when I repeated the process on the 2nd migration (reiserFS -> blank xfs), AFTER the rsync had finished, the files on the xfs disk all had contemporary timestamps (from the time period of the file copy) rather than the original/source file dates

has anybody seen anything like this before?

it's too late for me to try now, but would re-running the rsync command in that case have been a worthwhile thing to try? (presumably it would copy nothing, but maybe it would fix-up the timestamp info?)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...