You are not logged in.
Using the installer or installing manually is the same, in any of the cases ALL files are installed. We insist in using the installer cause some people are used to just overwritting the main binary and when doing so they might miss some new file that we have added to the bin folder. We publish this info in the change log too, still some people mis important facts.
We remind important facts all the time. That does not mean that we believe you are not understanding us, it's just a procedure, as we don't know all the details on your installation but just the information that you share with us.
(c)XSIBackup-Pro Classic is a toy when compared to (c)XSIBackup-DC. You may very well have recently fallen into annoying situations while having been lucky enough to have skipped them with older versions.
We have recently added many new features which we believe to be bround breaking and well worth going through an installation. Still if some version is working for you and you have all the features that you need, you don't need to reinstall to upgrade the software.
Latest versions are more stable and our support department statistics show that clearly: less support requests per sold license.
I believe we are not fully engaged in a meaningful debate.
Why do you believe that the memory state is crucial to a backup?
The memory state are the contents of the memory (RAM) at the time to take the backup/replica. RAM memory is volatile, it is only meaningful at a given nanosecond in time (depending on the CPU frequency).
Memory is saved when you want to suspend a PC and return to it as it was at the time you suspended it. Per instance when you fold a lapton down. It's just a way to make it not consume electricty while actually turning it off and be able to return to it's working state as if it had never been switched off, keeping all your applications and unsaved data as you left it at the time to suspend it.
When you backup a server, you want it to contain data written to disk at a given point in time and you want it to be consistent. You don't usually care much about the contents of the memory, unless you have very picky and especific reasons for it, which is not the case 99.9% of the times.
There may be people for which backing up the memory could be useful. We'll revise the posibilty to add the memory, still (c)VMWare is progresively locking out (c)ESXi, it may not even be possible in latest releases.
Exactly!. --enable-cbt and --reset-cbt just save you from the hassle to have to edit the .vmx manually or add the options via the GUI. Also deleting the .xsi dir is a must to prevent problems. The .xsi dir will be created automatically if it does not exist.
Yes, you are right in that the VM state should be considered when running that argument. CBT feature is just weeks old, it lacks some refinements that will be added in next versions.
(c)XSIBackup isn't currently compatible with taking memory snapshots, thus the .vmsn file is mostly useless in every case, you don't need it.
The following question is: why does (c)ESXi create a .vmsn file then when not taking a memory snapshot?. That's something (c)VMWare should answer.
a) [b]_XSIREP[/b] VMs are filtered out. You would need to rename them or wait until we create a switch to override this behaviour. We'll do it in next release 1.5.1.2. We'll most probably just waive the filtering when using REGEXP.
b) We'll check this and eventually fix any bugs.
c) We'll check this and eventually fix any bugs.
The above described recommended procedure, namely: create a replica and then backup the replica, is something we recommend since years ago from the times of our former solution (c)XSIBackup-Classic. The reasons are obvious and have alredy been explained many times.
Nonetheless, as you start to add variables to the equation, you must take care not to fall into any logical pitfall. Per instance: you must take into account that the original CBT information will not be valid in a newly registered VM cloned from the original one. In fact the cbt flag will automatically strip any CBT/CTK related information from the target VM.
Thus, if you want to in turn use CBT from the cloned VM, you will have to reenable CBT in it, still it will only be valid until the following CBT cycle is completed, as the CBT information will be again stripped from it.
As a result of the above dialectical discourse, you will easily deduce that you can't chain CBT due to the fact that CBT is accounted at a host level, thus any CTK files cloned from other host will be invalid.
[b]Conclusion[/b]:
Replicate using CBT and backup without it. Given the fact that your replica is out of the production host, that shouldn't matter much.
We have no plans to offer that feature. It is highly dependent on the target OS and too many assumptions have to be made to implement it. We do not consider this feature request to be feasible.
--enable-cbt is just a helper, if the default behaviour does not suit your needs, just enable CBT manually.
[url]https://www.vmwarearena.com/enable-change-block-tracking-cbt-for/[/url]
We will improve the helper function in some future release.
The most likely cause is that you run out of space in the /tmp dir.
Extend the /tmp volume.
Using a closed down propietary device as your NAS has some serious drawbacks, try to use some full fledged Linux FS when you have some more exigent requirements.
If your set of VMs is of a contained size, default Synology configuration might very well be more than enough. When you start to manage big multi-terabyte repos you need control on the NAS OS, which you don't fully have with closed NAS boxes.
Just use the installer when upgrading
This kind of set up is very convenient, we in fact recommend to replicate + backup to avoid the load on the production servers as much as possible, although (c)XSIBackup is an extremely light software in terms of footprint on the resources.
The only drawbackup would be the very same CTB subsystem failing, which has happenned in the past. Thus some full replica + backup from time to time is never a bad idea. As per your job, a new repository would be created each month, this would force by itself a full backup each first day of each new month.
We said, you can keep "some info", we didn't mean that that it can be used to revert the VM to a previous state. In the end what you describe is just a default behaviour: (c)XSIBackup copies anything that it can from the source VM. Implementing some option, default or user set, that allows to keep the target dir cleaner is at this stage of development something aesthetic. We will do it sooner or later, still we have too many important things to address.
You have to make too many assumptions to achieve that. You depend on the NAS type, not all Linux distros/flavours use compatible shells. We don't see it feasible. That should be left to an implementation development from part of the client, as it would be highly dependent on the set up.
In these cases you just need to run --reset-cbt, no need for --enable-cbt, in fact both arguments produce the exact same result.
You just need to delete the .xsi dir in the source VM folder. Some further integration, as you suggest, would be to allow --reset-cbt to do that for you, still we decided to keep that folder as it contains some vital information on what was done before, maybe renaming it would be the simplest and wisest thing to do.
CBT feature is new, it was introduced this summer. We still have to produce some posts on some of the situations you may run into, like the one you describe.
Thank you for your feedback.
We'll revise that and improve the logic in next releases. Thank you for your feedback.
It's all simpler than that.
You want to register the VM to some (c)ESXi host?: no problem.
Replicate to some (c)ESXi host that has the NFS volume attached to it as a datastore.
Yes, you can delete or exclude them. Nonetheless they are very small and can offer some info on every backup/ replica cycle. You could also move them to some subdir.
That is something managed by (c)ESXi internals, nothing to worry about.
There isn't any restore script, but a restore command. It is described [url=https://33hops.com/xsibackup-dc-full-manual-home.html#restore]in the manual[/url].
./xsibackup --restore /path/to/backup/repository/20210913202034/MyVM /vmfs/volumes/datastore1/MyVMWhat version are you using?
Have you updated the installation to latest version?.
There are some versions of (c)ESXi that require latest version. Please do update and try again.
Please use the installer, don't just copy the xsibackup binary, there are new binaries in he package.
(c)XSIBackup binary is just like any other Linux binary, you can apply any flow control technique or programming available in the Shell.
[b][url=https://unix.stackexchange.com/questions/208870/how-do-i-run-a-command-only-after-previous-command-is-unsuccessful-in-bash]Control flow examples[/url][/b]
A job file, as created by the GUI or by the --save-job=NNN argument, is just the simplest form of a job packaged in a bash file with the output redirected to the main xsibackup.log file. You can of course create any kind of bash script that you want containing calls to jobs. We recommend that you leave jobs packaged as they are created just to keep things ordered in an independent file.
You just have to create compounded jobs, per instance starting at 900..
Job 901 comprising jobs 101, 102 and 103 would be something as simple as:
101
102
103Or with absolute references
/scratch/XSI/XSIBackup-DC/etc/jobs/101
/scratch/XSI/XSIBackup-DC/etc/jobs/102
/scratch/XSI/XSIBackup-DC/etc/jobs/103Then invoke job 901 from the cron
You can off course combine them depending on the return code of the job
/scratch/XSI/XSIBackup-DC/etc/jobs/101 && /scratch/XSI/XSIBackup-DC/etc/jobs/102The above example would run job 102 in the event that the return code from job 101 would be 0
If you believe you can't solve your issue any other way (custom selection, REGEXP, multiple jobs), you can always reorder the inventory file vmInventory.xml manually.
The order they are in the inventory file:
/etc/vmware/hostd/vmInventory.xmlPlease, provide the job string as well as the full output when you request support, otherwise our view on the issue is limited and we can't do anything but to guess.
The space of a volume (total, free, used), is the same in any point in the volume.
As we state in the 1.5.1.0 change log, there is a new base64 binary in the bin folder which must be updated in the eventual remote server. We also added an xsibackup binary in the /bin folder some releases ago.
In your case we have to guess whether you are running a local command, if so: please make sure that you have set execute permissions in the /bin folder inside the installation root directory too.
When you run the [b]install[/b] script, all these things are automatically tweaked. If you just update the main binary manually, you may miss something.