#1 2020-02-03 12:45:41

lievenmoors
Member
Registered: 2018-11-21
Posts: 28

xsibackup is trying to backup every folder in the same dir as *.vmdk

This is the backup command I'm using:

/vmfs/volumes/5939.../xsi/xsibackup \
--backup \
"/vmfs/volumes/5939.../aqua" \
"/vmfs/volumes/593f.../xsibackup-repo/" \
--exclude="aqua_[12]-flat.vmdk" \
--block-size=50M \
--compression=yes \
--rotate=5 \
>> /vmfs/volumes/5939.../xsi/var/log/xsibackup.log 2>&1

One of the disks of the VM called "aqua" resides on the 593f... VMFS:

/vmfs/volumes/Backup/aqua_1.vmdk

I was expecting that Xsibackup would try to backup the VM, and all related disks.
But now I see that it is trying to backup EVERY folder on 593f.. VMFS.

And that includes the whole backup itself: /vmfs/volumes/593f.../xsibackup-repo/

Is this supposed to happen, or not?

Thanks for your help.

lieven

Last edited by lievenmoors (2020-02-03 12:46:28)

Offline

#2 2020-02-03 12:58:52

lievenmoors
Member
Registered: 2018-11-21
Posts: 28

Re: xsibackup is trying to backup every folder in the same dir as *.vmdk

I don't understand, but when I look in the backup folder I see this:

ls /vmfs/volumes/Backup/xsibackup-repo/20200203090947/

0                                    4                                    7                                    aqua                               e
1                                    5                                    8                                    b                                    f
2                                    593f...                            9                                     c                                    terra
3                                    6                                    a                                     d                                    xsibackup-repo

It seems that the subfolders from the data folder are being backed up to seperate folders.

I think there might be some recursion going on.

Last edited by lievenmoors (2020-02-03 13:01:44)

Offline

#3 2020-02-03 18:57:00

admin
Administrator
Registered: 2017-04-21
Posts: 1,363

Re: xsibackup is trying to backup every folder in the same dir as *.vmdk

We aren't quite sure of being fully getting what you are trying to explain.
Do you mean that one of the disks in the VM you are trying to backup resides in the folder where you are actually backing up?
To backup VMs you should use this syntax to select the VMs: "VMs(VM1,VM2,VM3)"

Please contact support with all the details: backup job, .vmx file content and output.

Offline

#4 2020-02-04 08:35:17

lievenmoors
Member
Registered: 2018-11-21
Posts: 28

Re: xsibackup is trying to backup every folder in the same dir as *.vmdk

Ok I will do that...

Let me try to clarify things anyway.

I have two VMFS-5 filesystems

/vmfs/volumes/A
/vmfs/volumes/B

The VM I'm trying to backup has its own subfolder on A:

/vmfs/volumes/A/my_vm/

But that VM has second disk located on B.

/vmfs/volumes/B/disk2.vmdk

As you can see, it doesn't have a parent directory with the name of the VM.

Now I try to backup that VM with:

xsibackup /vmfs/volumes/A/my_vm /vmfs/volumes/B/my_backup_folder/

What happens is that xsibackup starts copying the WHOLE of /vmfs/volumes/B
to /vmfs/volumes/B/my_backup_folder.

And using the VMs() function does the same thing.

Last edited by lievenmoors (2020-02-04 08:44:52)

Offline

#5 2020-03-05 16:40:55

admin
Administrator
Registered: 2017-04-21
Posts: 1,363

Re: xsibackup is trying to backup every folder in the same dir as *.vmdk

Rename the spare disk and place it in its own folder named after the VM

Offline

Board footer