Monday, 10 December 2012

Setting backup for WAMP Server

    It is highly recommended to set backup for WAMP server before you do any changes to its default settings, If you have any problem with WAMP server, you can always restore from backup folder which you will set up in this guide. Setting back up will take couple of minuets and it will save hell lot of time if you have problem with WAMP server in future.

To set up back ups you need an synchronization software. i find SyncToy from MicroSoft is reliable and easy to use software for windows.

You can download software from here. (choose version which suites your operating system)

Download SyncToy and start installing it by clicking on it.




NOTE : You have to change default torage engine to MyISAM in MySQL Settings file, go to C:\wamp\bin\mysql\mysqlx.x.x\my.ini and change line 
default-storage-engine=INNIDB
to
default-storage-engine=MyISAM
just add the above line in-case you could not find the line with innodb.
and restart server



Select check box and click on next.
















Select I agree radio button and click next.
















Installer will proceed further SyncToy will be installed in your PC
















Now it is time to set backup for WAMP server, Create a folder with the name backups ( in another drive partition on your computer )


Now open SyncToy software.

Click on create new folder pair


















Click on browse and select WAMP installation directory as left folder.

and backup folder which you have created as right side folder.






Select method as echo as we will be using WAMP server installation folder and we want to update changes to backup folder from C:\wamp





on next screen just name your backup and click next
















click on run on next window
















SyncToy will start coping all files to backup folder. When it was done you have set back up for your WAMPserver successfully.















HOW TO RESTORE:

For File / folder, copy associated file from backup folder and replace it with folder /file in www directory

For database, copy associated db file from backups/bin/mysql/mysqlx.x.x/data and replace it with C:\wamp\bin\mysql\mysqlx.x.x\data.




No comments:

Post a Comment