Re: Backup with dd?

2005-01-04 Thread Matthew Seaman
Garance A Drosihn wrote: This assumes you're running 5.3-stable or 6.x-current. I am not sure how well snapshots would work on 4.x-stable. Not at all, unfortunately. snapshots are a UFS2 feature only available in 5.x or above. However, sys-admins have been making backups without the benefit of

Backup with dd?

2005-01-03 Thread Eric F Crist
Hello all, I've decided to try doing a complete system backup, attempting a bit-for-bit copy. A friend told me to try the following: # dd if=/dev/ad4 of=/dev/ad6 Both drives are identical SATA150. Is this the best way? I'm hope to be able to do a daily/weekly backup this way, and if my

Re: Backup with dd?

2005-01-03 Thread Eric F Crist
On Jan 3, 2005, at 12:15 PM, Henry Miller wrote: This might work, but it isn't best. I can think of the following objections: First, not all identical drives are identical. It isn't uncommon for the factory to give slightly different sector counts for drives of the same model, when something

Re: Backup with dd?

2005-01-03 Thread Andrew P.
Eric F Crist wrote: On Jan 3, 2005, at 12:15 PM, Henry Miller wrote: This might work, but it isn't best. I can think of the following objections: You have no protection at all while the copy is in progress. You have overwritten part of the old backup, but not enough to be consistent. You have

Re: Backup with dd?

2005-01-03 Thread Eric F Crist
On Jan 3, 2005, at 12:46 PM, Andrew P. wrote: Eric F Crist wrote: On Jan 3, 2005, at 12:15 PM, Henry Miller wrote: This might work, but it isn't best. I can think of the following objections: You have no protection at all while the copy is in progress. You have overwritten part of the old

Re: Backup with dd?

2005-01-03 Thread Garance A Drosihn
At 11:57 AM -0600 1/3/05, Eric F Crist wrote: Hello all, I've decided to try doing a complete system backup, attempting a bit-for-bit copy. A friend told me to try the following: # dd if=/dev/ad4 of=/dev/ad6 Both drives are identical SATA150. Is this the best way? While that will probably work,

Re: Backup with dd?

2005-01-03 Thread Garance A Drosihn
At 1:03 PM -0600 1/3/05, Eric F Crist wrote: On Jan 3, 2005, at 12:46 PM, Andrew P. wrote: Eric F Crist wrote: You seem to be under the impression that I'm doing this for the sole reason of a disk crash. I'm actually doing it for more than just that reason. For example, if my system gets hacked,

Re: Backup with dd?

2005-01-03 Thread Lowell Gilbert
Eric F Crist [EMAIL PROTECTED] writes: I've decided to try doing a complete system backup, attempting a bit-for-bit copy. A friend told me to try the following: # dd if=/dev/ad4 of=/dev/ad6 Both drives are identical SATA150. Is this the best way? Not particularly. The primary

Re: Backup with dd?

2005-01-03 Thread Malcolm Kay
to be able to do a daily/weekly backup this way, and if my primary drive fails, switch the cables and just reboot. There can be a few major problems in using dd for backup: If the source is mounted then it can change during backup and lead to a bckup that is not self consistent. At very least when you