I would recommend against doing it this way if any users have shell access to the box, as your remote username and password will show if they do a 'ps'. If ftpbackup supports use of a .netrc file that would be a safer way to store the passwords. Frank > > If you don't mind working with the shell and the guts of your RaQ 2, > try ftpbackup. It's a small utility you can find in a couple of RPM > repositories on the net (sorry, don't remember where). You'll have > to compile it from the source. Here's a script that we use to > backup all needed files on a server to a remote ftp server (RaQ 1, > 2, whatever): > > #!/bin/bash > > /bin/tar cfp - /home | gzip | /usr/local/bin/ftpbackup -h remote.ftp.server.com -u user -p password -b filename.tar.gz > /bin/tar cfp - /etc | gzip | /usr/local/bin/ftpbackup -h remote.ftp.server.com -u user -p password -b filename2.tar.gz > /bin/tar cfp - /var | gzip | /usr/local/bin/ftpbackup -h remote.ftp.server.com -u user -p password -b filename3.tar.gz > /bin/tar cfp - /usr/admserv | gzip | /usr/local/bin/ftpbackup -h remote.ftp.server.com -u user -p password -b filename4.tar.gz > /bin/tar cfp - /usr/local | gzip | /usr/local/bin/ftpbackup -h remote.ftp.server.com -u user -p password -b filename5.tar.gz > -- Frank Smith fsmith@xxxxxxxxxxx Systems Administrator Voice: 512-374-4673 Hoover's Online Fax: 512-374-4501
Sun Cobalt and Linux Support by Zeffie.com
Zeffie's Sun Cobalt User Forums
A Sun Cobalt and Linux Support Specialist Since 1999
Sun Cobalt Support, Repairs, Development, and Maintenance.
Home of the Worlds Largest Collection of Sun Cobalt Updates!
Sun Cobalt Spam Filter, Security, Firewall, Anti Virus Products.
734-454-9117 US Toll Free 800-231-4459 UK 0208-150-6860
Zeffie's Sun Cobalt Restore CD's
Zeffie's Sun Cobalt Updates
Sun Cobalt Users List
Sun Cobalt Security List
Sun Cobalt Developers List
Copyright 2009 by Electronic Consultants Inc.