INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. 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: A farmer I know named O'Doole Had a long and incredible tool. He can use it to plow, Or to diddle a cow, Or just as a cue-stick at pool.