NAUbackup / VmBackup

XenServer simple backup script
228 stars 61 forks source link

Xenserver 7.3 Error XenAPI with password #67

Closed pisda closed 6 years ago

pisda commented 6 years ago

Hi, Usage xenserver 7.3 I have a problem with passwords. I have created the password but when I launch the backup VmBackup.py <mypassword I get the following error: ['SESSION_AUTHENTICATION_FAILED', 'root', 'Authentication failure'] ERROR - XenAPI authentication error I use the latest xenapy. Thank you

pisda commented 6 years ago

Hi, If I try the configuration without a password I have this result: NAUbackup]# ./VmBackup.py SERVERVM preview 2018-02-08-(16:01:01) - ***WARNING - vm not found: vm-export=preview 2018-02-08-(16:01:01) - VmBackup config loaded from: preview 2018-02-08-(16:01:01) - VmBackup.py running with these settings: 2018-02-08-(16:01:01) - backup_dir = /run/sr-mount/735e92aa-fb1d-2a73-ae33-21d5366595f5/snapshots/VMBACKUPS 2018-02-08-(16:01:01) - status_log = /run/sr-mount/735e92aa-fb1d-2a73-ae33-21d5366595f5/snapshots/NAUbackup/status.log 2018-02-08-(16:01:01) - compress = False 2018-02-08-(16:01:01) - max_backups = 4 2018-02-08-(16:01:01) - vdi_export_format = raw 2018-02-08-(16:01:01) - pool_db_backup = 0 2018-02-08-(16:01:01) - exclude (cnt)= 0 2018-02-08-(16:01:01) - exclude: 2018-02-08-(16:01:01) - vdi-export (cnt)= 0 2018-02-08-(16:01:01) - vdi-export: 2018-02-08-(16:01:01) - vm-export (cnt)= 0 2018-02-08-(16:01:01) - vm-export: 2018-02-08-(16:01:01) - ERROR no VMs loaded Thanks

pisda commented 6 years ago

Resolved sorry for the password to use is the root of the xen. I was convinced to create an ad-hoc password. : - |: - | I'm an idiot. P.S .: the restore of the Vm work very well.

NAUbackup commented 6 years ago

No problem, glad you got it sorted out! Will close this for now.