LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: David Drury <idavid@smug.adelaide.edu.au>
To : Linux SA <linuxsa@linuxsa.org.au>
Date: Wed, 20 Jun 2001 12:34:38 +0930 (CST)
Re: Backup using FTP
Thankyou alll for your suggestions Eventually the combination of the
following commands in a script does what I need...
/usr/bin/mkfifo /tmp/backup.tar.gz
/bin/tar czf - <some files> > /tmp/backup.tar.gz &
/usr/bin/ncftpput -f /opt/adm/etc/backup.cfg . /tmp/backup.tar.gz
The -f option to ncftpput is nice, I can have a file owned by root and
read write only by it. Though it stores a password. It is for an ftp onlyy
account with a unique password. It also means that to find this password,
the system security on a non user system has to be breached. Tho its not a
perfect solution, it is one of the safest that exists.
cya
--
David Drury
_______________________________________
\ ua914299@teaching.cs.adelaide.edu.au \
\ idavid@smug.adelaide.edu.au \ __________ |
\ Adelaide University Union \ / \___-=O`/|O`/___|
\ IT Co-ordinator. \_______\ / | / )
/ Student Machine User Group / `/-==__ _/__|/__=--|
/ Systems Administrator. / * \ | |
/ "Cogito cogito ergo cogito sum." / (o)
/______________________________________/
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page