09-24-2010
If fbackup isnt a bad tool, it will not replace a real backup/restore utility such as omniback, TSM, netbackup etc...
Nevertheless in older days (HPUX8 and 9) I only had fbackup...
As an admin I will always separate the system and the rest on all boxes I install:
vg00 is purely OS and OS related (users, OS software e.g. Java etc...) the rest in other vg groups and preferably on external disks.
I will therefore backup the system (entire vg00) with Ignite (make_recovery, make_tape_recovery ,etc...).
the rest with the backup software (or fbackup...).
At the time fbackup used to ask for the next tape... but if not changed but pressed <enter> it would continue on your system disk... In other words you would have to be present...
I suppose things have changed since...
10 More Discussions You Might Find Interesting
1. HP-UX
Dear All,
We have Universe database on HP-UX Servers, when we take back on DDS3 it completes around 48 Gb data on just one tape. As per DDS media specs it can hold upto 24 GB compressed data. How it is managing more than double data..? (3 Replies)
Discussion started by: Kashif Raees
3 Replies
2. UNIX for Dummies Questions & Answers
I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup.
Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies
3. Linux
Please help. I am new to linux. I wrote a script to run the backup on lunix machine but the job gave me an error. I am using Linux 2.6.14.3. Below is the sample of my script can anyone tell me where went wrong? Thanks in advance.
#!/bin/sh
dat=$(date +%d%b%y)... (5 Replies)
Discussion started by: clement
5 Replies
4. UNIX for Dummies Questions & Answers
hi,
Recently, I had receive one system. it's run on the unix tru64 server.
I looking some log files when i know don't work few months age system backup to tape.
Below error:
INFO:Tape backups to tape tape0 starting
for backup list:
slot2:/disk4
Backup Command Variable... (0 Replies)
Discussion started by: Tlg13team
0 Replies
5. Solaris
I have unix server with OS 5.8 ,,,
I tried ufsdump 0ua -f /dev/rmt/0 / to perform full system backup on tape but I failed could any one give a procedure for full system backup on solaris machine using tapes??? (1 Reply)
Discussion started by: mm00123
1 Replies
6. UNIX for Dummies Questions & Answers
I would like to know if I can do a full system back
up on my Unix Sco openserver 5.0.5 Machine. If so, What
is the syntax to do this or where can I find this
information at?
Also, is it possible to make this tape bootable so
that I can easily do a full system restore? Any
information on... (2 Replies)
Discussion started by: nellenodrog
2 Replies
7. HP-UX
Hi Friends,
I'm new to unix, I have the below script which takes regular backup. Now if fbackup fails I get the below messages in my log as
fbackup(3047): could not open output file /dev/rmt/0m
fbackup(3019): would you like to enter a new output file?
fbackup(3004): writer aborting... (4 Replies)
Discussion started by: avik.nandi
4 Replies
8. UNIX for Advanced & Expert Users
Hi,
In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way :
- Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies
9. UNIX for Advanced & Expert Users
Hi All,
I have successfully backup & restore (using tar) one of my Debian Lenny Servers.
On the restore server (standby machine), everytime i have to erase the disk & extract the tar backup.
I want to extract the tar on the running restore server on a directory for e.g /systembackup-01,... (11 Replies)
Discussion started by: coolatt
11 Replies
10. Solaris
Hello i am new on Solaris, and i need to migrate my old AIX 5.3 to Solaris 11.2
Now i have all apps working fine but i have the backup cause i was reading and i have not idea about what method must i choose.
Btw on AIX i had a mksysb backup to restore all system and obviously another backups to... (4 Replies)
Discussion started by: thorin666
4 Replies
LEARN ABOUT REDHAT
vgcfgrestore
VGCFGRESTORE(8) System Manager's Manual VGCFGRESTORE(8)
NAME
vgcfgrestore - restore volume group descriptor area
SYNOPSIS
vgcfgrestore [-b|--backup_number VolumeGroupBackupNumber] [-d|--debug] [-f|--file VGConfPath] [-l[l]|--list [--list]] [-h|--help]
[-i|--ignore_size] [-n|--name VolumeGroupName] [-o|--oldpath OldPhysicalVolumePath] [-t|--test] [-v|--verbose] [PhysicalVolumePath]
DESCRIPTION
vgcfgrestore allows you to restore the volume group descriptor area from backup files in /etc/lvmconf or from VGConfPath to the given Phys-
icalVolumePath. The default backup file is /etc/lvmconf/VolumeGroupName.conf. This command DOES NOT restore data contained in logical
volume(s), only the LVM configuration metadata!
OPTIONS
-b, --backup_numberVolumeGroupBackupNumber
Restore from the specified backup number. Use together with option -n which gives the name of the volume group. See examples below.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-f, --file VGConfPath
Restore from the specified path. Useful for selection of specific backups in the backup history or for copies of VGDA backups.
-i, --ignore_size
Restore though the size of the physical volume doesn't match the one in the backup.
-l, --list
Display volume group information contained in the backup file. If given twice, the physical and logical volume information con-
tained in the backup file is also shown.
-h, --help
Print a usage message on standard output and exit successfully.
-n, --name VolumeGroupName
Do a restore for this volume group name.
-o, --oldpath OldPhysicalVolumePath
If the path to the physical volume has changed between backup time and restore time, this option enables you to choose the corre-
sponding physical volume path in the backup file.
-t, --test
Do a test run reading the volume group backup WITHOUT trying to restore it
-v, --verbose
Give verbose runtime information about vgcfgrestore's activities.
--version
Output the version number and exit successfully.
Examples
To display information like with "vgdisplay vg00" stored in the backup file /etc/lvmconf/vg00.conf:
vgcfgrestore -n vg00 -l
To restore the VGDA of vg00 from the alternative backup file /tmp/vg00-old to physical volume /dev/sdn1:
vgcfgrestore -f /tmp/vg00-old -n vg00 /dev/sdn1
To restore the VGDA of vg00 from the alternative backup file
/etc/lvmconf/vg00.conf.5.old
to physical volume
/dev/sda5 :
vgcfgrestore -n vg00 -b 5 /dev/sda5
DIAGNOSTICS
vgcfgrestore returns an exit code of 0 for success and > 0 for error:
1 no physical volume on command line
2 invalid physical volume name
3 volume group is active
4 error doing restore to physical volume
5 backup is invalid for this volume group
6 volume group is inconsistent
7 physical volume doesn't belong to volume group backup
8 error reading physical volume
9 error getting size of physical volume
10 error writing VGDA to physical volume(s)
11 error removing special files of volume group
12 error setting volume group into lvmtab
13 error doing backup
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
SEE ALSO
lvm(8), vgcfgbackup(8), vgcreate(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGCFGRESTORE(8)