Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:25 am EST
Geeklog Forums
[Fixed] How to reset a Demo Site?
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Probably with a cronjob task. The task should:
- swap out the current config.php for a dummy config.ph with the $_CONF['site_enabled'] flag set to false.
- Perform a database restore from whatever default state you want for the demo site. This default backup should located outside the geeklog normal backup directory.
- rm -r the geeklog directory and then restore the files from a known tar file.
- The tar file contains the working config.php with $_CONF['site_enabled'] = true (and hopefully you've made the tar file such that config.php is the last file copied)
13
14
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
All times are EST. The time is now 09:25 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content