Notes
Notes August 9 2024
I've been over the code for the debian process what seems like a hundred times. In any case Arch will be tackled next and worked over. This program does indeed what it should do. I want to add support for custom steps during the restore. So it can run additional commands to do whatever might be needed.
Notes May 31 2024
More wiki updates for now. Arch gets the rsync based /etc overwrite handling fix. Means as part of restore on Arch rsync will be installed. Flatpak support will likely never come along as this is inteded and designed for VPS type systems and Raspberry Pis. Arch support will remain and was really added as it seemed like a great idea at the time thing. OpenWRT, will be a pain to test properly as I will need couple of test systems as VMs. I don't need them to conflict with my live network either so I'll see how I can sandbox them.
Notes May 28 2024
Well, I fixed the /etc overwrite issue I had. Turns out cp is just not the proper tool. I've added into the restore process a install of rsync. Which is then used to handle restore of /etc. Making a final release now. I will replace the rsync bit with something writen in straight up bash perhaps, but not at this ver moment.
Notes May 24 2024
Wiki time! Yes, learning how to work the markdown to make me a wiki. I think so far we are at a good start, having moved some readme stuff to here. No master work yet, but we will get there.
Notes May 23 2024
Well, I was omitting restore.lib.bash. Not required, but can make some things allot faster. I fixed that and attempted to address some potential CP issues. My tests finish allot faster now that restore.lib is part of the package. I feel silly for not having looked at that, but ok. I'm adding code to verify that /etc gets replaced properly. From may testing it didn't and it caused me some minor problems when using it on a VPS.
Notes May 21 2024
So allot more testing and work has gotten this thing running well. Debian based is the best supported. Though Arch did work according to my tests. I will need do testing for OpenWRT at a more intensive level though. Either way most of my VM based tests worked. A few minor tweaks such as putting apt into noninteractive. My copy of /etc in the end was a -R not a -Rf, this has been changed even for apt.
Notes Feb 22 2024
I spent all day testing this with VMs and found a problem that would prevent my code from running properly. Turns out if the system has no manually downloaded and installed packages, the line below causes awk to hang waiting for input.
apt list --installed | grep ',local]' | awk -F/ '{print $1}' >> $tmpdir/exclusions
Now I tried to use timeout and well that didn't work. After many hours I figured lets toss the line at chatgpt maybe it comes up with something I overlooked and it did. Simply check for output first, wow I was adding all the crazy debug code to all parts of this thing and overlooked that. It suggested a fix which wasn't elegant, but appears to work. Hopefully, this resolves a few issues. Next up maybe some tweaks to exclusions to speed the process up.
Notes Oct 29 2023
I've been at it adding a few tweaks here or there. Trying to add a good system for exclusions to make things more protable. While the current version works great on say VPS running the same base image, its not so good on different ones. This is due to some packages perhaps having different names like kernel images, modules and headers. This also includes things installed from a single package file you downloaded that isn't in a repo. Technically not bugs, but I want more flexibility.