INT 21h

Hi, I am Vladimir Smagin, SysAdmin, DevOps and barely good guy. Telegram Email / GIT / Микроблог / Thingiverse / RSS / GPG

How to move snap application between computers with snapshots

№ 10960 В разделе "Sysadmin" от March 29th, 2020,
В подшивках: ,

On source computer you have installed Arduino package with settings and libraries inside data directory.

Now make snapshot and check it:

>$ sudo snap save arduino --users vlad
>$ sudo snap saved
Set  Snap     Age    Version  Rev  Size    Notes
1    arduino  63.9m  1.8.12   5     161MB  -

Ok, you done here, snapshot saved to .

Install snap package to destination computer and restore snapshot:

>$ sudo snap install arduino
>$ scp turtle:/var/lib/snapd/snapshots/1_arduino_1.8.12_5.zip /var/lib/snapd/snapshots/
>$ sudo snap saved
Set  Snap     Age    Version  Rev  Size    Notes
1    arduino  66.8m  1.8.12   5     161MB  -
>$ sudo snap check-snapshot 1
Snapshot #1 verified successfully.
>$ sudo snap restore 1

You ready to run Application at new place.

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Яндекс.Метрика

Fortune cookie: There was a young lady named Rose With erogenous zones in her toes. She remained onanistic Till a foot-fetishistic Young man became one of her beaux.