[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Backup & Recovery



How do I start rmt? Do I just run it at the prompt or does it
need to be started as a background process?

Thanks,

Ahbaid.

Jan Carlson wrote:
> 
> Ahbaid Gaffoor wrote:
> >
> > Hello again,
> >
> > I've tried tar --help, but I can't figure out what exactly I need to do,
> >
> > perhaps a little more details may help,
> >
> > the K220 is named "sugar" and the linux pc "linux"
> >
> > the tape drive on the K220 is on device file /dev/rmt/0m
> >
> > how would I back up say "/home" on "linux" onto the tape drive on
> > "sugar"?
> >
> > I'm much better with examples....
> 
> Ok, here goes.
> 
> You need an /etc/rmt program on sugar for this to work.
> 
> If sugar has no working /etc/rmt, you can easily
> install one by compiling the source code of GNU tar.
> ftp://ftp.uu.net/systems/gnu/tar-1.12.tar.gz and
> a thousand other sites.
> 
> On "linux" run tar as a user who can
> read everything from /home.  That might need to be root.
> Select a user on sugar who can write to
> the tape drive.  You'll need that user's password.
> 
> # cd /
> # tar -cvf someuser sugar:/dev/rmt/0m home
> 
> The tar command will interactively ask you for
> someuser's password and the tape will start to whur.
> 
> If security is such that you can rsh from linux
> to sugar without giving a password, tar may not
> ask you for it either.
> 
> /home -->  linux tar -->  rsh --> network
>         --> sugar /etc/rmt --> tape
> 
> Jan Carlson
> janc iname com   Scarborough, Ontario, Canada
> Mailed with Netscape 4.5 on Red Hat Linux 5.2
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                 http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request redhat com with
>                        "unsubscribe" as the Subject.

-- 
Ahbaid Gaffoor
Systems Administrator
Guyana Sugar Corporation
199 Camp Street, Georgetown, 
Guyana, S. America

Phone:	592-2-50120
Fax:	592-2-70410
e-mail:	ahbaidg guyana net gy or ahbaidg yahoo com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]