- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- tarring a file to a remote tape device via ssh
Operating System - Linux
1752303
Members
4801
Online
108786
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
Discussions
Discussions
Forums
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
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
тАО04-26-2006 05:24 AM
тАО04-26-2006 05:24 AM
tarring a file to a remote tape device via ssh
Hi there --
I would like to run a tar backup on a linux system and have the backup occur on a remote system's tape drive, in this case hp-ux 10.20, via ssh. Is this possible, and if so, what is the correct syntax. FYI -- I have set up public and private keys between the two systems, and the account in question has automatic authentication set up.
I would like to run a tar backup on a linux system and have the backup occur on a remote system's tape drive, in this case hp-ux 10.20, via ssh. Is this possible, and if so, what is the correct syntax. FYI -- I have set up public and private keys between the two systems, and the account in question has automatic authentication set up.
A Journey In The Quest Of Knowledge
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2006 07:42 AM
тАО04-26-2006 07:42 AM
Re: tarring a file to a remote tape device via ssh
The syntax should be something like this:
localhost> tar cvf - /path_to_files | ssh remotehost dd of=/dev/rmt/0m
localhost> ssh remotehost dd if=/dev/rmt/0m | tar tvf -
You can try different block sizes in the command to try to get better performance.
localhost> tar cvf - /path_to_files | ssh remotehost dd of=/dev/rmt/0m
localhost> ssh remotehost dd if=/dev/rmt/0m | tar tvf -
You can try different block sizes in the command to try to get better performance.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2006 02:47 AM
тАО04-27-2006 02:47 AM
Re: tarring a file to a remote tape device via ssh
any particular reason you want to use tar instead of rdump?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2006 06:08 AM
тАО04-27-2006 06:08 AM
Re: tarring a file to a remote tape device via ssh
Shalom,
Unless have a product like Veritas netbackup making the tape drive shareable, you must transfer the file and then back i tup.
scp -p filename servername:/tmp
ssh servername "tar cv *"
The asterisk is the fileset to be archived.
This can be done password free by exchanging public keys.
SEP
Unless have a product like Veritas netbackup making the tape drive shareable, you must transfer the file and then back i tup.
scp -p filename servername:/tmp
ssh servername "tar cv *"
The asterisk is the fileset to be archived.
This can be done password free by exchanging public keys.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP