I'm running a dual-boot Ubuntu & Windows 10 Pro configuration. Before re-installing Windows I made 2 full backups with TAR and SquashFS of / with the following commands:
SquashFs:
sudo mksquashfs / /media/dennis/Backup_SSD/Ubuntu_N580VD_Backup.sqsh -e media dev run mnt proc sys tmp
TAR:
sudo tar czf /media/dennis/Backup_SSD/Ubuntu_N580VD_Backup.tar.gz --exclude=/backup.tar.gz --exclude=/dev --exclude=/mnt --exclude=/media --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found /
After re-installing Windows Ubuntu failed to boot:
tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x201] vs fed40080 f80
Couldn't get size: 0x800000000000000e
PKCS#7 signature not signed with a trusted key
So I re-installed Ubuntu on sda6 and now it's booting again. But how do I replace the content of the fresh install on partition sda6 with the content of my .tar.gz or .squashfs backup files?
sda 238.5G
├─sda1 ntfs 499M | Recovery
├─sda2 vfat 100M | Boot (EFI)
├─sda3 16M | Microsoft reserved
├─sda4 ntfs 137.4G | Windows
├─sda5 swap 4G | SWAP
└─sda6 ext4 96.5G | Ubuntu
/boot
and/
if on separate partitions, but a bad system for data files. I useborgbackup
butbackintime
anddejadup
are good as well and were my previous data backup programs)
borgbackup` is a compressing deduplicating* backup program, and a PPA was created a short while ago... – Fabby Jan 02 '19 at 11:25