- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- tar backup
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
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
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
тАО05-08-2005 09:18 PM
тАО05-08-2005 09:18 PM
tar backup
i have two Redhat 9 Linux servers i connect a DLT tape drive to one of them i do the backup from the two servers in different times directly from the first one and remontly from the other at the same tape.
1-from the directly connected tape i execute the command
tar cvf /dev/nst0 /dirctory containing the file
2-and for the remotly backup
tar cvf ServerName:/dev/nst0 /derectory containing the file
when i try to see the contant of the tape i execute
tar tvf /dev/nst0
the output appers to be just the backuped file from the first command.
so is what i do is correct and how to make sure that every thing is OK.
BR,
Fadia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 10:03 PM
тАО05-08-2005 10:03 PM
Re: tar backup
If you get no error executing the remote tar then probably the remote tar backup is on tape!
To see this try the following
#mt /dev/st0 rewind
#tar -tvf /dev/nst0
(you should see the first local tar) after this is finished it's display.
#tar -tvf /dev/nst0
(you should see the remote second tar)
you can also go derectly to the seconf file like this!
#mt /dev/st0 rewind
#mt /dev/sto fsf 1
#tar -tvf /dev/st0
have a look at man mt for more in depth info
Jean-pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 10:23 PM
тАО05-08-2005 10:23 PM
Re: tar backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 10:31 PM
тАО05-08-2005 10:31 PM
Re: tar backup
are you able to see list of files flowing through screen when u do remote backup (since you are using v option, u shd be able to see).
if you are doing it from a script, check the return value of the tar command and see whether it is 0 or something else.
i believe for remote tar backup you need to have rhosts file entry.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 11:29 PM
тАО05-08-2005 11:29 PM
Re: tar backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 11:38 PM
тАО05-08-2005 11:38 PM
Re: tar backup
ok. just to ensure it actually writes, try running the second remote write command alone on a new tape and after writing try to list the tape. if it lists then it means remote writing is success only it is failing when it is executed after local write.
if you still can not list then it is obvious that something wrong in remote writing.
Hope this helps,
Gopi