Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4253224
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:55:03+00:00 2026-05-21T04:55:03+00:00

I have a demo site where users can log into the site and change

  • 0

I have a demo site where users can log into the site and change pretty much everything, including the page with the instructions on how to log in 🙂

obviously i cant leave this site up without rebuilding its database now and then, or ill be linking to goatse before i know it.

i am open to ideas on the easiest way to do this.

I am running grails which uses hibernate behind the scenes. i wonder if a proc to drop all the tables, and reinsert data will make hibernate throw up.

another option would be to run a quartz job to programatically remove everything and reinsert it, but the problem with that is that its MUCH easier to setup the initial version via the sites admin interface, so id be doing a lot of work via services

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T04:55:03+00:00Added an answer on May 21, 2026 at 4:55 am

    Assuming your using MySQL set up a job using your operating system’s scheduling facilities  

    to run the mysql client with an sql dump of the state you want to bring the database to every day. I’ve done this on a grails app and had no problems although your users may run into issues if they try and access the site while the database is being restored. When I’ve recreated the database from a dump while my grails app was running I had no issues accessing it after the database restore. If your not using mysql the same instructions should apply, you’ll just have to use a method specific to your database. When I did this I did not drop and create the actual database, I just dropped and recreated all the database tables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an upload page in django powered site. The end-users upload the documents
I have to create a site structure like this /demo/ /demo/admin/create /demo/admin/edit/id I can
I have been using a demo site since yesterday and made a version on
I have the Demo Table which I can click on the cell(td tag) and
Its too much code to paste here so, I have created demo please have
I plan on having an aspect of my site where the users can submit
I have been asked to set up a demo site which calls out to
I have an HTML5 demo site ( http://html5beats.com/ ) that uses JavaScript to detect
I have a site which houses many various directories (such as admins, members, demo
I've have finally got the datepicker to work on my MVC demo site. One

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.