Monday, June 14, 2010

Auto update tool

the auto update tool should be as general as possible to cover as big upgrade as possible.

one idea is like that:

1- every 1 hour, check server name from config file.

2- download update package

3- check md5

4- backup current installation using previous version backup script

5- read and execute the upgrade script from the new package

6- wait to check stability.

7- if something wrong delete the current package using uninstall script included in the current package and restore the old package using the restore script in the backup folder

8- how cool is that?

1 comment:

  1. Now I need to make a package structure to include all scripts like install, uninstall, backup, restore.

    ReplyDelete