1823958 Members
5121 Online
109667 Solutions
New Discussion юеВ

/stand backup

 
UniRock
Regular Advisor

/stand backup

Hi All,
I am using below command in the script for taking backup of /usr

/usr/lbin/fs/vxfs/vxdump -0uf /dev/rmt/2mn /var 2>&1 |tee -a $logfile

What command in the script shall I use for taking backup of /stand file system?
12 REPLIES 12
James R. Ferguson
Acclaimed Contributor

Re: /stand backup

Hi:

In my opinion, you should be using Ignite to periodically make recovery images of vg00 :

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/2mn

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: /stand backup

This is incremental but ignite isn't, but anyway - why not using ignite and backup the vg00 to tape? This is in fact a tar archive, to you can even access single files.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
UniRock
Regular Advisor

Re: /stand backup

Hi James & Torsten,
I am taking ignite twice a month but still if I need to take /stand with other file systems, will it be possible?
Because this is hfs and rest are vxfs, so do I need some other command?
Torsten.
Acclaimed Contributor

Re: /stand backup

I cannot really imagine how useful this would be.

in what case do you want to use this backup?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: /stand backup

Hi (again):

> I am taking ignite twice a month but still if I need to take /stand with other file systems, will it be possible?

If the contents of '/stand' are changing (due to kernel changes), you should be performing a new Ignite backup.

I think you are making a potential system recovery needlessly hard. Use Ignite for 'vg00' at large. Use another tool to capture volatile files like '/etc/passwd', etc. to couple that with an Ignite image if you need to use it.

As for '/usr', that shouldn't be changing routinely, either.

Regards!

...JRF...
UniRock
Regular Advisor

Re: /stand backup

Coz one of my senior told me include it, so I wanted to confirm it before I speak up.

One more que..How can I view what is being backed up on that tape (forget about the logs)......just to make sure that evrything is written and NOT overwritten....

Thnks,
RKK
Torsten.
Acclaimed Contributor

Re: /stand backup

obviously you cannot use vxdump to "backup" a hfs file system.

What in general is the difference if you dump each file system in vg00 to making an ignite tape???
(apart from the fact that ignite tape is bootable) ;-)

Regarding the other question - do a

man vxrestore
and read about the list option.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
UniRock
Regular Advisor

Re: /stand backup

In ignite vg00 is included by default and upon booting it gets restored automatically....dont really know the exact differences.
:(

Please guide.

Thnx in advance,
RKK
Torsten.
Acclaimed Contributor

Re: /stand backup

Please read the previous posts again.

IMHO the meaning is "ignite is the better solution".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: /stand backup

Hi (again):

You need to fetch a current copy of Ignite and install it.

There is a wealth of Ignite documention at the site from which you download a current version, too (below).

The command I provided you will create a viable Ignite image of all of vg00.

http://www.docs.hp.com/en/IUX/

Regards!

...JRF...
Bill Hassell
Honored Contributor

Re: /stand backup

Something that is often overlooked: vxdump is absolutely useless if you are restoring vg00. The reason is that without vg00 intact, there are no HP-UX commands at all, no tar, cpio, fbackup or vxdump. So you can't restore anything from the vxdump tape until you restore the OS..which is part of /stand. The make_tape_recovery command is the only useful way to backup vg00.


Bill Hassell, sysadmin
Sajjad Sahir
Honored Contributor

Re: /stand backup

if u are taking vg00 backup which includes
u /stand directory also.
and normally vg00 backup is taking by using ignite tool
once u system is crashed u are booting from
that media for minimum level for the system
once it is ok u can restore all other fileystem from other media, this is normally doing.

see for ignite backup james posted command also