vi /path/backup.sh

#!/bin/sh
# all db separate files

for customerdb in `mysql -uusername -ppassword -e "show databases" -B -N`
do
        echo $customerdb
        mysqldump -uusername -ppassword $customerdb > /path/$customerdb.sql
done

Add cron job

vi /etc/crontab

* 0 * * * root  /path/backup.sh

Back to Linux

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2017 15:30 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: 1178

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