Snap: Difference between revisions

From DWIKI
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:


=HOWTO=
=HOWTO=
==Backup snaps==
==Check if snap services running==
snap services | grep active
 
==List snaps==
snap list
 
==Totally remove snap==
*[https://www.debugpoint.com/remove-snap-ubuntu/ How to Remove Snap Packages in Ubuntu Linux]
 
==Managing updates==
https://snapcraft.io/docs/keeping-snaps-up-to-date
===Update snaps===
snap refresh
 
==Backups==
===Backup snaps===
  snap save
  snap save
will save snaps to /var/lib/snapd/snapshots/
will save snaps to /var/lib/snapd/snapshots/
===tar: 29929/mysql/ib_logfile0: file changed as we read it===
better find another way to backup up mysql snap


==Clean up olders snaps==
==Logs==
snap logs nextcloud
===Clean up olders snaps===
https://www.debugpoint.com/clean-up-snap/
https://www.debugpoint.com/clean-up-snap/


==Show saved snapshots==
===Show saved snapshots===
  snap saved
  snap saved
==Remove snapshots==
===Remove snapshots===
  snap forget 11
  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.

Latest revision as of 10:11, 24 April 2024

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/

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.