- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Backup and restore with tar
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
03-31-2006 11:54 PM
03-31-2006 11:54 PM
I like to take backup some of our file system using “tar” and append data daily basis in same cartridge but I did not find any parameter in man page. would you please check that whether it is possible or not.
Here I like to mention that from this backup I have to restore frequently so please give me the total procedure of backup(with append) and restore.
Mostafa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 12:04 AM
04-01-2006 12:04 AM
Re: Backup and restore with tar
To append a backup in a tape with tar use mt command.
For example, in the first time, just use tar cvf /dev/rmt/xm /backup
second time:
mt -t /dev/rmt/xm fsf 1 --> 1 indicates first tape mark and so on 2,3,4...
after mt, just use tar cvf, but be very carefull, because every time you tar something to tape, if you use xm tape will rewind and the next time you want to write something, you must use mt first.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 02:39 AM
04-01-2006 02:39 AM
Re: Backup and restore with tar
I'm not sure that a backup on a tape using tar is good idea, especially if you want to add files daily. The problem is not in the backup, the problem is in restore. You have to know which tar file on the tape contains the file which you like to restore. In order to know that, you have to support a database with a list of backed up files etc.
Theoretically it's interesting and relatively simple to create such a backupsystem, but practically it's much easier and not very expensive to buy something like backupexe or similar.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 03:48 AM
04-01-2006 03:48 AM
SolutionFirst backup:
tar cvf /dev/rmt/0mn
Second backup
tar cvf /dev/rmt/0mn
Restore first backup
mt -f /dev/rmt/0mn rewind
tar xvf /dev/rmt/0mn
Restore second backup
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn
And so on...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 11:12 PM
04-01-2006 11:12 PM