Restore: Difference between revisions

From Poetry MP Wiki
Jump to navigation Jump to search
Admin>Soulmate
(Created page with "== From Backup Database File == Steps: # If you are running PoetryApp MP as local desktop app, just close the program. And if you are running PoetryApp MP as a hosted Website on IIS or Apache, you need to stop the Webstie or the application pool to ensure the database file is not opened. # Use the backup to replace "poems.db" in sub folder "PoetryApp_Data". # Start the app or the Website. == From JSON File == You had previously exported all to a JSON file, and optiona...")
 
m (1 revision imported)
(No difference)

Revision as of 20:29, 11 October 2022

From Backup Database File

Steps:

  1. If you are running PoetryApp MP as local desktop app, just close the program. And if you are running PoetryApp MP as a hosted Website on IIS or Apache, you need to stop the Webstie or the application pool to ensure the database file is not opened.
  2. Use the backup to replace "poems.db" in sub folder "PoetryApp_Data".
  3. Start the app or the Website.

From JSON File

You had previously exported all to a JSON file, and optionally a zip file with images.

Steps:

  1. If you are running PoetryApp MP as local desktop app, just close the program. And if you are running PoetryApp MP as a hosted Website on IIS or Apache, you need to stop the Webstie or the application pool to ensure the database file is not opened.
  2. Copy "poemsSeed.db" into "poems.db', since "poemsSeed.db" is an empty database.
  3. Start the app or the Website.
  4. Login
  5. Go to "Import for DB Update/Import JSON file" and select the JSON file.
  6. Optionally go to "Import for DB Update/Import Zip File and select the zip file.
  7. Logout and then login.