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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » VM replication completes with segmentation fault » 2021-06-09 06:25:44

I can confirm that XSIBackup-DC 1.5.0.7 solved the segmentation fault issue.

I will keep that host monitored for a couple more days.

#2 Re: Feature requests & improvements » Queue an existing job » 2021-06-03 09:07:09

You are right. That was not only a way to suggest to make the cli syntax more readable, but also a call to split code.

Instead of a monolithic "xsibackup" binary, a master, light binary "xsibackup", o shorter "xsi" with real commands implemented in ad hoc binaries.

Not a new idea at all. Just to make life easier to developers and new users.

For instance:

xsi repo unlock --root=/vmfs/volumes/nfs03/replica --force

would run "bin/xsi-repo" binary with command "unlock" and "--root=/vmfs/volumes/nfs03/replica --force" options.

#3 Re: General matters » VM replication completes with segmentation fault » 2021-06-03 08:55:01

After removing the lock file from VM's target replication directory, I could successfully replicate it with xsi 1.5.0.3.

But after upgrading to xsi 1.5.0.6, last night the segmentation fault appeared again.

To switch to CBT-based replication, for further testing, do I need to clear the target replication directory, or not?

#4 Re: General matters » XSIDirector » 2021-06-03 08:49:55

Download link warns registered users to download XSIDirector from their user page, but I can't find such link as a logged-in user.

#5 Re: General matters » XSI DC 1.4.3.17: job with --replica --config-backup half works » 2021-05-14 16:59:09

I guess not. We moved PB of VM-related data for years between multiple 2- or 4-pathed iSCSI backed datastores and never lost a byte.

#6 Re: General matters » VM replication completes with segmentation fault » 2021-05-14 16:52:48

I found the .locked file. Thanks.

In the meantime

./xsibackup --check=full /vmfs/volumes/san03/vm42

finished, wrote that all replicated files are OK, but then it wrote Segmentation fault again and terminated:

SIGTERM (11) condition was trapped: check logs for more details

Cleaning up...

Segmentation fault

Logs contain no more error info than what is written to the terminal.

#7 Feature requests & improvements » Add option to check and repair in background » 2021-05-11 07:14:59

ealib
Replies: 1
xsibackup --check[=fast|full] [--run-mode=background] --mail-to[=some@email.com] /path/to/repository

xsibackup --repair [--run-mode=background] --mail-to[=some@email.com] /path/to/repository

Should detach from terminal, perform the check in background, and email a report about the check/repair.

#8 Re: General matters » XSI DC 1.4.3.17: job with --replica --config-backup half works » 2021-05-11 07:07:14

I double checked permissions, but they seem OK.

Replication target path is on a VMFS datastore connected to a multipathed iSCSI target.

#9 General matters » VM replication completes with segmentation fault » 2021-05-11 07:03:42

ealib
Replies: 6

I just found the source of a recurring error in one of my jobs.

xsibackup --replica terminates with Segmentation fault on a large VM (about 7.5TB). On next run, job terminates immediately with *** Remote directory is locked ***.

xsibackup --repair doesn't seem to work.

./xsibackup --check=full /vmfs/volumes/san03/vm42 is running just now.

Now how do you get out of that corner? Can XSI Backup handle VMs as large as that one?

#10 Re: Feature requests & improvements » Queue an existing job » 2021-05-11 06:47:02

Talking of usability and readability - maybe for xsi 2.0 or even xsi 3.0 - what about a redesigned command line with object-action pattern in mind?

xsi help

xsi host backup --file=/vmfs/volumes/nfs03/vmhost021-esxi-cfg-20210511.tgz

xsi vm backup --repo=/vmfs/volumes/nfs03/backup

xsi vm replica --repo=/vmfs/volumes/nfs03/replica --names=server01,server02,server03 --quiesce

xsi repo check --root=/vmfs/volumes/nfs03/backup

xsi repo repair --root=/vmfs/volumes/nfs03/backup

xsi repo unlock --root=/vmfs/volumes/nfs03/replica --force

xsi config add-key

xsi config export --file=/vmfs/volumes/nfs03/xsibackup-cfg-20210511.zip

et cetera.

#11 Re: Feature requests & improvements » Queue an existing job » 2021-05-11 06:30:44

Thanks.

That worked, but my feature request was for usability and readability.

Chores like that one are the source of many mistakes due to hurry, poor understanding of command line etc. Prevention is better than cure.

#12 Re: Feature requests & improvements » Queue an existing job » 2021-05-06 08:33:14

Sorry, I meant provide a new action to xsibackup to "fire and forget" a job interactively.

Maybe, **--queue** is not the right name. What about **--run**?

xsibackup --run 000

xsibackup should run in background and detach from the terminal.

#13 Feature requests & improvements » Log file readability » 2021-05-05 15:29:05

ealib
Replies: 1

Please, make the logs (more) readable/usable:

  • remove ANSI codes

  • make entries terse and avoid unnecessary decorations

  • add proper UTC timestamps to each entry

  • add option to have per-job log files

#14 Feature requests & improvements » Queue an existing job » 2021-05-05 15:23:48

ealib
Replies: 7

Please, add a --queue action to queue an existing job for execution:

./xsibackup --queue 000

xsibackup should go in background and detach from tty.

#15 Re: General matters » XSI DC 1.4.3.17: SIGTERM (11) condition was trapped » 2021-04-20 12:50:52

After ESXi host rebooted, next xsibackup run completed and sent its e-mail report.

#16 Re: General matters » XSI DC 1.4.3.17: job with --replica --config-backup half works » 2021-04-20 12:24:59

I created the cfgbak directory and, after last run of xsibackup, at least one replication job created the compressed archive with ESXi configuration data.

#17 Re: General matters » XSI DC 1.4.3.17: SIGTERM (11) condition was trapped » 2021-04-16 14:01:02

After I ran "hash -r" yesteday, today I

- checked the replicated VM: OK
- checked the xsibackup.log: OK, but contains again "SIGTERM (11) condition was trapped: check logs for more details"
- checked --mail-to mailbox: NOK, it does not contain a report for last night run

I can reboot ESXi host where XSI shows this behavior.

#18 General matters » XSI DC 1.4.3.17: job with --replica --config-backup half works » 2021-04-14 15:35:27

ealib
Replies: 12

VMkernel vmhost01.mtka.eu 6.5.0 #1 SMP Release build-17477841 Jan 17 2021 19:24:58 x86_64 x86_64 x86_64 ESXi


In --replica jobs with --config-backup, replication is performed and logged correctly, config backup, instead, is logged, but no directory/file/archive is found in the target path.

#19 General matters » XSI DC 1.4.3.17: SIGTERM (11) condition was trapped » 2021-04-14 15:31:25

ealib
Replies: 5

VMkernel vmhost01.mtka.eu 6.5.0 #1 SMP Release build-17477841 Jan 17 2021 19:24:58 x86_64 x86_64 x86_64 ESXi


In a replica job with "--mail-to=example@example.com", VMs are replicated correctly to target path, but in var/log/xsibackup.log I see an error

SIGTERM (11) condition was trapped: check logs for more details

but no report message is not mailed to example@example.com.

Which logs does xsibackup.log refer to? ESXi's?

Board footer