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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#51 Re: Rsync » checking for rsync in remote server hangs, in 10.1.3 PRO » 2017-12-05 08:25:47

Thanks for the quick reply, I moved the line and tried to launch the job (normally executed via cron) using --run-backup command but it give a ssh syntax error that I can't find in the source, here the partial output:

./xsibackup --run-backup=AR1ZF

###############################################################################
#
#  (c) XSIBACKUP-PRO 10.1.3 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com
#
###################################################################################

ssh: illegal option --
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
Found (c) XSIBackup installation. Remote path is set dynamically
Remote xsi path set to:
.
----------------------------------------------------------------------------------------------------------------------------------
Preparing to execute backup in remote server: <hostB>
----------------------------------------------------------------------------------------------------------------------------------

#52 Re: Rsync » checking for rsync in remote server hangs, in 10.1.3 PRO » 2017-12-04 14:10:27

It seems related to compHash function, but I have no time to investigate now...

#53 Rsync » checking for rsync in remote server hangs, in 10.1.3 PRO » 2017-12-04 14:09:23

sistemi
Replies: 6

Scenario:
launch a backup from host A to host B saving VM on server C using onediff

the log file reports no more than following lines (the last one was added by me to debug paths) and I have to kill processes on <hostB>, no processes active on <hostC>

[104m###############################################################################  [0m [104m [0m
[104m#                                                                                [0m[104m [0m [104m [0m
[104m#  [1m(c) XSIBACKUP-PRO 10.1.3[0m[104m | Backup for (c) VMWARE ESXi Hypervisor by [1m33hops.com  [0m [104m [0m [104m [0m
[104m#                                                                                   [0m [104m [0m [104m [0m [104m [0m
[104m###################################################################################[0m[104m  [0m [104m [0m [104m [0m [104m [0m [104m [0m [104m [0m

2017-12-04T13:43:01|  NOTICE: (c) XSIBackup will kill any previous processes, make sure you don't overlap backup jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:          8150735                                                    xxxxxxxxxx
Mon, 04 Dec 2017 13:43:01 +0000                                 IPv4: <hostB>/255.255.255.0
VMware ESXi 5.5.0 build-1331820                              (c) Rsync 3.1.0 as opt. dependency

2017-12-04T13:43:02|  Backup Id: ar1zf
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:03|  [0;36mADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance[0m
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:03|  Backup program is: [1monediff[0m
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:03|  Service OpenSSH ready at server <hostC>:22
2017-12-04T13:43:05|  Found more than one remote (c) XSIBackup installation dir at [<hostC>]
2017-12-04T13:43:05|  Using hardcoded var at conf/[1mxsiopts[0m [xsidefaultpath] as remote path.
2017-12-04T13:43:05|  [1mRemote xsi path set to: /vmfs/volumes/datastore1/xsi-dir[0m
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:05|  [0;36mCompression option is deprecated since XSIBackup 10.0.4, SSH 2.0 is forced since this version and it handles compression dynamically[0m
2017-12-04T13:43:07|  Remote ESXi version is 6.0.0
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:07|  Mirroring to server <hostC> port 22
2017-12-04T13:43:07|  Checking Rsync exists on the other side...
2017-12-04T13:43:07|  ***DEBUG /vmfs/volumes/524d1b54-ddf4d08c-5600-90b11c388503/xsi-dir - <hostC>:22:/vmfs/volumes/datastore1/xsi-dir/bin/xsibackup-rsync

#54 Re: General matters » Where are the logs? » 2017-11-12 08:34:41

[quote=EdC]Thanks for getting back to me. I looked for the file, and can't see it. Is it somewhere else on my system?[/quote]

The logs are created only if the job is launched within xsi-cron, otherwise the log goes to standard output

#55 Re: Rsync » xsibackup-rsync process goes to 100% cpu, transfer speed is almost 0 » 2017-11-09 15:11:35

[quote=admin]Yes, most of the overhead in Rsync transfers is caused by the SSH encryption and/or compression. What kind of server/CPU are you using?[/quote]

Ok, but when the transfer speed is normal the cpu is about 40-50%.

Manufacturer:     Dell Inc.
Model:     PowerEdge R720xd
Processors:     8 CPU x 1,999 GHz
Processor Type:     Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
Hyperthreading:     Active
Total Memory:     95,96 GB

#56 Rsync » xsibackup-rsync process goes to 100% cpu, transfer speed is almost 0 » 2017-11-09 14:20:49

sistemi
Replies: 5

I noticed that after upgrading but i cannot remember which version, but seems that the binary wasn't changed. During a first onediff remote backup (don't know if it happens also on further backups) after a while the transfer speed reaches almost 0,5 kB/s and the process go to 100% cpu. After that sometimes it resumes with usual transfer. Could be the ssh2 forced option added recently? How can i debug this behaviour?

Using latest version, 10.1.0 on esxi 5.5


30,454,385,160  70%    6.44MB/s    0:31:33

34,058,371,072  79%   65.31kB/s   37:49:09

37,176,639,488  86%   50.70kB/s   31:37:48

37,178,601,872  86%    1.82kB/s  882:56:27

37,178,831,248  86%    0.64kB/s 2494:04:45

37,178,896,784  86%    0.64kB/s 2514:27:28

37,178,929,552  86%    0.61kB/s 2616:23:45

#57 Re: General matters » error: first 50M mistmatch » 2017-10-25 07:14:53

[quote=ulfthomas]

Long story short:

•    I converted the disk to GPT (I can revive the link if needed)

...
[/quote]

I'm interested at the link, can you provide it?

#58 Re: © OneDiff » error OVMXCHK1: VMX file check » 2017-10-16 13:51:38

you should investigate for a common denominator, i was in trouble with some of your symptoms, and i'm now almost sure that is the NFS file system on a QNAP NAS or the NSF timeouts on ESXI...

#59 Re: © XSITools » Space usage with xsitools » 2017-10-09 08:54:35

If i understood the xsitools logic, deleting a dir could create orphaned blocks, check this "ugly version" script to check if the are orphaned blocks.

It must be copied into xsitools repo main  folder, and forgive the "2017*" filter used on grep, i'm not a skilled bash developer, suggestions are welcome!

#!/bin/sh
#
# Check orphaned blocks in xsitools repository
#
# ugly first version
#
# gets total existing blocks
brecrd=$( cat .xsitools | grep Bcnt | awk -F ': ' '{print $2}' )
echo $(date) Total blocks: $brecrd

bproc="0"
#for each block search if referenced in any vmdk flat file ...
find ./data -type f -exec basename {} \; | while read  file
do
#ugly filter to exclude .data folder   
  ret=$(grep -lrx -m1 $file 2017* | grep ".vmdk" | wc -l)
# progress counter      
  bproc=$(( $bproc + 1 ))
  n=$(($bproc%100))

  if [ "$n" == "0" ]
  then
    echo $(date) Processed: $bproc of $brecrd  
  fi 

# if found print it, for now, todo: delete it
  if [ "$ret" == "0" ]
  then
    echo Found unused block: $file  
  fi 
done;

#60 General matters » Current version of XSIBackup PRO » 2017-09-25 09:23:21

sistemi
Replies: 1

The Changelog reports version 10.0.4 but downloading the current version from registered users are I get 10.0.3 (reported when launching the script), its just a typo or the new enhancements regarding the ssh protocol and regular expressions are not still present?

Thanks.

#61 Re: © OneDiff » error: first 50M mistmatch » 2017-09-25 08:29:55

[quote=admin]We are starting to mix different issues into this topic.
We had previously detected an issue with dd not being able to access a .vmdk file when checking its first 50M (Jayce pointed this out). This is most probably due to some other process holding it. We have not been able to reproduce this issue so far, and might not be a bug.

Getting a [b]Segmentation fault[/b] or [b]file too large[/b] from part of [b]dd[/b] are traces of a different sort of problem.

dd uses C file handling functions, these functions generally use a type [b]off_t[/b] to seek inside files. That error (file too large) means you have hit the limit of a data type. It could be due to your file being extremely big, or to a bug in the dd binary of your ESXi build.

We are willing to help you, but although we have insisted in getting some more details about this issue, we have nothing but comments.

If this topic has to be considered related to a real problem, please provide:

- Backup job string with all arguments (except passwords)
- ESXi version and build number.
- Logs containing the exact errors you are getting[/quote]

Well, I was busy too, but during this time I set up a new ESXI host (6.0.0) redirecting all remote backups to this host, with internal hdd storage. The one that is having problems has a NAS (QNAP TS-420) attached in the local network.

This was about one week ago, and until yesterday there were no errors.

So the problem has moved to the NFS datastore created linking the NAS RAID volume, don't know if could be the NAS hardware, firmware, or something else, but i thing nothing related to XSIBackup itself.

Hope this helps investigating.

#62 Re: General matters » Permission denied when installing Crontab » 2017-09-23 17:01:43

if you copied files you nedd to give execute permissions

chmod 700 src/*

#63 Re: General matters » CRON job does not start » 2017-09-23 17:00:27

why not use the provided function in xsibackup?

save a copy of the xsibackup, if any
run xsibackup --inst-cron

edit the file xsibackup-cron and add your backup jobs

lot of useful articles in blog [url]https://33hops.com/blog-main.asp[/url] and man page [url=https://33hops.com/xsibackup-help-man-page.html](c)XSIBackup Classic Man Page[/url]

#64 Re: © OneDiff » error: first 50M mistmatch » 2017-09-12 18:06:34

Happens randomly, vanishing the performance of OneDiff..., also still getting "Segmentation fault" and even "error seeking file" "file too large"

#65 Re: © OneDiff » Bug in OneDiff logic? Hard to replicate... » 2017-09-05 06:43:03

thanks, solved adding a new disk, and then removing it, from the vSphere client, the ghost disk disappeared.

#66 Re: General matters » how to only backup one VM » 2017-09-05 06:41:11

--backup-type=custom --backup-vms=Nextcloud1

#67 Re: © OneDiff » Bug in OneDiff logic? Hard to replicate... » 2017-09-04 13:58:16

[quote=admin]Run this and note the output

cat /vmfs/volumes/datastore1/BKPMAN/BKPMAN.vmx | grep ".vmdk"

XSIBackup just collects the information present in the configuration files[/quote]


scsi0:1.fileName = "/vmfs/volumes/52af331b-f40ac352-efea-5cf3fcb0ddc1/temp/WinServer2012_01_1.vmdk"

You are right, wow, seems a ghost disk, not appearing in VM settings, do you think i can safely remove that line?

Also i noticed another strange behaviour, if launch a remote backup job (other host, datastore on NAS in the internal lan, other than the datastore of the VM) using onediff, the VM *_XSIBAK are not created, is it normal? If i launch the job within then host they are created.

#68 © OneDiff » Bug in OneDiff logic? Hard to replicate... » 2017-09-04 13:32:16

sistemi
Replies: 4

During a OneDiff backup i see this, look at the last line, there is no such disk in the BKPMAN VM, how can it happen?


VMs to backup:
-----------------------------------------------------------------------------------------------------------------------
34     BKPMAN              [datastore1] BKPMAN/BKPMAN.vmx                                      windows7_64Guest        vmx-08                                                       
----------------------------------------------------------------------------------------------------------------------
Needed room: 71 Gb.
Sparse size: 71 Gb.
Available room: 2189 Gb.
-------------------------------------------------------------------------------------------------------------------------
Excerpt
-------------------------------------------------------------------------------------------------------------------------
Hot backup selected for VM: [BKPMAN], will not be switched off
-----------------------------------------------------------------------------------------------------------------------
Alert: Windows 64 bit OS (windows7_64) detected on MBR partition, quiescing disabled
Alert: double check that your backups are being made properly if you use Windows Server
------------------------------------------------------------------------------------------------------------------------
[BKPMAN] info: quick size check...
--------------------------------------------------------------------------------------------------------------------------
[BKPMAN] info: file [BKPMAN-flat.vmdk]...
[BKPMAN] info: file size check | OK [ 75161927680 bytes | 75161927680 bytes ]
--------------------------------------------------------------------------------------------------------------------------
[BKPMAN] notice DIFRMMIS: no [WinServer2012_01_1-flat.vmdk"] in remote OneDiff mirror, first run?.

#69 © OneDiff » "nested" onediff backup » 2017-09-04 12:46:54

sistemi
Replies: 1

Scenario:

several VM backed up with differential onediff from hostA to a NAS datastore. What can happen if i try to backup, using onediff, the XSIBAK VM's from hostA to another esxi hostB?

#70 Re: © OneDiff » error: first 50M mistmatch » 2017-09-01 11:25:14

Sorry, I mean the second diff backup, I saw that after the first error the next backup was "full", perhaps something was wrong during the remote rsync copy of the delta snaphot...

#71 Re: © OneDiff » error: first 50M mistmatch » 2017-09-01 10:15:04

During xsidiff testing i tried to backup a VM in "hostB" located on public hosting provider with 100Mbit internet bandwidth, launching the backup from "hostA" located in my office. The first try (or second i'm not sure) raise the 50M error, repeating the test (to verify the speed of xsidiff backup) the error didn't happen, with the backup successfully executed in a few minutes. Hope helps debugging...

#72 © OneDiff » XsiDiff with powered off machine » 2017-09-01 10:08:54

sistemi
Replies: 1

HI, I have some Windows Server 2012 VM, I used to cold backup them to avoid the known problems with MBR, but they are very large, so: will xsidiff work with a powered off VM? I need a lot of time to set a test, so i try to ask to the guru... thanks!

Board footer