docs: extend notes on the recommended state of services during snapshot operations#396
Conversation
…ot operations Extend notes on the recommended state of services and applications when saving or restoring snapshots. Signed-off-by: Maciek Borzecki <maciej.borzecki@canonical.com>
Mohit-Chachada
left a comment
There was a problem hiding this comment.
some minor things to consider
| 30 vlc 529ms 3.0.6 770 882kB - | ||
| ``` | ||
|
|
||
| > Before using this command, in order to ensure consistency of saved data, it is recommended to stop all applications and services of the snap (`snap stop <snap-name>`). Start them again once the snapshot has been saved. |
There was a problem hiding this comment.
| > Before using this command, in order to ensure consistency of saved data, it is recommended to stop all applications and services of the snap (`snap stop <snap-name>`). Start them again once the snapshot has been saved. | |
| > Before using this command, in order to ensure consistency of saved data, make sure to stop all applications and services of the snaps included in the snapshot (`snap stop <snap-name>`). Start them again once the snapshot has been successfully saved. |
just to keep similar wording for both of them
There was a problem hiding this comment.
oh also, snap stop <snap-name> doesn't really stop snap apps, should we recommend the reader on how to do that too?
Edit: ok we decided to leave it as is for now as there is not a direct command to kill snap apps but we think it makes sense to add one (something for future)
There was a problem hiding this comment.
dropped 'successfully', as we do not need the snapshot to be successful in order to be able to restart the apps and services
| 30 vlc 529ms 3.0.6 770 882kB - | ||
| ``` | ||
|
|
||
| > Before using this command, in order to ensure consistency of saved data, it is recommended to stop all applications and services of the snap (`snap stop <snap-name>`). Start them again once the snapshot has been saved. |
There was a problem hiding this comment.
i am inclined towards highlighting it even more using {caution} tag
| > Before using this command, in order to ensure consistency of saved data, it is recommended to stop all applications and services of the snap (`snap stop <snap-name>`). Start them again once the snapshot has been saved. | |
| ```{caution} | |
| Before using this command... | |
| \``` |
|
|
||
| Before using this command, make sure you have the snap application installed, and that its services, if any, are stopped (`snap stop <snap-name>`). | ||
| Start them again once the snapshot has been successfully restored. | ||
| > Before using this command, make sure you have the snap installed, and that its applications and services, if any, are stopped (`snap stop <snap-name>`). Start them again once the snapshot has been successfully restored. |
There was a problem hiding this comment.
same {caution} here
… snapshot operations
… snapshot operations
Extend notes on the recommended state of services and applications when saving or restoring snapshots.