coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Gephri on August 09, 2007, 07:00:11 AM

Title: Restoring Views
Post by: Gephri on August 09, 2007, 07:00:11 AM
Ok, I accidentally reset all views to -0-.  I have read all message board info and do have a backup.  Question is: is it safe to only reinstall what Nibbler had suggested:
QuoteIt's the `hits` field in the picture table.
Or should more dbases, or indeed the entire dbase be reinstalled.

PS I have since removed the default ON setting for this Admin Tool.
Title: Re: Restoring Views
Post by: Joachim Müller on August 09, 2007, 07:07:48 AM
Any advice given by Nibbler is OK. He's one of the most skilled Coppermine developers.
Title: Re: Restoring Views
Post by: Gephri on August 09, 2007, 08:29:12 AM
Right GauGau - you and Nibbler have saved me a few times.
It's just that he didn't say whether just the the data in the ONE field needed to be replaced or if others too.
Title: Re: Restoring Views
Post by: Nibbler on August 09, 2007, 01:39:07 PM
That's the only field affected by the admin tools 'reset views' option.
Title: Re: Restoring Views
Post by: Gephri on August 09, 2007, 05:47:45 PM
Thank you GauGau and Nibbler - backup worked as it should.
One last thing - is there any mod yet developed that will automatically (daily) backup my Coppermine gallery?
Title: Re: Restoring Views
Post by: Joachim Müller on August 09, 2007, 06:42:51 PM
We have a strict "one question per thread" policy that you agreed to respect when signing up. Your last question is clearly not related at all to your initial question. Someone with a post count as high as yours should be well aware of that policy already. Marking thread as "solved" and locking it.
Browse the plugins board (http://forum.coppermine-gallery.net/index.php?board=66.0) for the backup plugin by Frantz (http://forum.coppermine-gallery.net/index.php?topic=40439.0) (read the entire thread there). However that plugin will not create backups automatically - you will have to manually trigger them. You'd need to create a cronjob to accomplish automated backups, which is not a feature of that plugin. I suggest reviewing the great backup tool "MySqlDumper" (see "Tools recommended by the devs -> mySqlDumper (http://forum.coppermine-gallery.net/index.php?topic=31423.msg145478#msg145478)") that features automated backups based on cron jobs as well. Another option would be paying your webhost to create and maintain those backups for you.

Joachim