Hello Friends,
This topic is related with HP-UX Operating System. In HP-UX Operating System Ignite is one of the hpux feature by which OS recovery image is being created in ignite server and external Tape cartridges which can be later used to restore OS in case of system crash. (In later Posts I will write about ignite server setup and ignite restoration techniques).
Today I will write how to restore a single file or Directory from ignite backup in two cases, First is when we have ignite backup on Tape cartridge and Second is when we have ignite backup in Ignite Server.
1. From the Ignite Tape (assuming 2mn for tape device):
# mt -f /dev/rmt/2mn rewind
# mt -f /dev/rmt/2mn fsf 1 <– for PA-RISC System
(and)
# mt -f /dev/rmt/2mn fsf 22 <– for Itanium/Integrity System
Use below command to restore file '/etc/lvmtab'
# tar xvf /dev/rmt/2mn etc/lvmtab
NOTE: No leading '/' (absolute path is to be used at time of restoration).
----------------------------------------------------------------------------------------------------------------------------------------------------------
2. From Ignite image on a network server:
On the Ignite server, go to archive/backup image location
# cd /var/opt/ignite/recovery/archives/client-dir
Check for the available images and select the one you want to use.
Below is syntax :
# gunzip -c <image_name> | tar -xvf – <path without />
NOTE: there is an important hypen (-) after xvf. For example, to restore '/etc/lvmtab' file from the image file '2010-02-22,09:34'.
Use below command to restore
# gunzip -c 2010-02-22,09:34 | tar -xvf - etc/lvmtab
(Note: no leading '/' before etc) This will restore the '/etc/lvmtab' file to ignite server current path, which can be copied to the final destination system.
Note : In this tutorial, I teach how to restore a file from ignite backup, if you want to restore a directory just replace the path of directory with file.
Thanks for reading
For any suggestion and question, Please write in comment section !!
This topic is related with HP-UX Operating System. In HP-UX Operating System Ignite is one of the hpux feature by which OS recovery image is being created in ignite server and external Tape cartridges which can be later used to restore OS in case of system crash. (In later Posts I will write about ignite server setup and ignite restoration techniques).
Today I will write how to restore a single file or Directory from ignite backup in two cases, First is when we have ignite backup on Tape cartridge and Second is when we have ignite backup in Ignite Server.
1. From the Ignite Tape (assuming 2mn for tape device):
# mt -f /dev/rmt/2mn rewind
# mt -f /dev/rmt/2mn fsf 1 <– for PA-RISC System
(and)
# mt -f /dev/rmt/2mn fsf 22 <– for Itanium/Integrity System
Use below command to restore file '/etc/lvmtab'
# tar xvf /dev/rmt/2mn etc/lvmtab
NOTE: No leading '/' (absolute path is to be used at time of restoration).
----------------------------------------------------------------------------------------------------------------------------------------------------------
2. From Ignite image on a network server:
On the Ignite server, go to archive/backup image location
# cd /var/opt/ignite/recovery/archives/client-dir
Check for the available images and select the one you want to use.
Below is syntax :
# gunzip -c <image_name> | tar -xvf – <path without />
NOTE: there is an important hypen (-) after xvf. For example, to restore '/etc/lvmtab' file from the image file '2010-02-22,09:34'.
Use below command to restore
# gunzip -c 2010-02-22,09:34 | tar -xvf - etc/lvmtab
(Note: no leading '/' before etc) This will restore the '/etc/lvmtab' file to ignite server current path, which can be copied to the final destination system.
Note : In this tutorial, I teach how to restore a file from ignite backup, if you want to restore a directory just replace the path of directory with file.
Thanks for reading
For any suggestion and question, Please write in comment section !!
What is PARISC System?
ReplyDeletePA-RISC is a Instruction Set Architecture (ISA), it stands for Precision Architecture based on Reduced Instruction set computing. In simple terms you may understand it as processor architecture.
ReplyDeleteYsumcoMcap-yo-1982 Max Mullen https://wakelet.com/wake/PViazuRAoLh0AmHAREVyA
ReplyDeletefranovthrontha
AgibvaYpau_ki-2001 Melissa White click
ReplyDeletehttps://colab.research.google.com/drive/128O5Rl099tNBNgME7ChVgiGaE7rdt7bk
click here
click
minvidysno