You are not logged in.
Same answer: permission issue. There really isn't any obscure thing about the message you are receiving.
Revise permissions on the xsibackup and bin folder. Read the README.txt file please.
You could do that, or even perform an Vmkfstools on a VM that is engaged in a OneDiff differential backup. The backup will be made from the OneDiff snapshot and the integrity of the OneDiff differential backup will be preserved.
Thus it's totally safe to backup the _XSIBAK VM or even the original VM.
FTP is an ancient non secure protocol. XSIBackup can backup over SSH, which is a modern alternative to FTP.
All Linux OSs and ESXi come with SSH built into even their minimal distributions.
Use [b]OneDiff[/b] as you backup program to achieve the differential backup every day and [b]Vmkfstools[/b] every three days, you don't need chaining.
You have a wizard in the GUI and a full manual detailing every step here: [url]https://33hops.com/xsibackup-pro-gui-manual.html#1[/url]
It's a matter of choosing programs, paths and VMs and clicking on "Next". You should previously add an SMTP server.
If you are new to Linux, you might need to learn how a crontab works, but that is general knowledge that you should acquire on your own.
* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)Contact support and send the contents of your [b]conf/root-crontab[/b] file, or just inspect it on your own. There must be something weird there.
Yes, that is regular behaviour in Linux shells, when you exit processes are killed by SIGHUP:
[url]https://stackoverflow.com/questions/32780706/does-linux-kill-background-processes-if-we-close-the-terminal-from-which-it-has[/url]
If you run manually and want the job to finish, you should do one of these things:
1 - Leave the SSH connection open until the process finishes.
2 - Put the process in the background by adding a NOHUP command first and a & sign at the end of the command.
[url]https://askubuntu.com/questions/8653/how-to-keep-processes-running-after-ending-ssh-session[/url]
You might need to wrap your job in a file, in fact that's what XSIBackup does by placing the jobs in job files inside the [b]xsi-dir/jobs[/b] directory.
This approach might not work, due to XSIBackup creating many child subprocesses with complex relationships. So you will most probably be bound to just leave the SSH session open. We have not designed XSIBackup to be detached from a TTY.
In full Linux environments, there are tools which allow you to achieve the same goal, like [b]screen[/b].
Thank you for posting your feedback. Regards.
This is very weird.
As you know, all there is to public key authentication is copying the public key to the remote [b]authorized_keys[/b] file. Just as long as it is there and the remote [b]authorized_keys[/b] file has the appropiate permissions [b]0600[/b], which BTW are reset on every reboot, public authentication will work.
Check that you have your XSIBackup RSA public key at the file [b]/etc/ssh/keys-root/authorized_keys[/b] in the remote host, you can just cat compare visually for the matter.
cat /etc/ssh/keys-root/authorized_keysTake on account that if you try to backup from different ESXi versions, let's say ESXi 5.5 to ESXi 6.7, the OpenSSH versions will differ a lot. Due to some security problems, OpenSSH has removed some KEX protocols from newer versions and when mixing older versions like OpenSSH 5.6 with some newer ones, like 7.3, they just can't find a valid KEX protocol in common and drop key auth.
To verify this point just issue this command:
ssh -vv -4 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no \
-i /vmfs/volumes/backup/xsi-dir/xsibackup_id_rsa root@192.168.X.XAccomodate paths and IPs to your own and see if you can connect to the other end passwordlessly.
In case you cant, inspect the verbose output and you will probably see that the reason is no agreement in KEX protocols available.
WORKAROUND:
You should use ESXi versions which are not too far away from each other in time. If you can't upgrade, you can still manually enable diffie-hellman KEX (per instance) in the [b]/etc/ssh/sshd_config[/b] of the server side.
Also, just check whether key authentication has been disabled on the same config file.
Depending on the aggregated size of your VMs you may not need XSIBACKUP-PRO. Rsync will transfer them at around 40 mb/s, provided that you have Intel NICs, a decent CPU and the network is quiet during the backup Window. XSIDiff on Pro version will reach 70-80 mb/s
If you will only transfer once XSIBACKUP-FREE will be enough, if your require some more transfers, then Pro version will definetly save you a lot of time.
We are sorry sir, but aren't really understanding your problem.
We suspect that you have not linked servers prior to performing the backup. You cannot perform a backup without first allowing servers to communicate, hence the repeated password prompt.
You must link servers before even attempting to use XSIBackup over IP
[url]https://33hops.com/xsibackup-help-man-page.html#linksrv[/url]
Please, read the program documentation before posting to the forum, otherwise we won't be able to help you. You may start here:
[url]https://33hops.com/xsibackup-tutorial-1.html[/url]
You have most documents arranged by topic here:
[url]https://33hops.com/xsibackup-indexed-resources.html[/url]
We will revise this and eventually release a fix.
.....
....
...
This was reviewed and no problems were found, please keep on reading to know about how backup folders are considered for automatic deletion.
Then, what is the problem?
Are you aware of what deduplication is and how it works?
In regards to the VMs being different, still compression plus some little help from deduplication could result in those figures.
Restore your VMs to make sure everything is O.K. if you will.
What --backup-prog are you using?
You aren't receiving errors, you are receiving messages which are pretty clear.
You don't need support, you need to read the program documentation before using it.
First of all, make sure that you can reach the server you want to copy VMs to. Not from Putty, but from server A.
Then use a [b]--backup-prog[/b] that you can use over IP (Rsync), default is [b]Vmkfstools[/b] which can be used locally only.
Thus:
./xsibackup --backup-prog=Rsync --backup-point=192.168.99.205:22:/vmfs/volumes/DATA \
--backup-type=custom --backup-how=cold --backup-vms="Mail01" --date-dir=yesRemove the ":F", that is useless and raises your second error.
BTW, what is the error you get in the first case?
Make sure you don't cut and paste from Word, PDF or similar. Characters could be substitued by something similar causing this type of errors.
This is a message printed by the XSITools module, so things must be getting mixed somewhere somehow.
XSITools Error XSITCMP1Read the details of how things work in version 11:
[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]
Prepare your job and run it with the --run-backup=001 argument.
Make sure you kill any remain from previous attempts eventually loaded:
[url]https://33hops.com/xsibackup-most-common-issues.html[/url]
--on-success and --on-error event handlers are not available in the Free version.
Please, note that since [b]v 11.0.0[/b] the way the cron works has changed. Changes are explained in detail here:
[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]
If [b]--backupid=01[/b] is working, it's just because you are still keping the old cron redirection to [b]xsibackup-cron[/b] in the [b]/var/spool/cron/crontabs/[/b] file.
The size of the Trivial Check can be set on the conf/xsiopts general configuration variables file.
--options=no-[b]500[/b]M-check
The size and first 500M check AKA [b]Trivial Check[/b] is extremely usefull 99% of the times.
Using a Linux OS within ESXi is something seamless and will work like a charm when quiescing the OS.
Windows OSs are something apart. It's obvious that this two monster companies are having an open commercial war, as Microsoft tries to force their users to use Hyper-V. There are bugs, especially in everything related to quiescing, that have plainly not been resolved. That is most probably due to MS putting efforts in making their OSs not fully compatible with VMWare.
It's not a coincidence that quiescing MS Operating Systems be the battle ground, as this operation is critical to properly backing up mission critical servers, like Exchange or SQL Server, which are some of the MS flagships.
First of all, if you want to run mission critical services, use Unix or Linux. If you already have MS in place and still need to back them up, follow our guide to quiescing Microsoft OSs [https://33hops.com/troubleshooting-windows-snapshots-in-esxi.html]Troubleshooting Windows Snapshots In Esxi[/url]
Be prepared to still receive some quiescing errors from time to time. You can use the --options=no-[b]500[/b]M-check argument at your own risk, but take the following on account:
If you take your time to quiesce some Microsoft Operating System in a mission critical 24x7 service, you might still find yourself fighting in the mud against some invisible bugs that cause quiescing operations to time out or raise errors in the MS Event Viewer, which are in turn catalogued as "ignorable" by the Microsoft Knowledge base articles.
Thus, it's probably wiser to use one of two approaches:
1 - Plainly run a [b]--backup-type=warm[/b] backup with no quiescing. This will imply not even 30 s. of downtime vs a nightmare that in the end will cause more downtime.
2 - Take a VSS snapshot prior to backing the VM up and delete it afterwards, also without quiescing in the virtual machine backup operation. This will ensure that you can discard the VSS snapshot and return to a stable configuration, should some I/O operation get trapped during the VM snapshot process.
We really don't know what else to add. If you change something, do it all the way, if you miss something, things might not work.
XSIBackup already rotates logs, you have the [b]rotate_log_size[/b] general variable in the [b]conf/xsiopts[/b] file.
It's already on our website:
[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html](c)XSIBackup Classic: changes in version 11.0.0[/url]
First of all, please, upgrade to version 11.0.3 if you have the chance. It's a lot more advanced and stable in regards to backup chaining. In fact, you cannot use [b]--del-dirs=+2d[/b] in older versions.
What you pose is correct, but: why do you split backup 01 and 02?, wouldn't it be easier to group VMs and write this instead:
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=01 --backup-prog=onediff \
--time="Mon 17:00|Tue 17:00|Wed 17:00|Thu 17:00|Fri 17:00|Sat 17:00|Sun 17:00" \
--backup-point="/vmfs/volumes/datastoreA" --backup-type=custom --backup-vms="vm_01,vm_02" \
--mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx -- smtp-port=xxx --smtp-usr=xxx \
--smtp-pwd=xxx --smart-info=yes --on-success="backupid->02" --on-error="backupid->02"Yes, It's just a particular scenario for a differential backup.
XSIBackup does not care much about how the previous data got to the other end. So, you can:
Make a OneDiff, XSITools or Rsync backup through a fast LAN and then move the whole host somewhere else in the world. Change the target IP for the backup and XSIBackup will continue to backup those VMs.
You can instead just move the disk to some other host, just make sure you change the paths accordingly.
In case of using OneDiff, you rely on top of the ESXi snapshot feature, which is not 100% functional in Windows servers when requiring quiescing. So, if you loose synchrony in a OneDiff backup, due to a failed snapshot operation per instance, you can use an Rsync backup job to re-sync data by using the Rsync delta algorithm, it's much slower, but it will allow you to keep both ends up to date by just exchanging the diff bytes.
We are sorry but we are not fully getting what you mean.
Jobs are stored in the xsi-dir/jobs folder.
If you want to overwrite some job, edit the job instead of creating a new one. In any case, if you assign the same BackupId to any job, it will overwrite the previous one with the same Id.
What do you mean by "XSIBackup cannot add a VM that is not present in the host", of course not. You should control vMotion to make sure your VMs are where you want them to be during the backup windows, otherwise how are you going to back them up?.
You are assuming XSIBackup has features we have never announced. XSIBackup does not integrate into a vCenter environment, it's a per host backup tool, which has its advantages on the other side. So take control of your cluster and arrange things so that you can backup your VMs from their current hosts, there are multiple ways to achieve what you want.
The most obvious way to handle the situation is to set policies in regards to vMotion, so that it does not move VMs around during the backup windows and use the [b]--backup-type=all|running[/b] argument along with [b]--disable-vmotion[/b] to backup all VMs at a given host during that backup period.
Please, read about the changes in version 11 and above: [url]https://33hops.com/xsibackup-pro-gui-manual.html#2[/url]