Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"

OZEKI NG SMS Gateway - Product Guide

Backup Contents | SearchMove ozeki to new pc

Home > Product Manual > User Guide > Administrator's guide > Backup > Automated

 


Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

Automated backup

Recommended reading:
If you wish to protect your service against hardware failure and reach higher availability of your Ozeki NG SMS Gateway software, we recommend you to try our Ozeki Cluster software product. Ozeki Cluster automatically moves any service to another computer in case of a hardware failure. You can download it from: Ozeki Cluster Site

This step by step guide outlines the major steps to take to created an automated backup solution for Ozeki NG SMS Gateway. Backing up the system involves copying the contents of the Ozeki NG directory



Step 1 - Create a backup directory

It is best to create a directory name that does not contain any spaces. The following directory name is a good choice:

mkdir C:\backup

Step 2 - Create a batch file that will do the backup for you

To create an automated backup procedure a dos batch file should be created. In this batch file the first thing to do is to stop the Ozeki NG service. This can be performed by issuing the net stop command. After the service has been stopped, the contents of the Ozeki NG directory should be copied to the backup directory. A new backup directory should be created for each day. The name of the backup directory can be the date itself. You can use the following DOS command to create the directory name:

FOR /F "tokens=2,3,4 delims=/- " %a in ("%DATE%") do set CDATE=%c%a%b

After the file copy has been done, you can start the service again by issuing the net start command. To put this all into a batch file you should create something like this:

C:\backup\backup.bat
net stop OzekiNG
FOR /F "tokens=2,3,4 delims=/- " %%a in ("%DATE%") do set CDATE=%%c%%a%%b
set DESTDIR=C:\backup\%CDATE%
mkdir %DESTDIR%
xcopy /E "C:\Program Files\Ozeki\OzekiNG - SMS Gateway" %DESTDIR%
net start OzekiNG

Step 3 - Use windows task scheduler to schedule a daily job

After you have created the batch file, you can use the windows task scheduler to execute it at the end of each day.

Dig deeper!
People who read this also read...

More information





Next page: Move ozeki to new pc
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > User Guide > Administrator's guide > Backup > Automated
Legal | Privacy | Terms of use | 2535
34.205.93.2 | 87.229.102.173 | Login