VoIP Answers

Go Back   ShoreTel Forums | ShoreTel Dsicussion Board | VoIP Forum - DrVoIP > ShoreTel Forums > ShoreTel User Group Issues

Reply
 
LinkBack Thread Tools Display Modes
Sponsored Links
DrVoIP videos
  #1 (permalink)  
Old 09-22-2008, 11:12 AM
Junior Member
 
Join Date: Sep 2008
Posts: 5
Default Backing up MySQL database

I was wondering if a batch file can be created to backup the MySQL databases on the Shoretel server. In the past backing up the database directly shutsdown the MySQL service and then reports can not be run.

Syntax on Linux
mysqldump -u root -ppassword databasename > /share/dir/backups/MySql/database.sql

Is it the same in windows? What databases should be backed up on the server? What user other than root can be used if the syntax above can be used?
Reply With Quote
Sponsored Links
BANNER CODE2 HERE
  #2 (permalink)  
Old 09-25-2008, 12:05 PM
Junior Member
 
Join Date: Sep 2008
Posts: 13
Default Re: Backing up MySQL database

Backing up is very similar and there is a sample batch file build into Shoretel 7+

Locate the following directory: C:\Program Files\Shoreline Communications\ShoreWare Server\MySQL\MySQL Server 5.0\Examples

Edit the dump1.bat file to backup to the appropriate directory.

You can schedule the batch file to run with the Microsoft Task Scheduler.

Hope this helps,

Brian
Carlsbad, CA
Reply With Quote
  #3 (permalink)  
Old 09-29-2008, 04:39 PM
Junior Member
 
Join Date: Sep 2008
Posts: 13
Default Re: Backing up MySQL database

I wanted to follow up with this post as I'm finding the built in batch file very limiting. Currently, we are using mySQLyog to schedule backups which is very convenient since it uses a GUI.

Anyone have a favorite script for backing up mySQL?
Reply With Quote
  #4 (permalink)  
Old 11-25-2008, 04:28 PM
Member
 
Join Date: Sep 2008
Posts: 45
Default Re: Backing up MySQL database

There are two tools that should be come your new best friend. Get a copy of MySQLyog and/or phpmyadmin. One is free and the other cost about $99 but is worth every penny. Basically, using MySQLyog you can schedule and automate MySQL backups of the CDR and Configuration files, directly to Shoreware Data folder and then include that folder in your normal backup as if you wer on a pre-version 7 install.
Reply With Quote
Reply

Tags
backing, database, mysql

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 06:13 PM.


Powered by vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Business Voip