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

Re: [cobalt-users] Backup Solution



> Simon,
>
> Thanks for the input.
>
> Does this cover all areas of the Raq4? If we simply do a remote OS reload
> and then untar these backups, does that put everything back the way it
was?
>
> I assume you put these commands into a shell script and run then thru
cron?
>
> How about trying to auto-FTPing them as part of the backup script to
another
> server for safe keeping?

#dataftp
#ftp script
#
ftp -inv <<!
open 192.168.10.1
user  username password
bin
put filename
quit

I execute this script from another script that gets executed by cron. That
script is listed below

date > /var/adm/ftpout

./dataftp >> /var/adm/ftpout 2>&1
pid2=$!

echo `$pid2` >> /var/adm/ftpout

exit 0


-Danny