This site is hosted and sponsored by hyve.com specialists in Cloud Hosting UK and VMware Hosting. If you are interested in our services please call us for chat on 0800 612 2524
  • Setup backup.sh file in /root folder
mkdir /var/lib/mysql_backup
vi /root/backup.sh
#!/bin/sh
# all db separate files

for customerdb in `mysql -uuser -e "show databases" -B -N`
do
        echo $customerdb
        mysqldump -uuser $customerdb > /var/lib/mysql_backup/$customerdb.sql
done
chmod 700 /root/backup.sh
  • Setup Crontab so backup runs at mighnight every night
vi /etc/crontab
0 0 * * * root  /root/backup.sh

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-9) was last changed on 02-Dec-2009 13:17 by Hyve Support
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 2777

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1