I wish to use KopiaUI 90% of the time. Then use Kopia command line for maintenance tasks.
Problem example: This is what happens when I try to use apt install for my Ubuntu type distro. And yes, I had believed the Kopia repository was already installed.
sudo apt install kopia
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package kopia
Same thing with Windows. How do I gain access to those non GUI commands?
On my windows 11 system where I installed koipiaui, I found the kopia executable at the following location:
“C:\Users\[username]\AppData\Local\Programs\KopiaUI\resources\server\kopia.exe”
Thanks for the clue. performed a search on the Windows box and found it… Wasn’t totally certain the command line component was already installed. That’s why I was attempting a new install.
Kopia UI installs into Linux through the normal repositories, but when you attempt to install Kopia command line through the app’s repository - it sends many things into the wrong folders. I can’t get Kopia’s app-get to work at all for me. Perhaps I’ll get lucky and find that the command line version is already installed Thanks to you.
After installing the kopia CLI (sudo apt install kopia), I found it in /usr/bin/kopia
Now, looking at your error above, I suspect there is some junk in the file /etc/apt/sources.list.d/kopia.list
When you first ran “curl -s https://kopia.io/signing-key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/kopia-keyring.gpg”, are you sure it completed ok? On my fresh system, I got an error that curl needed to be installed so I had to do that first prior in order for this command to sucessfully complete.
Arrgh. Ran into so many problems with the Linux install - set it aside for now.
I am running verify on the windows box and it’s turning up a few errors like this: error reading object Ix05fc847b7a55f9f6d558a9f6480c3885: unable to read data: unexpected content error: invalid checksum at pf5dd84bfb38cd08b5dff9b94b8108c95-s3fb22b878abee0d912b offset 6421820 length 2132136/2132136: decrypt: unable to decrypt content: cipher: message authentication failed
Processed 16517 objects.
Finished processing 16528 objects.
ERROR error reading object Ix05fc847b7a55f9f6d558a9f6480c3885: unable to read data: unexpected content error: invalid checksum at pf5dd84bfb38cd08b5dff9b94b8108c95-s3fb22b878abee0d912b offset 6421820 length 2132136/2132136: decrypt: unable to decrypt content: cipher: message authentication failed
I’ve successfully cleared one of these errors by deleting the bad file then resnapshotting prior to re-verify. But the “cure” was very inelegant, and I can’t remember exactly what I did to make it go away
I wish that kopia would just log errors then continue, but that does not seem to be an option.
Do know that the “ignore errors” field within kopiaui does work, because I’ve had no problems executing a full restore.
After a fix, then a full maintenance…I now have another error.
unexpected content error: invalid checksum at p9c2f2fb63170c3df74bff25b52ade7a7-sadf36634d393826012b offset 32 length 41730/41730: decrypt: unable to decrypt content: cipher: message authentication failed
I’m beginning to wonder if these are just intermittent bad reads from the repository which kopia interprets as a complete failure. When in reality, windows runs accross bad reads all the time, dealing with them by simply reading again and marking the block for replacement. The OS itself performs this defect mangement. The built in SMART defect management on most disks seems to be crippled to prevent excessive returns.
Accordingly, I would certainly like some way to set the number of seek retries before Kopia gives up? Because it does seem to me that Kopia in real life is unusable.
Also need a checkbox for “logging all errors” then continue. Kopia as currently constituted just stops,