mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-04-13 15:59:41 -04:00
fix several formatting problems in upgrade guide
This commit is contained in:
parent
529aad9982
commit
7566b6a38b
@ -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
|
First ensure there is sufficient space available for four copies of the
|
||||||
SQLite database:
|
SQLite database:
|
||||||
|
|
||||||
# the primary copy, which will be upgraded
|
1. the primary copy, which will be upgraded
|
||||||
# a copy you create manually as a backup so that you can restore if you
|
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
|
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
|
database in read-only mode. If disk space is tight, you can save this
|
||||||
to a different filesystem than the primary copy.
|
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:
|
upgrade:
|
||||||
* during earlier steps, possibly duplicate copies of tables, which
|
* during earlier steps, possibly duplicate copies of tables, which
|
||||||
may occupy space both in the main database and the journal
|
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.
|
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
|
You should find some way to discover these files and manually delete
|
||||||
them.
|
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:
|
Once you're confident of correct operation, delete the unneeded backup:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user