Operating System - HP-UX
1825766 Members
2147 Online
109687 Solutions
New Discussion

Re: ignite Backup: Listing all backups

 
SOLVED
Go to solution
Sanjay Verma
Super Advisor

ignite Backup: Listing all backups

Friends, I've the following line in my crontab - /opt/ignite/bin/make_recovery -Ai -d /dev/rmt/0m 2>&1.

Can you tell me the way I can get a list of all the backups being done?? Which file systems / folders etc. etc.?? or How can I identify what's being backed up?
Co-operation - The biggest chain reaction
11 REPLIES 11
Naveej.K.A
Honored Contributor

Re: ignite Backup: Listing all backups

hi,

/var/opt/ignite/recovery/date,time/flist,
this file will give you the list of files which have been backed up.

the date and time is the instant when the backup was created...

With best wishes
naveej

practice makes a man perfect!!!
Suresh Patoria
Super Advisor

Re: ignite Backup: Listing all backups

Hi,

check the following command

forward the media 1 track

#mt -t /dev/rmt/Xmn fsf 1

verify the files backedup

#tar -tvf /dev/rmt/Xmn

(Note: X is stand for ur device files like 0mn )

Thanx
Sanjay Verma
Super Advisor

Re: ignite Backup: Listing all backups

Naveej, I don't have any files with the name specified by you in the /var/opt/ignite/recovery folder.

Suresh, the following err. msg. is recd. when executing the tar command:
# tar -tvf /dev/rmt/0m
Tar: blocksize = 4
directory checksum error
Co-operation - The biggest chain reaction
Patrick Wallek
Honored Contributor

Re: ignite Backup: Listing all backups

Sanjay,

You must first space forward on the tape to bypass the boot portion.

# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar -tvf /dev/rmt/0mn > /tmp/file_list 2>&1

Sundar_7
Honored Contributor
Solution

Re: ignite Backup: Listing all backups

With the -A option, everything in VG00 is included in the recovery tape.
Learn What to do ,How to do and more importantly When to do ?
Wilfred Chau_1
Respected Contributor

Re: ignite Backup: Listing all backups

/var/opt/ignite/logs/makerec.log2 should list all the files in the make recovery tape.
Sanjiv Sharma_1
Honored Contributor

Re: ignite Backup: Listing all backups

Hi Sanjay,

List of all the files backed up can be found in /var/opt/ignite/logs/makrec.log2

Everything is possible
Naveej.K.A
Honored Contributor

Re: ignite Backup: Listing all backups

Hi,
I execute
make_tape_recovery -a -p /dev/rmt/0mn -x inc_entire=vg00
to archive my entire vg00 and the file list are stored in /var/opt/ignite/recovery/Time_stamp/flist.

I think you need to use the preview option to get the list of files in flist file

Thanks and Regards
Naveej
practice makes a man perfect!!!
Sanjay Verma
Super Advisor

Re: ignite Backup: Listing all backups

Naveej, Can you tell me how the "Time_Stamp" directory gets created. I could not find that directory in my system.
Co-operation - The biggest chain reaction
Naveej.K.A
Honored Contributor

Re: ignite Backup: Listing all backups

When i use the -p options it creates a preview and creates the directory with the name of that time stamp. It is not a date_time directory which is created. A link, latest is also created to this directory.

Then i do a make_tape_recovery -r to resume with the backup.

and ls -l on /var/opt/ignite/recovery is something like this....

total 5704
drwxr-xr-x 2 root root 1024 Mar 17 01:21 2004-03-17,00:49
drwxr-xr-x 2 root root 1024 Mar 17 01:58 2004-03-17,01:26
-rw-rw-rw- 1 root sys 2892398 Jun 19 2003 arch.include
-rw-rw-rw- 1 root sys 250 Jun 19 2003 chkrec.include
-rw-r--r-- 1 root sys 236 Mar 17 01:59 client_status
-rw-rw-rw- 1 root sys 8709 Jun 19 2003 config.recover
-rw-rw-rw- 1 root sys 7687 Jun 19 2003 config.recover.prev
-rw-r--r-- 1 root sys 857 Jun 19 2003 fstab
-r--r--r-- 1 bin bin 198 May 10 2002 group.makrec
lrwxr-xr-x 1 root sys 16 Mar 17 01:26 latest -> 2004-03-17,6
-r--r--r-- 1 bin bin 1971 Jan 24 2002 makrec.append
-r--r--r-- 1 root other 485 May 10 2002 passwd.makrec
-rw-r--r-- 1 root sys 110 Mar 17 01:26 previews

March 17 is the last date when i created my archive. To add up i don't have a file makerec.log2 in my /var/opt/ignite/logs directory.

man make_tape_recovery for more details

With Best wishes
Naveej
practice makes a man perfect!!!
Sanjay Verma
Super Advisor

Re: ignite Backup: Listing all backups

Thanks Naveej for the comprehensive info. I'll implement the same in my environment & will get back if experience any issues. Cheers - Sanjay
Co-operation - The biggest chain reaction