Recent Changes - Search:

Softwares

.

Cpanel-mysql-backup




#!/bin/sh
cd /var/lib
tar -zcf mysql_$(date +"%F").tar.gz  mysql
cd /backup/mysql
ftp -in <<EOF
open 127.0.0.1
user yourusername yourpassword
bin
hash
prompt
put mysql_$(date +"%F").tar.gz
bye

Edit - History - Print - Recent Changes - Search
Page last modified on April 24, 2009, at 03:09 PM