backup script

Jianping Zhu zjp at arches.uga.edu
Tue Dec 10 20:47:55 EST 2002


Thank you for your reply!
 Because i have several dictories need to be backup, I want to write a
script do it automatically  say every Satuerday a 2:00am. is there a way
to do that?

On Tue, 10 Dec 2002, David McInnis wrote:

> Why dont' you just user MT and Tar in a bash script?
> 
> #!/bin/bash
> 
> mt -f /dev/nosst0 rewind
> tar -cf /dev/nosst0 /home
> mt -f /dev/nosst0 rewind
> mt -f /dev/nosst0 offline
> 
> line 1:  rewind your tape
> line 2: back up your data
> line 3: rewind tape
> line 4: eject tape
> 
> Hey, I love python too, but why not use other readily available tools for
> the job?
> 
> David McInnis
> 
> ----- Original Message -----
> From: "Jianping Zhu" <zjp at arches.uga.edu>
> To: <python-list at python.org>
> Sent: Tuesday, December 10, 2002 5:29 PM
> Subject: backup script
> 
> 
> >
> > I have a redhat 7.1 linux server, I am planning to backup /home to
> > tape every
> > Saterday. how can i write a python script to do it?
> >
> > Thanks
> >
> >
> >
> > --------------------------------
> > Jianping Zhu
> > Department of Computer Science
> > Univerity of Georgia
> > Athens, GA 30602
> > Tel 706 5423900
> > --------------------------------
> >
> >
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
> 


--------------------------------
Jianping Zhu
Department of Computer Science
Univerity of Georgia 
Athens, GA 30602
Tel 706 5423900
--------------------------------





More information about the Python-list mailing list