Snap: Difference between revisions
From DWIKI
m →FAQ Tag: wikieditor |
m →HOWTO Tag: wikieditor |
||
| Line 23: | Line 23: | ||
snap save | snap save | ||
will save snaps to /var/lib/snapd/snapshots/ | will save snaps to /var/lib/snapd/snapshots/ | ||
==Using quota groups== | |||
*https://snapcraft.io/docs/quota-groups | |||
===Limit memory usage for firefox=== | |||
snap set-quota --memory=1GB highmem firefox | |||
==Logs== | ==Logs== | ||
Revision as of 09:16, 23 May 2025
Links
HOWTO
Check if snap services running
snap services | grep active
List snaps
snap list
Totally remove snap
Managing updates
https://snapcraft.io/docs/keeping-snaps-up-to-date
Update snaps
snap refresh
Backups
Backup snaps
snap save
will save snaps to /var/lib/snapd/snapshots/
Using quota groups
Limit memory usage for firefox
snap set-quota --memory=1GB highmem firefox
Logs
snap logs nextcloud
Clean up olders snaps
https://www.debugpoint.com/clean-up-snap/
Show saved snapshots
snap saved
Remove snapshots
snap forget 11
tar: 29929/mysql/ib_logfile0: file changed as we read it
better find another way to backup up mysql snap
FAQ
Where are the snap backups stored?
/var/lib/snapd/snapshots
cannot refresh snap "snapd": snap has no updates available
Probably not an error at all.
