ShoreTel Forums  

Go Back   ShoreTel Forums > ShoreTel Tech > Installers

Reply
 
LinkBack Thread Tools Display Modes
Old 02-26-2010, 09:10 PM   #1
Member
 
Join Date: Feb 2008
Location: Raleigh NC
Posts: 80
Backups Scripts on HQ server

Hello All,

i have a question about the shoreware_backup.wsf script located in the HQ scripts folder. What line in the script would i need to modify to send the backup to a different location other that the default c:\Shoreware Backup\backup folder. for instance to send it to a network drive or other removable media. i am not a scripting person so please be gentle.
aj1104 is offline   Reply With Quote
Old 02-27-2010, 06:20 AM   #2
Junior Member
 
Join Date: Aug 2008
Location: Colorado
Posts: 23

I created a modified an existing script located the examples folder. F:\Program Files\Shoreline Communications\ShoreWare Server\MySQL\MySQL Server 5.0\Examples.

this is the code that we are using. it backups up MYSQL to a other folder. I have it scheduled to run at every night using a schedule task. Hope this helps. I am still working on a bat file that will look in that folder adn delete files that are older than a few days so the folder doesn't get too large.

The .bat names the file with at date.

Set DateLabel=%date:~10,4%%date:~4,2%%date:~7,2%
Set backup_file_name=Shorewarebk_%DateLabel%.sql

"F:\\Program Files\\Shoreline Communications\\Shoreware Server\\MySQL\\MySQL Server 5.0\\bin\\mysqldump.exe" --user root --password=shorewaredba --databases shorewarecdr --routines --single-transaction>"F:\\Daily_backups\\%backup_file_name%
fynskisb16 is offline   Reply With Quote
Old 02-27-2010, 01:47 PM   #3
Member
 
Join Date: Aug 2009
Location: PA
Posts: 63

We do something similar to this. We have the script running as a scheduled task to dump to a folder on the ShoreTel server. Then another task copies the backups off site to a different server where each dump is then also backed up to take a held live for 1 week on the off site server for easy access.
PhoneGuy1108 is offline   Reply With Quote
Old 04-11-2010, 05:14 PM   #4
Senior Member
 
Join Date: Aug 2008
Location: United Kingdom
Posts: 163

There is a .ini file nearby the scripts where you can specify the destinations.

Quote:
Originally Posted by aj1104 View Post
Hello All,
What line in the script would i need to modify to send the backup to a different location other that the default c:\Shoreware Backup\backup folder. for instance to send it to a network drive or other removable media.
__________________
--
Layer 1 is below me, Layer 6 & 7 are beyond me.
ShoreTel_Dave is offline   Reply With Quote
Reply

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 -4. The time now is 06:26 AM.


Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0