[HPADM] [Summary] gnutar to/from remote drive?

From: Unternaehrer Stefano (stefano.unternaehrer@ti.ch)
Date: Mon Sep 15 2003 - 02:27:47 EDT


Thank you to
============
Porell, Chris [Chris.Porell@ceridian.com]
Beerse, Corné [c.beerse@torex-hiscom.nl]
Daniel H. Brown [brown@brauhausdc.org]
Allan.Marillier@dana.com
Bill Hassell [blhconsulting@mindspring.com]
Eef Hartman [hartman@mf.twi.tudelft.nl]

Question was:
=============
> I need to do some software backup from different
> unix server to an unique internal dlt drive.
> The drive is in one hp-ux server, others server
> are hp-ux or solaris. I know I can use fbackup,
> which permit me to backup to a remote tape, but
> this is not available on solaris, right?
> Is there a way to do that with gtar?

Suggestions were:
=================
That's correct. fbackup is only available on HP-UX.
-----------------
Just use the remote shell to pipe the output of
gtar to the remote system. This is fairly common.
-----------------
You can use gtar for what you need. You will need to get a
copy or rmt as well (should come with gtar) and put a copy,
or symlink it as /etc/rmt
-----------------
cpio might be an option --
it's available on most unix platforms
-----------------
find /filesystem | cpio -colvdm [| compress] | \
        remsh remotehost > /dev/rmt
(Of course, remsh can be replaced by ssh)
-----------------
If you need to back up several hosts to one or many
shared tape drives that exist on different hosts, I used
'amanda' a few years ago. I don't know if it's still
around, but I was very happy with it - and it's free!
-----------------
solaris# tar cf - / | rsh hptapemachne dd of=/dev/tape
-----------------
Tune it by using dd to change the sending blocksize:
solaris# tar cf - / | dd bs=1k | \
        rsh hptapemachine dd of=/dev/tape bs=1m
-----------------
Or go zipped over the line (but not to tape).
solaris# tar cf - / | gzip | dd bs=1k | \
        rsh hptapemachine 'unzip | dd of=/dev/tape bs=1m'
-----------------
However, piping data across the network without any
accuracy checks is not a good practice for production
systems. If this is important data and must be preserved,
don't use Unix tools. Get a reliable commercial backup
program like HiBack or OmniBack. None of the Unix tools
will tolerate any errors and they have no verification
capability. Commercial tools have central indexes of the
files and directories and also have the ability to do
a high speed search directly to the file, something that
tar, gtar, cpio, pax, etc do not have.

Best regards,
Stefano

---
Stefano Unternaehrer
SysAdmin/WebMaster Sbt
Sistema bibliotecario ticinese
www.sbt.ti.ch - 091 814 15 13
--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:34 EDT