[Dirvish] Replacing backup drive

Rich Shepard rshepard at appl-ecosys.com
Sat Jul 14 12:40:39 UTC 2018


On Fri, 13 Jul 2018, Jim Conger wrote:

> I have had some odd problems with corruption in ext4 file systems with
> vaults in them, so I fsck the vault file system after every backup. I
> think I read something about ext4 and hard links being a problem which
> would be bad news for dirvish since it is all about hard links. I'm happy
> with ext4 as long as I check it each time.

Jim,

   Excellent advice which I appreciate.

> I'm not sure what you are asking.  I am sure that your / file system is 
> backed up to salmo-root,

   Er, yes. This I know but missed when I wrote the message.

> Partition, create volumes, make file systems, etc. on the new 2T drive with 
> out the current backup connected.  Avoids accidents.
>
> When you are ready to copy, mount the old backup drive read only, "mount -o 
> ro /dev/WHATEVER /mnt/hd". Avoids accidents. Voice of experience.
>
> Use rsync with all the right options to copy pretty much every detail, see 
> man page for rsync, but "rsync -a --stats /mnt/hd/. /mnt/NEWDRIVE/." should 
> do it. Note the trailing /. on the paths, that makes sure you are copying 
> everything in the old to the new, including the permissions of /mnt/hd/. 
> itself.

   Again, valuable advice. Thank you.

Regards,

Rich


More information about the Dirvish mailing list