1830898 Members
3164 Online
110017 Solutions
New Discussion

Re: Backup

 
David_492
Advisor

Backup

Dear all

I have HP UNIX Server rp8400

How I can make backup for the application and database to a tape which command I use?

How I can monitor the sam log. How long the backup process takes?

How I can backup the Unix file system only to the tape?
Thank you all
6 REPLIES 6
Norman_21
Honored Contributor

Re: Backup

David,

It depends on what you are using to backup your system.If you don't have Omnback installed, you can use the hp-ux backup command to backup and frecover to restore.
just start sam at the command line:
# sam >Backup and Recovery>Interactive Backup and recovery>Hit space bar to select the backup device>Goto actions menu>Backup files interactively> set the options as desired and hit OK..
do man fbackup for more info
for tar, if you don't have the GNU tar it won't backup more than 2GB.
# tar cv * (to backup all files in the current directory)

Good luck.

"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
TSaliba
Trusted Contributor

Re: Backup

hi

you can use tar command or fbackup
use "man" for any supplementary informations
(tar, fbackup ,cpio for filesystem
about the database, each database has an utility for backup.

bye
jj
Norman_21
Honored Contributor

Re: Backup

How I can monitor the sam log. How long the backup process takes

The sam log file in /var/sam/log/samlog
The backup process time depends on how much capacity is your backup.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
I.Delic
Super Advisor

Re: Backup

Beste David,

Om your entire system to backup you kan use this comand.

fbackup -f /dev/rmt/0m -i -v
Note 1. /dev/rmt/0m is je tape_device

To restore your system you can use this command

frecover -f /dev/rmt/0m -rv

Note 2 . all system wil be restored

If you want to resotre single file use:

frecover -f /dev/rmt/0m -i /home/user/test.sh -xv

success
Leif Halvarsson_2
Honored Contributor

Re: Backup

Hi,
You asked for backing up "application and database". Is it an Oracle database (or a similar) ?
Yo should be aware of that Unix tools (as fbackup or tar) is only useful for cold database backups (the database must be shut down first). For hot backups you must use RMAN (Oracle) or another, vendor specific, tool.

You should also consider buying a high end backup software (for example Data Protector) if backing up a such large system as a rp8400.
Suresh Patoria
Super Advisor

Re: Backup

Hi,

You use fbackup to backup of ur application and database. Use the following command

#fbackup -f /dev/rmt/#m -i -g -v <>

Noter: This utility support the more than 2 GB file of ur database or any



it's depend on ur backup size and transfer capacity of tape drive

for only unix file system use the IGNITE utility

it will take the take the backup

After installation of ur IGNITE utility use the following command

#/opt/ignite/bin/make_recovery -v -d /dev/rmt#m

# --> is the ur logical no. of ur tape drive
Thanx