[GTALUG] What Not To Backup
William Park
opengeometry at yahoo.ca
Fri Dec 23 15:56:55 EST 2016
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'.
--
William
More information about the talk
mailing list