Newest Wekan Snap docs wiki. Repo has old Snap code, newest Snap code at https://github.com/wekan/wekan , where is also more of newest WeKan docs at wiki.
I checked this way to backup/restore and to export to another server with same snap installation.
Snapshots of snaps https://snapcraft.io/docs/snapshots
Tested migration from server Ubuntu 16.04 to server Ubuntu 22.04 and vice versa.
---Backup/restore on same server---
snap save
sudo snap restore xx
-xx is set number of snapshots
-snapshots are stored in the /var/lib/snapd/snapshots
---Export to another server---
snap save
sudo snap export-snapshot xx my-snapshot1
-my-snapshot1 appears in root directory
-after that we upload this file to another server and put it in the root directory(or different, then to point path)
sudo snap import-snapshot my-snapshot1
sudo snap restore xx
reboot
I checked this way to backup/restore and to export to another server with same snap installation. Snapshots of snaps https://snapcraft.io/docs/snapshots Tested migration from server Ubuntu 16.04 to server Ubuntu 22.04 and vice versa.
---Backup/restore on same server---
snap save sudo snap restore xx
-xx is set number of snapshots
-snapshots are stored in the /var/lib/snapd/snapshots
---Export to another server---
snap save sudo snap export-snapshot xx my-snapshot1
-my-snapshot1 appears in root directory -after that we upload this file to another server and put it in the root directory(or different, then to point path)
sudo snap import-snapshot my-snapshot1 sudo snap restore xx reboot