#1 2020-09-09 03:46:32

jonnjonzzn
Member
Registered: 2020-09-07
Posts: 6

Exclude disk question?

Warning: Newbie alert! OK, what am I doing wrong? I'm trying to exclude a vmdk.

./xsibackup --backup "VMs(neth3!neth3_1.vmdk)" root@192.168.1.20:22:/mnt/backup/xsidata --quiesce --remote-path=/opt/xsibackupdc/xsibackup

2020-09-09T03:17:26 | Error code 2194 at file xsibackup.c, line 2194 | Error description: could not find any VM in list: neth3!neth3_1.vmdk

If I run as:

./xsibackup --backup "VMs(neth3)" root@192.168.1.20:22:/mnt/backup/xsidata --quiesce --remote-path=/opt/xsibackupdc/xsibackup

...it runs fine.

Thank you.

Mike

Offline

#2 2020-09-09 08:13:49

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

Re: Exclude disk question?

You have asumed that the syntax to exclude disks in DC version is the same as in Pro, when it's not.
As stated in the -exclude- section of the manual:
https://33hops.com/xsibackup-dc-full-ma … ml#exclude

Exclusions are performed via the --exclude switch.

Offline

#3 2020-09-09 14:09:53

jonnjonzzn
Member
Registered: 2020-09-07
Posts: 6

Re: Exclude disk question?

I switched to the --exclude="neth3_1.vmdk" per your advice and the manual but it still took a snapshot of the disk and appears to be trying to back it up.  That disk is on another datastore from the "system" disk for this VM if that matters.

Mike

Offline

#4 2020-09-11 11:11:09

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

Re: Exclude disk question?

Use some REGEXP that mathes the full disk path, not just the file name.

Offline

#5 2020-09-11 11:49:40

jonnjonzzn
Member
Registered: 2020-09-07
Posts: 6

Re: Exclude disk question?

Thank you for clarification.

Offline

#6 2020-09-11 18:07:18

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

Re: Exclude disk question?

Nonetheless you seem to have some sort of misconception on how snapshots work. You said "it still took a snapshot of the disk". Snapshots can't be controlled on a per disk basis, a snapshot will indeed affect all disks in a VM, excluding the disk at the backup job level is a different thing and has nothing to do with wether the snapshot is taken or not for that particular disk.

Offline

#7 2020-09-12 15:14:27

jonnjonzzn
Member
Registered: 2020-09-07
Posts: 6

Re: Exclude disk question?

I have everything configured and it is working well now.  Again, thank you for your patience and help.

Offline

Board footer