- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Backup Utilities for Single Files
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
07-13-2001 09:23 AM
07-13-2001 09:23 AM
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 09:30 AM
07-13-2001 09:30 AM
SolutionActually tar will backup just one file as well.
If you specify a file then only the file is backed up; on the other hand if you specify a directory then the directory will be backed up.
e.g. tar cvf /dev/rmt/0m /tmp/myfile2 /tmp/myfile3
will backup just those files.
You can also use fbackup or OmniBack.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 09:48 AM
07-13-2001 09:48 AM
Re: Backup Utilities for Single Files
'tar' or 'fbackup' are the obvious choices. I've used 'tar' for this purpose, but my personal favorite is 'fbackup'.
Take a look at the man pages for both. Don't be intimidated by 'fbackup'. 'fbackup' and its companion, 'frecover' can handle largefiles (those > 2GB). 'tar', 'pax' (it's cousin) and 'cpio' cannot -- something to keep in mind.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 11:02 AM
07-13-2001 11:02 AM
Re: Backup Utilities for Single Files
One more question though...The man pages also state that you should not use the no rewind device. I will be needing to write multiple archives one after the other to the tape. Is their any easy way to get the tape positioned to the correct spot for each archive?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 11:17 AM
07-13-2001 11:17 AM
Re: Backup Utilities for Single Files
You are right on target. 'fbackup' doesn't allow wildcard specifications (too bad). However, with include and exclude statements oin a graph file, you can approximate this fairly closely.
'tar' can be used with no-rewind tape devices to stack archives on the tape. You'll be interested too in the 'mt' tape positioning command.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 11:23 AM
07-13-2001 11:23 AM
Re: Backup Utilities for Single Files
Don't overlook the ability to build your graphfile 'on the fly' in a script possibly by reading a file generated by sqlplus.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 11:28 AM
07-13-2001 11:28 AM
Re: Backup Utilities for Single Files
Since you are doing Oracle backups, let me throw out one method you might not have considered. Have you thought about doing
a vxfs snapshot? The idea is that you shutdown the database, snapshot mount, and then start the database. This entire process takes less than two minutes and you can then backup at leisure. This gives you all the warm, fuzzy of a cold database backup with almost all the benefits of a hotbackup. Restores are also then trivially easy.
Food for thought, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 12:17 PM
07-13-2001 12:17 PM
Re: Backup Utilities for Single Files
Yes, fbackup doesn't allow wildcards, u need to specify each file to be excluded.
For ur requirement(need to write multiple archives on a single tape) unfortunately fbackup doesn't serve this purpose that is why it is specified in man page that u should not use no rewind tape.
To append archives u can use tar with mt(to position the tape at the end of archive to append next archive).
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 12:24 PM
07-13-2001 12:24 PM
Re: Backup Utilities for Single Files
Eveyone keeps mentioning tar. I know it is very popular, but my HP-UX book stated that it was very slow and should not be used for large backups. For that reason we had discounted it as an option. Is the book wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 12:35 PM
07-13-2001 12:35 PM
Re: Backup Utilities for Single Files
Especially in the old days, tar was slow when writing to tape devices becuase of small block sizes but the workaround is easy.
Do somrthing like like:
tar cvf - myfile1 myfile2 | dd ibs=512 obs=64k
of=/dev/rmt/0mn
You may need to experiment with obs to optimize performmance.
You can also specify blocking in the tar command itself. But I think you will find that tar is reasonable in terms of performance. The barrier that will get you is the 2GB limit.
Clay