- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar and fbackup
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
12-07-2005 05:18 PM
12-07-2005 05:18 PM
Will the content of the tape be overwritten, when I do another backup using the same tape?
the device file i use /dev/rmt/0m.
After one backup, i mount the same tape and do another backup. Will the content of the tape be overwritten or accumulate?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 05:28 PM
12-07-2005 05:28 PM
Re: tar and fbackup
tar -cvf /dev/rmt/0m "some_dir/file"
mt -f /dev/rmt/0mn fsf 1
fbackup -f /dev/rmt/0mn -i "/dir/file"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 05:32 PM
12-07-2005 05:32 PM
Re: tar and fbackup
as mentioned by RAC and others, for tar, u need a no-rewind tape:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=147363
for fbackup, there is no way to append to the archive on a tape since fbackup always rewinds the tape right after opening the device. However, you can restart an fbackup
that was previously interrupted, an operation that appends to an incomplete tape.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 06:12 PM
12-07-2005 06:12 PM
Re: tar and fbackup
the answer is YES. the date will be overitten!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 06:39 PM
12-07-2005 06:39 PM
SolutionThe answer is NO for fbackup command, check the url below (docID : UNX1000087) about 'Will fbackup allow you to append to a tape?' :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=400000000010776
The answer is YES for tar command, with option 'r'. For example (see the second line) :
# tar cvf /dev/rmt/0m /etc/hosts
# tar rvf /dev/rmt/0m /etc/rc.config.d/netconf
Check the man page of tar for more details.
Check also the url below (docID : CSEG9210081200) about 'How do I append a file to tape using tar?' :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000007950095
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 02:09 AM
12-08-2005 02:09 AM
Re: tar and fbackup
While you can save some money on tapes by appending backups, almost every sysadmin that has been doing this for a while will tell you horror stories about accidents that destroyed all the backups or not counting the number of appended backups correctly and getting the wrong versions, etc. When bad things happen, all the money saved won't help recover the data.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 04:32 PM
12-09-2005 04:32 PM
Re: tar and fbackup
fbackup cannot append to the tape, always an overwrite. Mr. Bill hassel has clearly explained you why it's so. But with tar utility you can use the same tape multiple times to backup. see man tar.
Regards,
Sunil