#1 2019-05-08 00:22:24

drluong
Member
Registered: 2019-05-08
Posts: 2

Onediff does not register vm the first time

I run onediff on a couple of different vm
The first time onediff finish, the vm is not register. The log said I have to register it manually but the 2nd time I run onediff, it auto register the vm.
I had been using xsibackup for years, but this newest version is the first time I experience this.
I register the software and got change the ket to license.key and put it under xsi-dir folder.
here is my job
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=OneDiff \
--host=10.1.0.198:22 \
--snapshot=doquiesce \
--backup-point=10.1.0.197:22:"/vmfs/volumes/datastore1" \
--backup-type=Running \
--backup-how=Hot \
--use-smtp=2 \
--mail-to=rluong@jupiter.com \
--backup-id=001 \
--description="" \
--on-success="backupId->401" \
--on-error="backupId->401" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"

What am I doing wrong? I would like onediff to register the vm on first run.

Thanks

Offline

#2 2019-05-08 16:47:52

admin
Administrator
Registered: 2017-04-21
Posts: 802

Re: Onediff does not register vm the first time

We know that, we may change that behaviour in future versions, but that shouldn't make a difference in any case.
--options=unreg-xsibak will unregister the VM in every backup cycle. This is convenient if you are in a vCenter context, as it might check for virtual MAC addresses duplicates even on switched off VMs.

Register the VM manually if you need to use it and try not to register VMs automatically to prevent MAC duplicates.

Offline

#3 2019-05-08 17:10:09

drluong
Member
Registered: 2019-05-08
Posts: 2

Re: Onediff does not register vm the first time

In that case, I link my backup together. After running Onediff, I linked Xsitool backup right after it. If the vm is not register, will Xsitool detect the vms to backup?

Thanks

Offline

#4 2019-05-08 17:32:03

admin
Administrator
Registered: 2017-04-21
Posts: 802

Re: Onediff does not register vm the first time

You will have to skip 1st cycle then. Set the OneDiff backup and allow VM auto registering, then start XSITools from the second cycle.

Offline

Board footer