when executing XSIBackup-DC 184.108.40.206 for a number VMs in one command with the options --replica=cbt --options=R --quiesce --config-backup --backup-how=hot , I received the following error message for one of the replicated VMs:
Error code 1522 at file common.c, line 1522 | Error description: error running command, returned: 1
The error log did not report any additional information than that available in the regular output of XSIBackup-DC.
When having a look into the replicated directory, I can see that the files of the VM reporting the error have been replicated. However, I noticed that additional snapshot files (extension .vmsn) were present in the replicated directory from a previous replication. These superfluous files were not present in the original directory.
Could it be that XSIBackup-DC tried to delete these files, but had some issues with deleting them?
In any case, I wonder what the meaning of error code 1522 is. Furthermore, I suggest to add some information to XSIBackup-DC so that it is clear what the meaning of the error.
Some remote command is failing and returning 1 instead of 0.
Run with --debug-print to find out which is the last command that is failing and use
ssh -vvv firstname.lastname@example.org "failing command"
To debug the exact remote bash command.
Thank you very much for providing a hint as how to debug this scenario.
Unfortunately, I cannot reproduce this error again. I had some issues with extended permission settings on the NFS mounted target directory. After repairing the permissions I could execute the replication without any errors.