[plug] Backup via FTP

Craig Ringer craig at postnewspapers.com.au
Sat Mar 15 14:58:42 WST 2003


> I'm trying to write a simple shell script that will ftp to another machine,
> and leech everything off it back to the box i'm ftp'ing from as a simple
> form of backup. The only problem I face, is although I can "mget *", it will
> not enter every directory and get all the files contained within. Is there
> any console based ftp client (ncftp maybe?) that I could write a script for
> that would be able to do that? Or would I just have to be specific about
> entering directories and mget *, etc.. I would use rsync, but the other box
> is SCO and the admin isn't too happy about putting ssh/rsync on it.

I back up our SCO OpenServer box over NFS to the linux box, and that 
works very well. Alternately, SCO's ftp server supports automatic tar, 
so you can
	get directoryname.tar
to get a tar file of a directory, created on the fly. Maybe this'll help 
you.




More information about the plug mailing list