database backup in distribution?

Talk about new features for CMSMS and modules.
Post Reply
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

database backup in distribution?

Post by kermit »

http://dev.cmsmadesimple.org/projects/databasebackup

can this functionality be included in the core? easy backup & restore should be considered an essential function.. not everyone has access to phpmyadmin or a shell to make database backups; and even if they did, how many clients could actually fumble through the mysql console interface to make one? (i know i don't have any!)  :)
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: database backup in distribution?

Post by kermit »

i am a bit leary of loading the existing module because it predates the most recent core versions (five stable releases since it was last updated, not counting 0.12) and their database changes. that's why i suggested something like this be built into the core, so it can be continually updated as the core and the database structures change.

and yea, definately a restore with overwrite should have several confirm dialogs before actually taking effect. and even then, perhaps a backup is made before the restore operation is done.

but beside a client being able to download their own backups (good for their own piece of mind, as well as for those who run & manage their own installs), i was thinking more of migration from a development to production server (at least that's what i'd use the function for mainly). migrations would be virtually painless with nearly everything needed stored in the database.

another thing that would be beneficial is scheduled backups.. either to a protected directory on the local server or via ftp. could be triggered by cron, or the first site visitor every x number of days.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: database backup in distribution?

Post by calguy1000 »

There was talk in the irc channel yesterday of a sitemover module that will assist in moving a site from one location to another.

Myself (being the old fashioned linux geek), prefer the command line way of doing things.  To this end, I've written a bunch of scripts for backing up folders, and databases, and cleaning up after multiple backups. 

Once the backups are made (I have the backup scripts in /etc/cron.daily on my machine).  You can easily download them via ftp, or scp, or any mechanism you like.

Not putting this stuff into cmsms core, or leaving it as an addon module makes cmms "simpler" if you ask me.

But that's just my $0.02CDN worth.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
badhoy

Re: database backup in distribution?

Post by badhoy »

calguy1000 wrote: Not putting this stuff into cmsms core, or leaving it as an addon module makes cmms "simpler" if you ask me.

But that's just my $0.02CDN worth.
That is an good point Calguy, but if there is any intention of getting CMSMS into the mainstream then this type of capability needs to be included.  CMSMS is a fantastic CMS, is easy to install and use and will only get better.  But, it does need some non custom functionality for backups imo.
MichaelK

Re: database backup in distribution?

Post by MichaelK »

I've try to make a backup. Everything works fine but when I restore the backup it's automatically sets an Expiration Date on the date of that day you restore it. So all the news items has a Expiration Date so they don't show up anymore at your website.

I have to uncheck all the Expiration Date by all the news items before they show up again. Is there a fix for it?
Post Reply

Return to “Feature ideas”