- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to append a new backup without overwriting...
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
11-26-2009 10:40 AM
11-26-2009 10:40 AM
how to append a new backup without overwriting existing ?
# tar -czf /dev/st0 /home
and check/list via
# tar -tzf /dev/st0
ok, but when I try to create another backup on tape, via
# tar -czf /dev/st0 /data
then the previous backup(/home) gone.
# tar -tvf /dev/st0
only shows /data, and not /home.
and I want both /home and /data backup on tape.
please help
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2009 11:10 AM
11-26-2009 11:10 AM
Re: how to append a new backup without overwriting existing ?
http://hep.uchicago.edu/cdf/howto/TapeArchiving.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2009 01:17 PM
11-26-2009 01:17 PM
Re: how to append a new backup without overwriting existing ?
This is very dangerous (error prone) and you don't want to do this. If you successfully put it on your tape, you'll need to remember how to get it off. If you have N backups, then how will you remember what's where?
>I want both /home and /data backup on tape.
You can put both there in the same pass:
tar -czf /dev/st0 /home /data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2009 11:00 PM
11-26-2009 11:00 PM
Re: how to append a new backup without overwriting existing ?
Appends /data to the end of the archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2009 04:22 PM
11-28-2009 04:22 PM
Re: how to append a new backup without overwriting existing ?
Appends /data to the end of the archive
Unless GNU tar -r is different than HP-UX, you can't use -r with tapes.