Re: [ILUG] ftp backups

From: Conor Daly (conor.daly at domain oceanfree.net)
Date: Sat 06 Jul 2002 - 10:40:41 IST


On Thu, Jul 04, 2002 at 11:01:15AM -0700 or so it is rumoured hereabouts,
Paul O'Neil thought:
> Also, recommend simple method to backup files over Internet & ftp?

Simple "here" document...

cd <local/dir>
tar zcf <todays.tar.gz> .

ftp << DONE
open <remote.server>
user <username>
pass <password>
prompt
put todays.tar.gz
bye
DONE

rm todays.tar.gz

Of course, the checks and balances are left as an exercise for the
reader... It's not a nice method, you'd do better using rsync over ssh if
that's available to you...

Conor

-- 
Conor Daly <conor.daly at domain oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
 10:22am  up 43 days, 19:39,  0 users,  load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
 10:14am  up 17 days,  9:36,  2 users,  load average: 0.00, 0.02, 0.00


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:42 GMT