©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2021-04-09 20:13:48

marcoi
Member
Registered: 2017-04-24
Posts: 9

Reg Exp and Date functions work in DC?

Just started my testing of DC in esxi 7.x host.

Do the follow options still work in DC like the older xsiback tool?

1. backup-vms="REGEXP(^PROD)" to select VMs back on reg expression.
2. backup-point=/vmfs/volumes/FN_VM_Backup_3TB/xsibackup/Full/$(date +%U)  to rotate my backup using folders with date functions

Thanks

Update seems like i can still use $(date +%U) with testing.

Last edited by marcoi (2021-04-09 20:53:35)

Offline

#2 2021-04-10 08:53:23

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: Reg Exp and Date functions work in DC?

Yes, there is a regexp option and you can use any expansion or variable in the command line, although the --backup-point option does not exist, now the target is passed by position: 1st arguments is action, 2nd argument is source and 3rd is target, the rest of the options follow in any order.

Offline

#3 2021-06-16 10:32:55

Int
Member
Registered: 2017-12-05
Posts: 58

Re: Reg Exp and Date functions work in DC?

The documentation only explains the optional regexp pattern to exclude disks from the backup.

Could you please add how to use regexp pattern for the source selection to
https://33hops.com/xsibackup-dc-full-ma … tml#source

Offline

#4 2021-06-17 07:57:24

Int
Member
Registered: 2017-12-05
Posts: 58

Re: Reg Exp and Date functions work in DC?

admin wrote:

Yes, there is a regexp option

could you please explain how to use regexp for VMs source selection in XSIBackup-DC?

I tried different variants like --backup "VMs(REGEXP(^PROD))", --backup "REGEXP(^PROD)", ...
none of them works.

Offline

#5 2021-06-18 08:21:00

Int
Member
Registered: 2017-12-05
Posts: 58

Re: Reg Exp and Date functions work in DC?

Could you please answer my question about how to use regexp for VMs source selection in XSIBackup-DC?

I am currently in the process of migrating from XSIBackup-Pro Classic to XSIBackup-DC Datacenter Edition.
I would like to use the regular expression for VM selection that I established in XSIBackup-Pro Classic.
If this does not work I would have to manually create large lists of VMs, which I would like to avoid.

Offline

Board footer