Recent Changes - Search:

Softwares

.

Cpanel-mysql-backup

Main.Cpanel-mysql-backup History

Hide minor edits - Show changes to output

April 24, 2009, at 03:09 PM by 118.95.5.140 -
Added lines 1-21:
(:Google1:)
(:Googletxt:)
----

[@


#!/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