Forum Moderators: coopster

Message Too Old, No Replies

e-commerce cms backup solutions

providing a client with means to backup stock and data

         

PSWorx

7:56 pm on Jan 16, 2006 (gmt 0)

10+ Year Member



How would i go about scripting in some functionality so as to allow the user of a cms/e-commerce site to backup both the current database structure and data and also the entire contents of the websites root folder, bundle all this into a zip file or other archive for download by the end user.

The main purpose of this is to remove the need for me as the developer to do this and to simplify the backup process...

Any help or direction to help would be great

TIA

dreamcatcher

7:59 pm on Jan 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You`ll find some classes on the PHP Scripts Repository for backups:

[phpclasses.org...]

dc

ergophobe

8:16 pm on Jan 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



My project for today is to write a cron job that will back up a DB and then send it to a gmail account. The DB zipped is only about 10MB and will probably grow by only 2MB or so in zipped form over the course of the year. So in theory I should be able to store about 100 backups per account. Then someone just needs to remember to clear out the gmail account every so often.