Looking for cli alternative to built in borg restore
Before restores started being an issue, whenever the containers wouldn’t start I would just restore from the most recent backup and be back online. But now that this error is a bug:
The borg restore failed with this error:
fuse: mount failed: Permission denied
Could not mount the backup!
restoring from the admin interface is impossible.
Now today I started NC and the containers wouldn’t start. I did nothing special yesterday and ncdata is mounted and the logs don’t indicate anything of significance that I can see.
Instead of spending days trying to troubleshoot, is it still possible to restore the last backup but through the command line? If so, then what commands do I use for this? Keep in mind that whenever I try an occ or php command I’m told that both commands aren’t found even if I run them from the NC installation folder.
Basically a continuation of this post:
Go there if you want specs of my system
Nextcloud version 7.11.0
Operating system and version Ubuntu 22.04
Apache or nginx version unknown. OS says apachectl and http command not found
PHP version (eg, 7.4) : unknown. OS says php command not found
My installation folder (I believe):