Restore
Jump to navigation
Jump to search
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.