Moving hardlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I have a backup drive that I'm trying to replace with a larger one and I need to transfer what's on it now to the new drive. The data was backed up using RSYNC, and some of the data's hardlinked (through cp -al) and I'd like to preserve all of that. Do I simply run 'cp -aR <source> <dest>' and hope for the best? I mean, will the hardlinks transfer over, and will the timestamps will be the same?


The current structure is:

   daily.05
   daily.04
   daily.03
   daily.02  <-- this is a 'cp -al' version of daily.01
   daily.01  <-- data gets RSYNCed in here

And every night that structure gets pushed up (.05 deleted, .02 to .04 shifted up, .02 gets created by cp -al .01, and then rsync runs on .01)

I need this structure, and the linking, to stay as is when I transfer the data from one drive to the other.

--
W | I haven't lost my mind; it's backed up on tape somewhere.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:ashley@xxxxxxxxxx>   .   303.442.6410 x130
 IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
 Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
 http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.




-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux