Restore: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
m (→From JSON File) |
||
Line 9: | Line 9: | ||
You had previously exported all to a JSON file, and optionally a zip file with images. | You had previously exported all to a JSON file, and optionally a zip file with images. | ||
Steps: | '''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. | # 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. | ||
Line 15: | Line 15: | ||
# Start the app or the Website. | # Start the app or the Website. | ||
# Login | # Login | ||
# Go to "Import for DB Update/Import JSON file" and select the JSON file. | |||
# Optionally go to "Import for DB Update/Import Zip File and select the zip file. | |||
# Logout and then login. | |||
'''Alternative Steps:''' | |||
# Run the "Clear Database" menu item. | |||
# Go to "Import for DB Update/Import JSON file" and select the JSON file. | # Go to "Import for DB Update/Import JSON file" and select the JSON file. | ||
# Optionally go to "Import for DB Update/Import Zip File and select the zip file. | # Optionally go to "Import for DB Update/Import Zip File and select the zip file. | ||
# Logout and then login. | # Logout and then login. |
Latest revision as of 09:20, 17 October 2022
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 optionally a zip file with images.
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.
- Copy "poemsSeed.db" into "poems.db', since "poemsSeed.db" is an empty database.
- Start the app or the Website.
- Login
- Go to "Import for DB Update/Import JSON file" and select the JSON file.
- Optionally go to "Import for DB Update/Import Zip File and select the zip file.
- Logout and then login.
Alternative Steps:
- Run the "Clear Database" menu item.
- Go to "Import for DB Update/Import JSON file" and select the JSON file.
- Optionally go to "Import for DB Update/Import Zip File and select the zip file.
- Logout and then login.