F5F Stay Refreshed Power Users Networks : Cloning Boot Drive for a Remote Computer Using Linux Mint 22

: Cloning Boot Drive for a Remote Computer Using Linux Mint 22

: Cloning Boot Drive for a Remote Computer Using Linux Mint 22

T
The_Hidden_
Junior Member
13
08-03-2022, 05:16 AM
#1
Hello all.
I am wanting to clone the boot drive of my Plex/backup machine running Linux Mint 22.
The machine is single boot.
This machine obviously runs headless as I either SSH or VNC into when needed.
I know I can disconnect the machine, use a Clonezilla USB and clone the boot drive.
My question is, how can I do this remotely? I have looked around online and there does not appear to be a way yo do this.
I regularly make a Timeshift backup, is this good enough?
Thanks.
Here are the system specs if this helps.
Code:
System:
Kernel: 6.8.0-87-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
Desktop: Cinnamon v: 6.4.8 Distro: Linux Mint 22.2 Zara
base: Ubuntu 24.04 noble
Machine:
Type: Desktop Mobo: AZW model: MINI S serial: <superuser required>
UEFI: American Megatrends LLC. v: ADLNV105 date: 12/12/2023
CPU:
Info: quad core model: Intel N100 bits: 64 type: MCP arch: Alder Lake rev: 0
cache: L1: 384 KiB L2: 2 MiB L3: 6 MiB
Speed (MHz): avg: 1346 high: 2008 min/max: 700/3400 cores: 1: 700 2: 2008
3: 1976 4: 700 bogomips: 6451
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Alder Lake-N [UHD Graphics] driver: i915 v: kernel
arch: Gen-12.2 bus-ID: 00:02.0
Display: server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: swrast gpu: i915 resolution:
1: 2560x1440~120Hz 2: 2560x1440~120Hz
API: EGL v: 1.5 drivers: swrast platforms: active: x11,surfaceless,device
inactive: gbm,wayland,device-0
API: OpenGL v: 4.5 vendor: mesa v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4
direct-render: yes renderer: llvmpipe (LLVM 20.1.2 256 bits)
Audio:
Device-1: Intel Alder Lake-N PCH High Definition Audio driver: snd_hda_intel
v: kernel bus-ID: 00:1f.3
API: ALSA v: k6.8.0-87-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active
Network:
Device-1: Intel CNVi: Wi-Fi driver: iwlwifi v: kernel bus-ID: 00:14.3
IF: wlo1 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
driver: r8169 v: kernel port: 3000 bus-ID: 01:00.0
IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB
bus-ID: 1-10:2
Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: disabled
rfk-block: hardware: no software: yes address: <filter>
Drives:
Local Storage: total: 9.61 TiB used: 1.46 TiB (15.2%)
ID-1: /dev/nvme0n1 model: 512GB SSD size: 476.94 GiB temp: 32.9 C
ID-2: /dev/sda vendor: TeamGroup model: T-FORCE 2TB size: 1.86 TiB
ID-3: /dev/sdb vendor: Seagate model: ST8000NM017B-2TJ103 size: 7.28 TiB
type: USB
Partition:
ID-1: / size: 467.89 GiB used: 19.51 GiB (4.2%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 40.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.4 GiB used: 982.2 MiB (6.2%)
Processes: 194 Uptime: 23h 31m Init: systemd target: graphical (5)
Packages: 2184 Compilers: gcc: 13.3.0 Shell: Bash v: 5.2.21 inxi: 3.3.3
T
The_Hidden_
08-03-2022, 05:16 AM #1

Hello all.
I am wanting to clone the boot drive of my Plex/backup machine running Linux Mint 22.
The machine is single boot.
This machine obviously runs headless as I either SSH or VNC into when needed.
I know I can disconnect the machine, use a Clonezilla USB and clone the boot drive.
My question is, how can I do this remotely? I have looked around online and there does not appear to be a way yo do this.
I regularly make a Timeshift backup, is this good enough?
Thanks.
Here are the system specs if this helps.
Code:
System:
Kernel: 6.8.0-87-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
Desktop: Cinnamon v: 6.4.8 Distro: Linux Mint 22.2 Zara
base: Ubuntu 24.04 noble
Machine:
Type: Desktop Mobo: AZW model: MINI S serial: <superuser required>
UEFI: American Megatrends LLC. v: ADLNV105 date: 12/12/2023
CPU:
Info: quad core model: Intel N100 bits: 64 type: MCP arch: Alder Lake rev: 0
cache: L1: 384 KiB L2: 2 MiB L3: 6 MiB
Speed (MHz): avg: 1346 high: 2008 min/max: 700/3400 cores: 1: 700 2: 2008
3: 1976 4: 700 bogomips: 6451
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Alder Lake-N [UHD Graphics] driver: i915 v: kernel
arch: Gen-12.2 bus-ID: 00:02.0
Display: server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: swrast gpu: i915 resolution:
1: 2560x1440~120Hz 2: 2560x1440~120Hz
API: EGL v: 1.5 drivers: swrast platforms: active: x11,surfaceless,device
inactive: gbm,wayland,device-0
API: OpenGL v: 4.5 vendor: mesa v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4
direct-render: yes renderer: llvmpipe (LLVM 20.1.2 256 bits)
Audio:
Device-1: Intel Alder Lake-N PCH High Definition Audio driver: snd_hda_intel
v: kernel bus-ID: 00:1f.3
API: ALSA v: k6.8.0-87-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active
Network:
Device-1: Intel CNVi: Wi-Fi driver: iwlwifi v: kernel bus-ID: 00:14.3
IF: wlo1 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
driver: r8169 v: kernel port: 3000 bus-ID: 01:00.0
IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB
bus-ID: 1-10:2
Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: disabled
rfk-block: hardware: no software: yes address: <filter>
Drives:
Local Storage: total: 9.61 TiB used: 1.46 TiB (15.2%)
ID-1: /dev/nvme0n1 model: 512GB SSD size: 476.94 GiB temp: 32.9 C
ID-2: /dev/sda vendor: TeamGroup model: T-FORCE 2TB size: 1.86 TiB
ID-3: /dev/sdb vendor: Seagate model: ST8000NM017B-2TJ103 size: 7.28 TiB
type: USB
Partition:
ID-1: / size: 467.89 GiB used: 19.51 GiB (4.2%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 40.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.4 GiB used: 982.2 MiB (6.2%)
Processes: 194 Uptime: 23h 31m Init: systemd target: graphical (5)
Packages: 2184 Compilers: gcc: 13.3.0 Shell: Bash v: 5.2.21 inxi: 3.3.3

M
MasterHD7
Senior Member
340
08-03-2022, 06:06 AM
#2
Do you possess SSH access, and if yes, may I execute "sudo -s"? If applicable, combining rsync with dd via SSH can achieve your objectives. Both tools support SSH communication.
M
MasterHD7
08-03-2022, 06:06 AM #2

Do you possess SSH access, and if yes, may I execute "sudo -s"? If applicable, combining rsync with dd via SSH can achieve your objectives. Both tools support SSH communication.