HPE GreenLake Administration
Operating System - Linux
1828225
Members
2468
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-03-2003 11:04 AM
02-03-2003 11:04 AM
tar
Hi all, how would I tar up everything in / on one system and then untar it to a tape on another system. Is this possible. Any help will be greatly appreciated and points will be assigned.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 11:39 AM
02-03-2003 11:39 AM
Re: tar
What do you mean, untar it to a tape?
If what you mean is how to tar up a filesystem and write the tar to a tape on another system, then there are several ways.
One way that used to work that was easy was to NFS export the /dev filesystem of the machine with the tape drive, and mount it on the client machine - then just tar as if the tape drive is local.
Another way we used to do that was via remote shells:
tar cvf - | rsh remoteserver cat > /dev/rmt/0n
Good luck!
Vince
If what you mean is how to tar up a filesystem and write the tar to a tape on another system, then there are several ways.
One way that used to work that was easy was to NFS export the /dev filesystem of the machine with the tape drive, and mount it on the client machine - then just tar as if the tape drive is local.
Another way we used to do that was via remote shells:
tar cvf - | rsh remoteserver cat > /dev/rmt/0n
Good luck!
Vince
No matter where you go, there you are.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 12:02 PM
02-03-2003 12:02 PM
Re: tar
Thanks for yur help but when I try running it with the tar command, it gives me a messge os sort " refusing to create an empty archive".
Any other ideas.
Any other ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 02:25 PM
02-03-2003 02:25 PM
Re: tar
Vincent missed a character:
tar cvf - . | rsh remoteserver cat > /dev/nst0
(Note: I chagned the device name to a Linux device node for a tape, and put a period before the pipe).
Otherwise, if you really *WANT* to create a file first, you can 'dd' a tar file directly to a tape device as well.
It's basically the same as what was done above, but using an intermediate file instead of immediately.
I would advise against using an intermediate file if possible.
tar cvf - . | rsh remoteserver cat > /dev/nst0
(Note: I chagned the device name to a Linux device node for a tape, and put a period before the pipe).
Otherwise, if you really *WANT* to create a file first, you can 'dd' a tar file directly to a tape device as well.
It's basically the same as what was done above, but using an intermediate file instead of immediately.
I would advise against using an intermediate file if possible.
One long-haired git at your service...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP