- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Info about back-up
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
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
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-16-2001 01:47 AM
11-16-2001 01:47 AM
Info about back-up
i wuold like to know which is the best way to back-up /home/try (and all the dir under it) on a tape?
Whit fbackup, inclueded into the file graph_file all the dir or with tar (tar cvf try.tar /home/try) .
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 01:51 AM
11-16-2001 01:51 AM
Re: Info about back-up
If you only use HP-UX, then I'd go wth fbackup.
Party on Dude!
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 01:56 AM
11-16-2001 01:56 AM
Re: Info about back-up
you are right.
But for back-up all direcory under /home/try on tape?
tar cvf try.tar /home/try
Is sufficent?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 01:56 AM
11-16-2001 01:56 AM
Re: Info about back-up
again "It depends"
fbackup is the most flexible tool, but only supported on HP-UX.
tar (and cpio) is the most compatible one, can be read on other unixes (even SCO, Linux, ...), but is less flexible than fbackup in restoring specific files to specific directories.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 02:09 AM
11-16-2001 02:09 AM
Re: Info about back-up
Is sufficent? >>
this would backup /home/try into a tar file try.tar in the directory from where you run the command. If you want it to go to the tape drive, don't use the 'f' flag.
"tar cv /home/tar" will send it to the default tape drive. Or use "tar cvf /dev/rmt/0m /home/tar" to send it to teh device /dev/rmt/0m.
You dont need to use a tar file name if you're writing to tape.
Also, I'd suggest you specify the relative path instead of an absolute path.
If your tar was created with "tar cv /home/tar", then when you untar it, it will overwrite or create the /home/tar directory.
Instead, do a "cd /home/tar ; tar cvf ./". You can untar this in any convenient directory when you need to.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 02:12 AM
11-16-2001 02:12 AM
Re: Info about back-up
sed 's/home\/tar/home\/try/' last_post > new_post
:-)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 02:24 AM
11-16-2001 02:24 AM
Re: Info about back-up
no problem Deepack. You are a master.
Do you suggest:
cd /home/try ; tar cvf ./ ??
This command, back up /home/tar and all the dir under /home/try to tape?
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 02:30 AM
11-16-2001 02:30 AM
Re: Info about back-up
It should be
"cd /home/try ; tar cv ./"
Or, if you want to specify the device name (say, if you have more than one tape drive and dont want to overwrite somebody else's tape)
"cd /home/try ; tar cvf
Your tape drive could be /dev/rmt/0m or /dev/rmt/1m or whatever.
Hmmm..I didnt see that profile of yours before :-)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 02:47 AM
11-16-2001 02:47 AM
Re: Info about back-up
- Playing Shylock and Lovin' It -

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 03:02 AM
11-16-2001 03:02 AM
Re: Info about back-up
Nice discussion, guys. What about the limit of tar or cpio with files larger than 2 GB ?
If you stay with HP machines, use fbackup in command line mode for these files.
For other systems think about OmniBack II.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 06:25 AM
11-16-2001 06:25 AM
Re: Info about back-up
find /home | cpio -ocuvB > /dev/rmt/tapedev
That would backup everything under /home.
Restoring:
cpio -iBdcvm "filename" < /dev/rmt/tapedev
Listing tape contents:
cpio -ictBv < /dev/rmt/tapedev
Do a 'man' on cpio for the switches that would best fit what you are doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 06:48 AM
11-16-2001 06:48 AM
Re: Info about back-up
Maybe this can help you,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/51-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/51-toc.html&searchterms=backup&queryid=20011116-064758
Here are some links on backup commands.
Tar
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90680&service=hpux&path=../B2355-90680/00/00/53&title=HP-UX%20Reference%20Volume%201%3A%20Section%201
Cpio
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90680&service=hpux&path=../B2355-90680/00/00/53&title=HP-UX%20Reference%20Volume%201%3A%20Section%201
Fbackup
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&con=/hpux/onlinedocs/B2355-90681/00/00/78-con.html&toc=/hpux/onlinedocs/B2355-90681/00/00/78-toc.html&searchterms=cpio&queryid=20011116-064922
Hope this helps.
Regds