@ronivay,
I resolved my problem with orchestra which did not want to make backup with NFS.
Orchestra wrote errors like:
Command failed with exit code 1: mount -o -t nfs 192.168.11.53:/backups/xo /run/xo-server/mounts/0e5e9511-8912-48d4-96ad-532979533332 mount: only root can use "--options" option
In general, orchestra tried to use mount option "--options" but mount command rejected this option.
When I mount my NFS-shares manually everything was ok - mount works, read-write too, umount also.
I did simplest process. I removed at all "--options" from mount command. (As far as I understand, *BSD mount will not work without this option but my Ubuntu works).
Background:
xcp-ng server (centos 8.2) as NFS server
ubuntu server 16.04 where orchestra is going to be placed
Orchestra installed 10 days ago from sources according to https://xen-orchestra.com/docs/installation.html#from-the-sources
I complete followed document before chapter "Installing dependencies".
I made
yarn
Then, before "yarn build", I manually edited file:
/opt/xen-orchestra/@xen-orchestra/fs/src/_mount.js
at string 68 I replaced
await this.#execa('mount', ['-o', options, '-t', type, device, realPath], {
with
await this.#execa('mount', ['-t', type, device, realPath], {
I then proceeded to follow the instructions:
yarn build
a so on...
Now "patched" orchestra fine makes any kind of backup with NFS.
At least, I solved this problem.
Yet another question appeared as backup works
What kind of Backup should I use to make full copy which enough for restoring (Heaven forbid)?
I tried simply "Backup". It SUCCESSFULLY (!) created several files with 56 kbytes (no giga, no mega but kilo). I suppose it abnormal. My VM has got 20 Gb of disk space and about one half is already used (ubuntu server, postgres etc).
As far as I understand (https://xcp-ng.org/forum/topic/7034/backup-with-local-usb-hdd-attached-sr_operation_not_supported/5?_=1688120707451) my version of xcp-ng (8.2.1) does not support "Snapshots" with local disks.
Now I copy imagine of my VM with cron as temporary option but may be there is some more correct backup option?