<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1252"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Richard,<br>
<br>
Many thanks for your contribution and for allowing us to add it to the
webpage.<br>
The package will be adapted to 5107R soon.<br>
<br>
Thanks again,<br>
Christoph<br>
<br>
Richard Morgan wrote:
<blockquote cite="mid:A61E1D28900A4FEEB47A00F19B4DB2B5@morganweb"
 type="cite">
  <meta content="text/html; charset=windows-1252"
 http-equiv="Content-Type">
  <base
 href="file://C:%5CProgram%20Files%5CCommon%20Files%5CMicrosoft%20Shared%5CStationery%5C">
  <style>BODY {
        BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial; BACKGROUND-POSITION: left top; COLOR: #000000; FONT-SIZE: 10pt
}
  </style>
  <meta name="GENERATOR" content="MSHTML 8.00.6001.19088">
  <div>Hi</div>
  <div> </div>
  <div>This is for anyone that uses Telemedia's rather lovely MySQL
backup package: <a moz-do-not-send="true"
 href="http://www.telemedia.ch/publ/blueonyx-mysqlbackup.html">http://www.telemedia.ch/publ/blueonyx-mysqlbackup.html</a>
(I hope they do a 5107R version ;o) ).</div>
  <div> </div>
  <div>They have a feature to run post backup scripts that are stored
at /usr/local/sbin/bo-backupmysql.post so, I wrote something to FTP it
across the network to another server.  It doesn't delete anything once
it gets old, it's just a hack to make sure we've got a copy in a
different place.  I'm posting it here in case anyone finds it useful.</div>
  <div> </div>
  <div>As root, do:</div>
  <div> </div>
  <div>pico /usr/local/sbin/bo-backupmysql.post</div>
  <div> </div>
  <div>Copy the script below in to the editor and modify the ftp details</div>
  <div> </div>
  <div>Hope someone finds it useful.</div>
  <div> </div>
  <div>Richard</div>
  <div> </div>
  <div>---</div>
  <div> </div>
  <div>echo "-----";<br>
echo "$FNAME.tar.gz will be sent to an FTP server";</div>
  <div><br>
FTP_HOST=nnn.nnn.nnn.nnn</div>
  <div>FTP_USER=username<br>
FTP_PASS=password<br>
FTP_PATH=/database_backups</div>
  <div><br>
ncftpput -m -u $FTP_USER -p $FTP_PASS $FTP_HOST $FTP_PATH $FNAME.tar.gz</div>
  <div> </div>
  <div>echo "$FNAME.tar.gz stored on $FTP_HOST at $FTP_PATH";<br>
echo "-----";</div>
  <div> </div>
  <div> </div>
  <div> </div>
  <div> </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
  </pre>
</blockquote>
<br>
</body>
</html>