[GTALUG] What Not To Backup

Alvin Starr alvin at netvel.net
Fri Dec 23 16:13:48 EST 2016


On 12/23/2016 03:56 PM, William Park via talk wrote:
> On Fri, Dec 23, 2016 at 02:32:17PM -0500, Alvin Starr via talk wrote:
>> On 12/23/2016 02:21 PM, William Park via talk wrote:
>>> My recommendations...
>>>
>>> 1.  Backup entire disk to another disk, verbatim.  That is,
>>> 	dd if=/dev/sdX of=/dev/sdY bs=10M
>>>
>>>       First, you don't have to waste time figuring out what to back up.
>>>       Second, if disk fails, you can just swap the disks, and copy over
>>>       only the new files since last dd.
>> Generally this is a bad idea if your copying a live file system because you
>> end up with a disk image that is corrupted to some extent.
> Yes.  I do
>      telinit 1
>      mount -o remount,ro /
> before running 'dd'.

Remounting read only will work but that is not what you said to do.
You will need to make sure all file systems are remounted read only.
It will work but could have you taking your system offline for quite a 
while to do the full copy if you have something like a 10TB drive.




-- 
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin at netvel.net              ||

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/talk/attachments/20161223/817cdbdf/attachment.html>


More information about the talk mailing list