fix several formatting problems in upgrade guide

This commit is contained in:
Scott Lamb 2018-01-30 17:01:03 -08:00
parent 529aad9982
commit 7566b6a38b

View File

@ -26,12 +26,12 @@ read-only mode prior to deleting the old database.
First ensure there is sufficient space available for four copies of the
SQLite database:
# the primary copy, which will be upgraded
# a copy you create manually as a backup so that you can restore if you
1. the primary copy, which will be upgraded
2. a copy you create manually as a backup so that you can restore if you
discover a problem while running the new software against the upgraded
database in read-only mode. If disk space is tight, you can save this
to a different filesystem than the primary copy.
# internal copies made and destroyed by Moonfire NVR and SQLite during the
3. internal copies made and destroyed by Moonfire NVR and SQLite during the
upgrade:
* during earlier steps, possibly duplicate copies of tables, which
may occupy space both in the main database and the journal
@ -114,6 +114,8 @@ for restore; neither are easy:
know about them and will not delete them. Your disk may become full.
You should find some way to discover these files and manually delete
them.
* undo the changes by hand. There's no documentation on this; you'll need
to read the code and come up with a reverse transformation.
Once you're confident of correct operation, delete the unneeded backup: