From: Stelian P. <st...@po...> - 2004-12-09 09:38:32
|
On Wed, Dec 08, 2004 at 09:35:24AM -0800, Mike Castle wrote: > On Wed, Dec 08, 2004 at 07:35:17AM +0100, Stelian Pop wrote: > > On Tue, Dec 07, 2004 at 04:17:06PM -0800, Mike Castle wrote: > > > > > mount -o ro $backup_vol /mnt > > > dump /mnt > > > umount /mnt > > > lvremove $backup_vol > > > > > > Or something like that. It would be nice if dump could handle the > > > partition without it being mounted, > > > > It does. 'mount -o ro $backup_vol /mnt' is pointless, just do a > > 'dump $backup_vol'. > > But then you can only do a level 0 backup, right? Why not ? > > > so it would think you were backing up > > > /usr instead of /mnt. > > > > But of course, you'll lose that information, but this is no big deal. > > Proper naming of the snapshotting device and/or labelling of the tape > > should be sufficient. > > If you want to do something besides level 0s, updating dumpdates in a > reasonable manner is important. This is an issue only when dumping the filesystem containing /etc (or /var/something/). And even in this case you can put the dumpdates somewhere else temporarly, point dump to the new dumpdates for the time of execution, then after the dump put the modified dumpdates back where it belongs. Stelian. -- Stelian Pop <st...@po...> |