>>>>> On Tue, 29 May 2007 01:51:51 +0200, Arno Lehmann said:
> 
> Hi,
> 
> On 5/28/2007 8:36 AM, Dave wrote:
> > Hello,
> >     I've got a centos5 box that needs to be fully backed up because it's 
> > going to be reinstalled with raid. I don't want to loose any data. I set up 
> > a backup job that backed up / and /boot do i need to do anymore? The job 
> > completed successfully, but i'm getting in the email output:
> > 
> > wserv-fd:      /sys is a different filesystem. Will not descend from / into 
> > /sys
> > wserv-fd:      /dev is a different filesystem. Will not descend from / into 
> > /dev
> > 
> > Do i need either of these filesystems if i'm going to be recreating the 
> > system then installing from backup?
> 
> That depends on how you will reinstall your OS.
> 
> If you will d a minimal system installation and then restore your backup 
> over it these two file systems will not be needed because they will be 
> created at installation time and populated automatically.
> 
> (Keep in mind that, restoring to a system with a different setup, will 
> get you in trouble when you overwrite, for example, your initrd, 
> bootloader setup, and /etc directory. You should take care not to 
> overwrite anything necessary for booting from the RAID system.)
> 
> If you want to do a bare-metal restore to the RAIDified system, you'll 
> need some extra steps afterwards, mainly making the RAID system known to 
> the OS.
> 
> Personally, in your situation, I'd prefer to do a minimal system 
> installation, save the essential configuration (bootloader setup, 
> kernel, initial ram disk, and disk setup come to mind, but there are 
> probably others...) and then restore over it. If you did a real minimal 
> installation, and don't swith to another architecture (x86 vs. 64-bits 
> enhanced mainly), don't install a newer or older kernel, and so on, you 
> could restore and NOT overwrite existing files. In case your system 
> doesn't boot, you could use your distributions repair installation 
> tolls, or simply first copy the saved low-level setup over the broken 
> installation and re-install the bootloader.
> 
> In any case, a scenario like this can really get you into trouble :-)

I think you never want to backup /sys (assuming it is mounted as the
pseudo-filesystem giving access to the kernel).  Likewise, if /dev is a
separate filesystem then it is probably controlled by devfs or udev, so will
be recreated on boot.

__Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to