- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- 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
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
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
тАО04-30-2007 12:27 AM
тАО04-30-2007 12:27 AM
restore with tar
i use tar command to backup data i do foure remote backup from four servers to a tape connected to one , the first two backups i use tar cvf /dev/nst command for backup for the third one i use tar with compression tar cvzf /dev/nst2 , i try to recover the data from the third backup the compressed one but i could not even i try to list the backuped file with tar tvf /dev/st2 it does not work kindly any help in the restoring issue.
1- for the first server
tar cvf RADIUS:/dev/nst2 /backup1
2-for the second server
tar cvf RADIUS:/dev/nst2 /backup2
3- for the third one
tar cvzf RAIUDS:/dev/nst2 /backup3
i use the mt command to see the data
mt -f /dev/st2 fsf
tar tvf /dev/st2
for the first i see the data
for the second also i see it
for the third i get
this does not look like tar archive
BR;
Fadia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 12:43 AM
тАО04-30-2007 12:43 AM
Re: restore with tar
If your HPUX tar does not support the 'z' option, first 'gunzip' you file and then 'tar tvf' it.
Hope that helps,
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 01:12 AM
тАО04-30-2007 01:12 AM
Re: restore with tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 02:35 AM
тАО04-30-2007 02:35 AM
Re: restore with tar
If tar -cvzf works, that means "z" option is supported. There is no question of it not working.
maybe the tar -cvzf has not at all worked. check your backup logs.
Rachiel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 10:45 PM
тАО05-01-2007 10:45 PM
Re: restore with tar
# tar cvf RADIUS:/dev/nst2 /backup1
Fadia is backing up from one box to another.
Fadia, are the source and target machines both HPUX boxes ? Are you using the same tar on both ?
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 10:46 PM
тАО05-01-2007 10:46 PM
Re: restore with tar
If you are trying to restore on the same machine as you took the backup one, ignore my last message ;-)