- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Backup/Restore Commands for HP UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 07:49 AM
тАО11-12-2010 07:49 AM
Backup/Restore Commands for HP UX
I have one project going on and we have SAP Basis person on the site.
We have two machines at two different sites within same campus. Each machine has a tape library connected to it.
As this is SAP server; server has 6 file systems from /sapdata1 to /sapdata6 on each machine.
Task is to backup the all the file system from first machine on tape and restore it on same file systems (like /sapdata1 backup from should get restored on /sapdata1 of target systems.)
Please provide us with all possible commands. (Unfortunately currently brtools of SAP is not configured; using with SAP Basis person can backup/restore datafiles.)
Regards.
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 07:54 AM
тАО11-12-2010 07:54 AM
Re: Backup/Restore Commands for HP UX
tar
pax
cpio
fbackup
and some other not so popular.
fbackup is your best choice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 09:11 AM
тАО11-12-2010 09:11 AM
Re: Backup/Restore Commands for HP UX
Be advised that while it is an incredible backup and recovery tool, 'fbackup' and its companion, 'frecover' are deprecated beginning at 11.31. While available, they will eventually disappear from some future release. The targeted replacement is 'pax' in its enhanced form.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 09:20 AM
тАО11-12-2010 09:20 AM
Re: Backup/Restore Commands for HP UX
Well I know these commands; but can any one of you please let me know the syntax..
Unix that I used to work on had..
tar -cvf /fs1 /fs2 /fs3 /tape_drive
and
tar -xvf /tape_drive to restore.
I am looking for correct syntax on 11.31 for tar and cpio if possible.
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 11:08 AM
тАО11-12-2010 11:08 AM
Re: Backup/Restore Commands for HP UX
fbackup -f
frecover -f
To recover
frecover -f
In the first command -f is the destination device and -i is what to include in the backup
The second command contains -x which means to extract, -N do not actually recover. {to verify backup}
Third command is to recover the backup.
Else you can create a graph file
Create /var/adm/fbackupfiles
create a file called as graph inside it
Type
/sapdata1
/sapdata2
----- /sapdata6 (one by one on each line)
execute fbackup -f
Recover with the same frecover command.
Please assign points!!!
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 11:41 AM
тАО11-12-2010 11:41 AM
Re: Backup/Restore Commands for HP UX
> I am looking for correct syntax on 11.31 for tar and cpio if possible.
The manpages are your friend :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 12:16 PM
тАО11-12-2010 12:16 PM
Re: Backup/Restore Commands for HP UX
pax -wf paxtest /sapdata1 /sapdata2 /sapdata3.... etc
if u want it in cpio format just add -x cpio along with pax.
Easiest way to remember, there are 2 modes r, w and both!
w will write to the archive
r will recover
r and w will copy.
Dont forget to assign points mate. That's the simplest way it can b said.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2010 01:24 AM
тАО11-13-2010 01:24 AM
Re: Backup/Restore Commands for HP UX
>tar -cvf /fs1 /fs2 /fs3 /tape_drive
The "tape" device is always after the -f:
tar -cvf /tape_drive /fs1 /fs2 /fs3
>I am looking for correct syntax on 11.31 for tar and cpio if possible.
You should toss both of those and use pax(1) for both, the syntax is more rational.