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

Re: [Sheflug] backups (again!)



On Monday 05 Nov 2001 10:37 pm, you wrote:
> Q2: is there any way to do a network backup via ftp or telnet (yes, I
> know I should use ssh.  As far as I can tell, the university gateway
> does not support it, and I need to pass through it) that involves
> creating compressed tar files on-the-fly?   And preferably automated...
>
I user the "copydir" command - part of the mirror package which is part of 
any decent Linux Distro. For example, I use the following script to 
periodicly fetch Mandrake Updates...

#!/bin/bash
cd /home/pdm/incoming/updates_8.1
/usr/bin/copydir --no-netrc -v --no-use-passive-connections 
ftp://ftp.mirror.ac.uk/sites/sunsite.uio.no/pub/unix/Linux/Mandrake/updates/8.1/RPMS/ 
/home/distros/mandrake_8.1/updates/

(the last 3 lines are all on one line, BTW)

Pieter
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.