Backing Up Your HPUX System

This blog entry Im writing with the intention of being short and to the point on how to backup your HPUX system. For additional information or more in depth options and so on, please consult the URLs listed at the bottom of this entry.

If you have root access to the machine then you can use the fbackup utility to backup your data. It is best to first boot the machine in single user mode so that no services are running and the bare minimum of processes are active because the fbackup utility will not back up files that are open or locked by any process.

So now make sure the device which you are backing your data up to is properly connected and turned on. Then use the fbackup command like so:

fbackup –f /dev/mymedia –i /

This blog entry Im writing with the intention of being short and to the point on how to backup your HPUX system. For additional information or more in depth options and so on, please consult the URLs listed at the bottom of this entry.

If you have root access to the machine then you can use the fbackup utility to backup your data. It is best to first boot the machine in single user mode so that no services are running and the bare minimum of processes are active because the fbackup utility will not back up files that are open or locked by any process.

So now make sure the device which you are backing your data up to is properly connected and turned on. Then use the fbackup command like so:

fbackup –f /dev/mymedia –i /

This command will cause the all of the data stored on the root file system ( / ) to be written to /dev/mymedia. You can also specify more than one device to back your data up to so that if the first device fills up it will start to write to the second device. This can be beneficial when performing an unattended backup.

Here is a sample command using two devices to back up the entire file system:

fbackup –f /dev/mymedia –f /dev/mymedia2 –i /

You can find more information on this command by using the man utility followed by the command name or by viewing the online man page through the following URL:

http://devrsrc1.external.hp.com/STK/cgi-bin/man2html?manpage=/usr/share/man/man1m.Z/fbackup.1m

After creating a backup using the fbackup you can restore that backup at anytime using the frestore utility.

You can find the online man page for the frestore command at the following URL:

http://devrsrc1.external.hp.com/STK/cgi-bin/man2html?manpage=/usr/share/man/man1m.Z/frecover.1m

 

Enjoy!