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

Re: [cobalt-users] Backup method on Raq3 - whats best?



 > >
 > > mmmmh
 > > it's better you get it here
 > > www.br1.net/sitebk.txt
 >
 > Filiberto,
 >
 > Please forgive my ignorance.  There is no
 > /usr/local/bin/ftpbackup directory on my RaQ4
 > Should I create it with which user and permission?
 >
 > The
 > -h xxx.xxx.xxx.xxx -u USERNAME -p
 >
 > I'm not sure how this works?  Does it mean that only that
 > user from that IP can get the file?????
 >
 > Thanks
 >
 > Thom
 >

 Hi Thom!

 ftpbackup in a command you have to install in your raq.
 If you follow the default insttallation setting, you will end with an
 executable called ftpbackup in your /usr/local/bin directory

 I put the script online becouse I noticed that what I send by email get
 corrupted by some "new line" that should not be there.

 tar cf - "$base$i" | gzip | /usr/local/bin/ftpbackup -h xxx.xxx.xxx.xxx -u
 USERNAME -p PASSWD -b "site$i.$variab.tar.gz";

This simply mean
make a tarball of $base$i,
give it to the executable ftpbackup that will take care of open a ftp
connection (-b option) with the host (-h) xxxx.xxx.xxx.xxx. login as
Username(-u)  with passwd (-p). You will have in the root of the target host
a tarball called site$i.$variab.tar.gz.
After having installed ftpbackup try
/usr/local/bin/ftpbackup --help
everything will be more clear

Try looking here too.
http://list.cobalt.com/pipermail/cobalt-users/2000-June/013193.html

you can download ftpbackup here:
http://metalab.unc.edu/pub/Linux/system/backup/ftpbackup-2.1.tar.gz


Filiberto