In case it is useful for anyone else, this is what I have come up with so far. I have two partitions mounted from the other drive in the box at /big_data and /sys_archive
It's pretty fast and hopefully stores everything I need. I can remove old .fsa files as I go but the first one is only 1.4G so I have a lot of space to play with (250G partition). Perhaps snapshots (timeshift?) would be more elegant but I can start thinking about that now that I have something working.
I have not yet un-archived one of these compressed system archives but I assume what is required is to build a new disk with approximately the right partition sizes and empty it into those. Does anyone here have any experience doing this?
Code:
# for home directoryrsync -axHAWXS --numeric-ids --info=progress2 --exclude="lost+found" /home/* /big_data/home# for system settingssudo rsync -axHAWXS --numeric-ids --info=progress2 /etc/* /big_data/etc# complete system archive - boot, root, homesudo fsarchiver savefs /sys_archive/system-backup.fsa /dev/sdb1 /dev/mapper/oito--vg-root /dev/mapper/oito--vg-home -v -j4 -A
I have not yet un-archived one of these compressed system archives but I assume what is required is to build a new disk with approximately the right partition sizes and empty it into those. Does anyone here have any experience doing this?
Statistics: Posted by hopster — 2024-04-08 21:13