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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1651 Re: General matters » Mail fails to send upon completion » 2018-07-24 17:11:42

Please, read the documentation: [url]https://33hops.com/xsibackup-smtp-client.html[/url]

The XSIBackup SMTP client manages GMail accounts in a different module and it adds some delay automatically.
We have tested it with GMail through the years and it works O.K., many users report it to work O.K. with GMail and have no problems in general. We have not had this kind of problems reported for a long time.

Do you have some special character in the password?
It looks like some error in the SMTP protocol conversation. As everything else is hardcoded, the issue must be caused by some of the variable strings. As most of the fields must follow a pre stablished format, like the e-mail addresses, most of the times a password with some weird unescaped characters causes this.

#1652 Re: General matters » Backup 11.0.1 free version - cron does not work (solved) » 2018-07-24 12:10:25

You are describing the procedure outlined in the version documentation

[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]

To anybody else reading this post. Please, do read the product manual, release notes and change log before attempting to use the program.

#1653 Re: General matters » Backup 11.0.1 free version - cron does not work (solved) » 2018-07-20 12:01:59

[quote=admin](*) Please, note that this post is fairly old and that (c)XSIBackup has evolved to a next generation of [url=https://33hops.com/xsibackup-vmware-esxi-backup.html](c)VMWare (c)Backup software[/url]. It follows the same design principles as (c)XSIBackup Classic, yet it's much more powerful.

You can still download (c)XSIBackup Classic, although it's older software and only compatible with (c)ESXi up to version 6.7U3
[/quote]

Getting it to work is fairly simple, just as long as you follow the right procedure:

[b]1 - You need a runnig crond service, right?.[/b]

The ESXi crond daemon can be picky, as it lacks any service control scripts or management mechanism, you need to manage it manually as any other linux binary, so start by making sure that it's loaded just once.

ps -c | grep -v grep | grep 'busybox crond'

If you see more than one line in the output, kill all and start it again, just once of course. Getting nervous and double firing things might work half way in Windows, but ESXi is just a bare kernel, so just execute once and verify.

/usr/lib/vmware/busybox/bin/busybox crond

Everything is explained in more detail here: [url]https://33hops.com/xsibackup-cron-how-to.html[/url]
If you can, just reboot the server, it will produce the same effect.

You just need to get used to how this ESXi busybox cron daemon works, it's primitive but effective. In regards to how XSIBackup uses it, it's quite simple: jobs are simply called from [b]/var/spool/cron/crontabs/root[/b], it's in fact simpler than the old XSIBackup cron.

So, make sure that you have the entries that you want there. You can check the cron is working by just adding a line like this to your crontab at: [b]/var/spool/cron/crontabs/root[/b]

*/1 * * * * echo "$(date)" >> /tmp/my-cron-test.txt

You should then see a line being recorded there every minute, you can use this command in a different window:

tail -f /tmp/my-cron-test.txt

[b]2 - You need to make sure you have a line in your crontab that points to a working backup job[/b]

You already checked that your job is running, so make sure that is has the right syntax, please read:
[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]

-------

That's all, if your crond service is running and it's pointing to the right place, you got it. If your job crond is working and you get no output, then the output might not be where you think it is, just double check the .log file redirection in the last line of the job file.

#1654 Re: General matters » Problem getting XSIBackup Pro squeduled under cron » 2018-07-20 11:18:50

Sorry, the path is [b]/vmfs/volumes/datastore001/xsi-dir/var/logs/xsibackup.log[/b]
We are editing the forum at the same time, so just refresh and see the above post updated.

You don't need to remove everything, but if that makes you feel more confident, just remove the [b]xsi-dir[/b] folder, the entries in the  [b]/var/spool/cron/crontabs/root[/b] file and the call to reinitialize the cron at [b]/etc/rc.local.d/local.sh[/b]

That will leave you with a totally clean ESXi host in regards to XSIBackup

#1655 Re: General matters » Problem getting XSIBackup Pro squeduled under cron » 2018-07-20 11:08:28

Have you checked the xsibackup.log file, to verify if the cron is working?

tail -n30 /vmfs/volumes/datastore001/xsi-dir/var/logs/xsibackup.log

The ESXi crond daemon can be picky, as it lacks any service control scripts or management mechanism, you need to manage it manually as any other linux binary, so start by making sure that it's loaded just once.

ps -c | grep -v grep | grep 'busybox crond'

If you see more than one line in the output, kill all and start it again.

/usr/lib/vmware/busybox/bin/busybox crond

Everything is explained in more detail here: [url]https://33hops.com/xsibackup-cron-how-to.html[/url]
If you can, just reboot the server, it will produce the same effect.

You just need to get used to how this ESXi busybox cron daemon works, it's primitive but effective. In regards to how XSIBackup uses it, it's quite simple: jobs are simply called from [b]/var/spool/cron/crontabs/root[/b], it's in fact simpler than the old XSIBackup cron.

So, make sure that you have the entries that you want there. You can check the cron is working by just adding a line like this to your crontab at: [b]/var/spool/cron/crontabs/root[/b]

*/1 * * * * echo "$(date)" >> /tmp/my-cron-test.txt

You should then see a line being recorded there every minute, you can use this command in a different window:

tail -f /tmp/my-cron-test.txt

#1656 Re: General matters » Problem getting XSIBackup Pro squeduled under cron » 2018-07-19 14:39:34

You are mixing features from the older version with your new installation.

*/1 * * * * '/vmfs/volumes/datastore001/xsi-dir/xsibackup-cron' >> '/vmfs/volumes/datastore001/xsi-dir/xsibackup-cron.log' 2>&1

The above is the call to the old crontab, which is what you see in the old log file (xsibackup-cron.log): [b]/vmfs/volumes/datastore001/xsi-dir/xsibackup-cron: not found[/b]

That ESXi root crontab line should have been removed when installing the new cron by simply running [b]--install-cron[/b] again. You might have skipped this step.

[b]Solution:[/b]

Remove the above line manually from [b]/var/spool/cron/crontabs/root[/b] or run [b]--install-cron[/b]

#1657 Re: General matters » Backup 11.0.1 free version - cron does not work (solved) » 2018-07-19 10:37:57

Why are you keeping the old cron sytem line?

*/1 * * * * '/vmfs/volumes/DATA/xsi-dir/xsibackup-cron' >> '/vmfs/volumes/DATA/xsi-dir/xsibackup-cron.log' 2>&1

Remove it and reboot your server.
Why do you say that the backup process did not run as expected?
Have you examined the log at /vmfs/volumes/DATA/xsi-dir/conf/?
You could simply have a wrong e-mail password that prevents you from getting the report, but that would not mean the backup didn't take place. You won't know until you get familiarized with the new changes, which are not so dramatic BTW.
[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]

#1658 Re: General matters » Guest name with space cannot do the remote backup » 2018-07-18 10:37:38

Make sure that your VM name does not contain a whitespace that is not really a space character. Many times people just cut & paste text and they don't realize that it might very well be replaced by some encoding which is not ASCII

Create a fake VM from scratch that contains at least a space and back it up. You don't need to install an OS for the test. It should work, if not, please let us know the outcome of this command.

vmware -v

#1659 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-18 10:08:12

Before you use bash code in your job file, you should know what it means and what its effect will be, otherwise you are just playing russian roulette with your VMs.

--backup-point=/vmfs/volumes/backup_intern/[b]$( date +%Y%m'00000000' )[/b]

Remove the part in bold, and next time try to dig into your problem a bit more. We are glad to help anybody that has first tried to help himself.

By the way, if you like to backup to the same folder, you are just creating the base for your very personal big disaster. XSIBackup is a backup tool and just like a chainsaw can be a very helpful tool. We nevertheless can't prevent people hurting themselves by using it inadequately.

#1660 Re: General matters » Backup 11.0.1 free version - cron does not work (solved) » 2018-07-18 10:04:15

Have you set the digit for the minutes, or you just left the asterisk?
Check this post out to [url=https://33hops.com/xsibackup-cron-troubleshooting.html]learn more about ESXi cron[/url]

#1661 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-17 17:24:31

We are not quite getting you.
If you don't want the backup stored to a timestamped folder, then don't parse the --date-dir=yes argument. Nevertheless [b](c)XSITools[/b] will do that by design.
We don't know what's your backup job, so it's hard to give an answer, we are only guessing.

#1662 Re: General matters » Error DIFQMSH3 » 2018-07-16 17:51:12

Not neccessarily.

XSIBackup creates a unique .ERR file when launched and stores there all errors and warnings that might be raised during the backup job. Then it reads for errors and warnings to set the e-mail subject at the end of the process.

If in the middle of a backup process you launch another job manually, it will not kill the previous job, but will delete the .ERR file, resulting in a wrong subject, no error reported when there should be some. The VM detail error remains cause it has already been pushed into a variable.

#1663 Re: General matters » Certified backup from XSIBACKUP-PRO 10.3.2 to XSIBACKUP-PRO 11.0.1 » 2018-07-16 13:48:05

If you run an Vmkfstools or Rsync backup and receive no errors, the possibility that there's something wrong is very low, almost zero, as Vmkfstools and Rsync already have their own internal verification mechanisms. Issuing [b]--certify-backup=yes[/b] is a redundant check that is more focused on making sure the data can be read and is equal on both sides.

The level of certainty when using [b]--certify-backup[/b] is almost absolute, but still, there's a chance that a meteorite falls on your datacenter ;-), so, although absolute certainty is something that only exists in the mathematics world, using [b]--certify-backup[/b] will at lest allow you to sleep well.

When you use [b](c)OneDiff[/b], the mechanism used to move the data from one server to the mirror image is higher level (snapshot exchange), so there's no inner byte-level check. Thus we created [b][https://33hops.com/xsibackup-trivial-check-and-checksums.html]Trivial Check[/url][/b] as a simple way to have a reasonable level of certainty, plus [b]--certify-backup[/b] wich will offer you, as stated above, an astronomical number level check.

#1664 Re: General matters » warm backups keep having errors - ERROR CLDELSN3cannot delete snapshot » 2018-07-16 13:34:31

Errors related to snapshot deletion are thrown by ESXi itself, XSIBackup just invokes ESXi commands to delete snapshots, so you should forget backups until you find out why snapshotting fails.

We wrote this posts to help users:

[url]https://33hops.com/esxi-snapshot-errors-and-solutions.html[/url]

[url]https://33hops.com/troubleshooting-windows-snapshots-in-esxi.html[/url]

#1665 Re: General matters » Job Exit Codes » 2018-07-16 13:30:18

You have the description along with the error code. If you want full details, just look for the error label in the program files:

[b]grep -ri /vmfs/volumes/datastore1/xsi-dir ERRORCODE[/b]

If you believe some description could be improved, please, just let us know the error code and what is that you beleive could be improved.

#1666 Re: General matters » Cron failing to install even thought reports it installed successfully » 2018-07-16 13:25:09

[b]Arindrew[/b], there's no [b]xsibackup-cron[/b] file any more. Please, read this post:

[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]

And always read the change log when updating to a new version.

[url]https://33hops.com/xsibackup-change-log.html[/url]

XSIBackup project almost always keeps previous arguments and way of working, when some significant change is done, we publish especific posts.

[b]backamunga[/b], thank you for helping and also for your feedback. You are right, there's always a better way to do things, we'll study improvements as the project grows and we can dedicate more time to it.

#1667 Re: General matters » Error DIFQMSH3 » 2018-07-16 13:12:34

Activate the [b]--certify-backup=yes[/b] option to make sure your copies are equal. That error should have been reported, you might have overlapped backup jobs.

#1668 Re: General matters » Certified backup from XSIBACKUP-PRO 10.3.2 to XSIBACKUP-PRO 11.0.1 » 2018-07-13 15:01:40

There is a bug from part of VMWare or Microsoft, they point at each other and after a number of years none of these enterprises has done anything to fix it. We created a workaround that allows to use quiesced backups with MS Windows 64 bit, but it's nos possible to certify on first run when using [b](c)OneDiff[/b] due to the way the snapshots are created (fragmented).

Due to the fact that depending on if you are using [b](c)OneDiff[/b], or a regular [b]Vmkfstools[/b] backup or other type of backup programs, this will afect the first run (OneDiff) or all backups (Vmkfstools, Rsync, etc...), we changed the notice from "first run", to a more wide inclusive message.

#1669 Re: General matters » GUI » 2018-07-12 19:53:14

Please, read the manual. The answers to your questions are in the first page:
[url]https://33hops.com/xsibackup-pro-gui-manual.html[/url]

#1670 Re: General matters » Overview and use of DiffOne, XSIDiff and XSI-Tools » 2018-07-12 11:01:25

[url]https://33hops.com/xsibackup-using-backup-programs.html[/url]

#1671 Re: General matters » GUI » 2018-07-12 10:59:42

[url]https://33hops.com/xsibackup-pro-gui-manual.html[/url]

#1672 Re: General matters » Guest name with space cannot do the remote backup » 2018-07-08 13:49:42

Will check this

[b]UPDATE 2018-07-09[/b]

We have made tests backing up a VM with spaces in its name and disk files, the VM is called "[b]New Virtual Machine[/b]" from ESXi 6.5.0 build-4564106 to same build and from that same version to ESXi 6.7.0 build-8169922

All the tests using different programs yielded positive results, no issues were found when backing up this VM.
Apart from that, we monitor a lot of backups daily and didn't find any bug in regards to space management.

Please, let us know your exact build and any especial circumstance that could be related to your problem.

#1673 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-06 15:51:39

Then reboot the server.
To check the crond service just write some simple command to the [b]/var/spool/cron/crontabs/root[/b] crontab file, like

0/1 * * * *   echo "Hi, now it's: $(date)" >> /tmp/cron-test.txt

And monitor it with [b]tail -f[/b] in a second window, or just cat or vi the test file.
The above command will write an entry per minute.

tail -f /tmp/cron-test.txt

#1674 Re: General matters » SSL TLS » 2018-07-06 15:46:56

The SMTP port is opened automatically by XSIBackup in ESXi, as you can read in the program's output. Check other possible causes. If you still suspect it could be the ESXi firewall, you just have to disable it

esxcli network firewall unload

And try again. To enable the firewall again

esxcli network firewall load

#1675 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-05 16:40:47

You must be doing something wrong. Are ayou aware of the fact that the new crontab is conf/root-crontab?
You must place schedules there according to what's described here: [url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]
And then run the --update-cron command.

After you have completed the above procedure, make sure that you have your crontab in the [b]/var/spool/cron/crontabs/root[/b] crontab file

Board footer