Snap: Difference between revisions

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


=Links=
=Links=
*https://www.freecodecamp.org/news/managing-ubuntu-snaps/ How to manage Ubuntu Snaps: the stuff no one tells you]
*[https://www.freecodecamp.org/news/managing-ubuntu-snaps/ How to manage Ubuntu Snaps: the stuff no one tells you]
*[https://www.cyberithub.com/36-popular-snap-command-examples-in-linux/ Snap command examples]


=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/
==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.

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.