Skip to content

docs: extend notes on the recommended state of services during snapshot operations#396

Merged
bboozzoo merged 3 commits into
canonical:mainfrom
bboozzoo:bboozzoo/snapshots-notes
Jun 26, 2026
Merged

docs: extend notes on the recommended state of services during snapshot operations#396
bboozzoo merged 3 commits into
canonical:mainfrom
bboozzoo:bboozzoo/snapshots-notes

Conversation

@bboozzoo

Copy link
Copy Markdown
Contributor

Extend notes on the recommended state of services and applications when saving or restoring snapshots.

…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 Mohit-Chachada left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> 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

@Mohit-Chachada Mohit-Chachada Jun 25, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am inclined towards highlighting it even more using {caution} tag

Suggested change
> 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same {caution} here

@bboozzoo bboozzoo requested a review from maykathm June 26, 2026 06:05

@maykathm maykathm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@bboozzoo bboozzoo merged commit 381929e into canonical:main Jun 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants