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:
Restoring ‘20240125_030148-nextcloud-aio’…
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:
https://help.nextcloud.com/t/problem-accessing-nas-drives-from-nc-virtualbox-after-crash/180223/3
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):
/var/lib/docker/volumes/nextcloud_aio_nextcloud/_data