- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote backup using 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
04-13-2001 05:59 AM
04-13-2001 05:59 AM
Remote backup using tar
Hi,
We are having one d class server and one L-class server. D is working with 10.20 and L with 11.00. I am doing the full back up on D-class server using tar for each and every file systems. I have to take the backup of 8gb more and my dat drive is not functioning now.
My L-class is having a DDS-3 drive. Can i take a backup of my D-class system using the DDS-3 drive of L-class (remote backup) by the utility tar ? If possible please put the command ?
I am using the tar for backup. In this state i cannot use the fbackup and because i am at 90% of my job......
Any help is appreciated.
amruth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2001 06:05 AM
04-13-2001 06:05 AM
Re: Remote backup using tar
first edit/create your .rhost file on the other server, so that you have remote access.
tar cv . | remsh server2 dd of=/dev/rmt/0m bs=10k
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2001 06:24 AM
04-13-2001 06:24 AM
Re: Remote backup using tar
#tar cvf backup.tar ./path/*
#compress backup.tar
#rcp -p hostname2:/path2/backup.tar.Z|remsh hostname2 -n "cd /path2;tar cv"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2001 07:02 AM
04-13-2001 07:02 AM
Re: Remote backup using tar
The server2 ,myou are specifying in the command is the server which is not having the backup device.( From your command it is sure but still asking.)
amruth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2001 08:30 AM
04-13-2001 08:30 AM
Re: Remote backup using tar
Server1 = server without tape drive
Server2 = server with tape drive, requires the .rhost file
execute on server1:
tar cv . | remsh server2 dd of=/dev/rmt/0m bs=10k
(customize directory to be copied, and tapedrive!)
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2001 10:53 AM
04-13-2001 10:53 AM
Re: Remote backup using tar
tar cvf server2:/dev/rmt/0m
You have to execute this on the server which is not having the tape drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2001 12:49 PM
04-13-2001 12:49 PM
Re: Remote backup using tar
the command
tar cvf server2:/dev/rmt/0m
does not work (it is possible for fbackup only)
You can do:
Server1 = server without tape drive
Server2 = server with tape drive, requires the .rhost file
on Server1:
tar cf - /catalog |remsh Server2 "cat >/dev/rmt/0m" OR
tar cf - -C /catalog . |remsh Server2 "cat >/dev/rmt/0m" on Server 2:
remsh Server1 tar cf - /catalog >/dev/rm/0m OR
remsh Server1 tar cf - -C /catalog . >/dev/rm/0m
(the second examples - the relative pathnames,
customize directory to be copied, and tapedrive!)
good luck,
Piotr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2001 03:20 AM
04-14-2001 03:20 AM
Re: Remote backup using tar
tar cvfb - 20 $bu_files | remsh
Change /dev/rmt/0m if that is not the tape drive device file.