- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I need to take a backup on 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
Forums
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
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
тАО02-02-2005 10:44 PM
тАО02-02-2005 10:44 PM
I need to take a backup on HP-UX
I'm some how new to HP-UX not to UNIX and I'm in the process of backing up some directories that exceeds the tape capacity (tape capacity is 20-40 GB).
My question is, how can I tell the tape to continue backup if the first tape capacity finishes?
I mean, I have 28 GB folder, how can I take this to a two tapes?
Thanking yOu
Marwan Shantir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 10:48 PM
тАО02-02-2005 10:48 PM
Re: I need to take a backup on HP-UX
You can use fbackup (man fbackup). This will also allow you to specify more than one device file so that it will automatically move to another device if necessary (without prompting you to insert blank media).
All the best - Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 10:54 PM
тАО02-02-2005 10:54 PM
Re: I need to take a backup on HP-UX
Also remember that these tape drives perform HW compression so that 28GB directory is likely to fit on one tape unless, of course, it contains mainly tightly packed files already which is unlikely. Besdies fbackup will normally prompt for another tape anyway.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 11:08 PM
тАО02-02-2005 11:08 PM
Re: I need to take a backup on HP-UX
If you use a backup command (maybe native 'tar' or backup from SAM) it will tell you to insert a new tape. Then it continues after your response.
And how already told, you can use a tape configuration where files (if possible) will be compressed.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 12:02 AM
тАО02-03-2005 12:02 AM
Re: I need to take a backup on HP-UX
fbackup will prompt for second tape if the first tape get filled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 12:10 AM
тАО02-03-2005 12:10 AM
Re: I need to take a backup on HP-UX
Thank you very much for the quick updates and answers.
note that I'm using the SAM to conduct the backup. can any one send me the correct command of backup (fbackup command)?
Thanking yOu
Marwan Shantir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 12:17 AM
тАО02-03-2005 12:17 AM
Re: I need to take a backup on HP-UX
will explain you better
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 01:00 AM
тАО02-03-2005 01:00 AM
Re: I need to take a backup on HP-UX
KBRC00000197 [This document may be viewed by customers]
[This document has been certified]
Example backup/recover commands for fbackup, cpio, tar
Document Information Table
Example backup/recover commands for fbackup, cpio, tar
DocId: KBRC00000197 Updated: 1/3/00 8:52:22 AM
PROBLEM
The most frequently used commands for fbackup, cpio, tar.
RESOLUTION
(This document assumes the user's device file is /dev/rmt/0m.)
FBACKUP/FRECOVER
Things to remember about fbackup:
* fbackup MUST rewind the tape before beginning the backup and after
completing.
* a tape created with fbackup is only recoverable with frecover.
* a file listed in the index file (from option -rvNf) is not guaranteed
to be on the tape; this simply means that fbackup intended to back the
file up when it began the backup session.
Command Description
fbackup -vf /dev/rmt/0m -i / full system backup
fbackup -vf /dev/rmt/0m -i specifically include file/directory
/etc/hosts preceded by -i
fbackup -vf /dev/rmt/0m -i specifically include multiple
/etc/hosts -i /usr files/directories preceded by -i
fbackup -vf /dev/rmt/0m -e specifically exclude file/directory
/etc/hosts preceded by -e
fbackup -vf /dev/rmt/0m -g
graph_file_name backup from a graph file
frecover -xvf /dev/rmt/0m restore entire tape to originating
directory structure
restore entire tape to originating
frecover -xovf /dev/rmt/0m directory structure and overwrite any
existing files
cd /tmp restore entire tape to /tmp
frecover -xXvf /dev/rmt/0m (originating directory structure will
not be overwritten)
frecover -vf /dev/rmt/0m -I verify backup and read the index file
/tmp/index from the tape into a file called
/tmp/index
fbackup -vf /dev/rmt/0m 2>&1 log what is backed up, along with any
|tee /tmp/backup.log errors that occur
frecover -rNv -f /dev/rmt/0m 2>
/tmp/listing list of what is really on the tape
frecover -V /tmp/volume_headers
-f /dev/rmt/0m show volume headers on the tape
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 01:30 AM
тАО02-03-2005 01:30 AM
Re: I need to take a backup on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 08:12 PM
тАО02-03-2005 08:12 PM
Re: I need to take a backup on HP-UX
if you use SAM, start it, choose 'Backup and Recovery' - 'Interactive Backup and Recovery' - then it should show a valid backup device. Then you can choose the directories you want to backup.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 10:23 PM
тАО02-03-2005 10:23 PM
Re: I need to take a backup on HP-UX
Correct me if i am wrong ?
There is a risk of complete data recovery. If you take the backup in multiple tape. If even one goes bad you cannot restore the complete data. In that case ..its better to take backup backup with respective of directoried/filesystem . Else you can use tape compression if the tape drive supports.
regards
Sudhir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2005 12:19 AM
тАО02-04-2005 12:19 AM
Re: I need to take a backup on HP-UX
You can test, to backup all in one command.
If one tape is enough, then ok.
If not, I would neverthless complete the backup. Then you can split it in more backups.
Nevertheless, you *can* restore single files from sam backup, but for a complete restore you need good tapes.
V.