This is how the file system looks like after booting from a live USB media. Not sure how to save all these, in the first place, then how to later merge the saved parts with some other file system from another PC.
ubuntu@ubuntu:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.8G 1 loop /rofs
loop1 7:1 0 87.9M 1 loop /snap/core/5662
loop2 7:2 0 140.9M 1 loop /snap/gnome-3-26-1604/70
loop3 7:3 0 2.3M 1 loop /snap/gnome-calculator/238
loop4 7:4 0 13M 1 loop /snap/gnome-characters/124
loop5 7:5 0 14.5M 1 loop /snap/gnome-logs/45
loop6 7:6 0 3.7M 1 loop /snap/gnome-system-monitor/57
loop7 7:7 0 42.1M 1 loop /snap/gtk-common-themes/701
sda 8:0 0 477G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 96.6G 0 part
├─sda3 8:3 0 859M 0 part
├─sda4 8:4 0 450M 0 part /media/ubuntu/A0F008E8F008C70E
├─sda5 8:5 0 200.1G 0 part /media/ubuntu/i7 200 GB
└─sda6 8:6 0 178.9G 0 part /media/ubuntu/i7 170 GB
sdb 8:16 1 3.7G 0 disk /cdrom
├─sdb1 8:17 1 1.9G 0 part
└─sdb2 8:18 1 2.4M 0 part
sdi 8:128 1 7.5G 0 disk
└─sdi1 8:129 1 7.5G 0 part /media/ubuntu/HAMA 8 GB
ubuntu@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 1.9M 3.2G 1% /run
/dev/sdb 1.9G 1.9G 0 100% /cdrom
/dev/loop0 1.8G 1.8G 0 100% /rofs
/cow 16G 1.1G 15G 7% /
tmpfs 16G 1.3G 15G 8% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
tmpfs 16G 4.1M 16G 1% /tmp
tmpfs 3.2G 68K 3.2G 1% /run/user/999
/dev/loop1 88M 88M 0 100% /snap/core/5662
/dev/loop2 141M 141M 0 100% /snap/gnome-3-26-1604/70
/dev/loop3 2.3M 2.3M 0 100% /snap/gnome-calculator/238
/dev/loop4 13M 13M 0 100% /snap/gnome-characters/124
/dev/loop5 15M 15M 0 100% /snap/gnome-logs/45
/dev/loop6 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
/dev/loop7 43M 43M 0 100% /snap/gtk-common-themes/701
/dev/sda6 179G 170G 9.2G 95% /media/ubuntu/i7 170 GB
/dev/sda5 201G 155G 46G 78% /media/ubuntu/i7 200 GB
/dev/sda4 450M 320M 131M 71% /media/ubuntu/A0F008E8F008C70E
/dev/sdi1 7.6G 5.6G 2.0G 74% /media/ubuntu/HAMA 8 GB
ubuntu@ubuntu:~$
sda - is a local hard disk of my dev PC, it does not need to be saved on USB, it's unrelated to this topic
sdb - is the installation media that was booted in live mode, an USB stick with the standard installation ISO for Ubuntu 18.10 on it
sdi - an USB where to save everything in order to be transported on the field, to another PC
The whole PC is to be used as a tool to program various equipment/devices on the field. Mostly, to deploy some settings in some PLC-like equipment. Once those devices are programmed/configured, the devices can run by themselves, and the PC can be shut down. The whole problem is how to take the software from my laptop, then deploy it on the field, on another PC with different hardware. Re-installing everything on the field PC starting from the DVD and all the extra deb packages required is not an option.
Later edit:
A virtual machine will be like using my own laptop, not allowed. I don't want workarounds to their security policy. All I want is to save whatever I installed on a live Ubuntu, then restore it later on another PC with live Ubuntu.
How can I save/restore all the changes made in a live session?