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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Weekly Backup » 2021-02-15 11:26:26

Hi,
The problem is, I should be using different USB hard drives for each day. Each hard drive is replaced manually
One hard drive is for Monday, another for Tuesday, one for Wednesday and so on, each hard drive label is marked "USB Backup".
I registered the VM from every "USB backup" hard drive.
This works, but the problem right now is that XSI Backup does a full backup every night (CID), not a differential backup on every "USB backup" hard disk.

Here is the job:

--backup-prog=OneDiff \
--backup-point=/vmfs/volumes/USB-Backup/vm \
--backup-type=Custom \
--backup-vms="WindowsServer12" \
--backup-how=Cold \
--backup-id=4 \
--description="WindowsServer-4"

#2 General matters » Weekly Backup » 2021-02-13 12:56:17

Nils
Replies: 3

Hi,
is it possible to do a weekly backup with OneDiff Option.
To use every day a different harddrives datastores per rotation?
Seven harddrives with the same label. Change every day the harddrive for the backup.
Greetings,
Nils

#3 Re: General matters » CID changed » 2021-02-13 07:24:49

Hi,
i think the problem is, that after the backup there is no XSIBAK found in the web-backend.
But the backup finished without any errors.
(An other VM with same folder works fine and created the XSIBAK entry in the web-backend)
How could I create the XSIBAK entry?

Here the log:
###############################################################################
2021-02-12T21:14:44|     XSIBACKUP-PRO 11.2.19: new execution request
2021-02-12T21:14:44|  ###############################################################################
2021-02-12T21:14:44|
2021-02-12T21:14:45|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:          2108827                                              doehring.fritz.box
Fri, 12 Feb 2021 21:14:44 +0000                                IPv4: 192.168.1.30/255.255.255.0
VMware ESXi 6.7.0 build-14320388                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:                    4                       Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:45|  Backup description: WindowsServer-4
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:45|  Alert: crontab is not installed for user root
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:47|  Backup user is: root
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:47|  Backup program is: onediff
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:48|  --backup-point found at /vmfs/volumes/USB-Backup/vm (filesystem: VMFS-6)
---------------------------------------------------------------------------------------------------------------------------------
E-mail Warnings
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:48|  The e-mail report will not be sent because of the followig reasons:
2021-02-12T21:14:48|  The --mail-from string has not been set
2021-02-12T21:14:48|  The --smtp-srv string has not been set
2021-02-12T21:14:48|  The --smtp-port string has not been set
2021-02-12T21:14:48|  The --smtp-usr string has not been set, you need --smtp-usr if --smtp-auth is other than -none-
2021-02-12T21:14:48|  The --smtp-pwd string has not been set, you need --smtp-pwd if --smtp-auth is other than -none-
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:49|  Getting list of all VMs...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:49|  13     WindowsClient      [datastore1] vm/Windows7/Windows 7.vmx                         windows9Guest           vmx-15
2021-02-12T21:14:50|  17     WindowsServer      [datastore1] vm/WindowsServer/Windows Server 2008 R2 x64.vmx   windows8Server64Guest   vmx-15
2021-02-12T21:14:51|  7      Routerneu          [datastore1] vm/Routerneu/Routerneu.vmx                        debian8Guest            vmx-14
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:51|  VMs to backup:
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:51|  17     WindowsServer      [datastore1] vm/WindowsServer/Windows Server 2008 R2 x64.vmx   windows8Server64Guest   vmx-15
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:54|  Calculating sizes...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:57|  Needed room: 715 Gb.
2021-02-12T21:14:57|  Sparse size: 763 Gb.
2021-02-12T21:14:57|  Available room: 1861 Gb.
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:58|  [WindowsServer] Starting backup (size is 732675M on 781312M file)
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:59|  You have chosen to perform a cold backup. The VM will be switched off to perform the backup
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:14:59|  Stopping VM [WindowsServer]
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:29|  Sleeping :-o 30 s, waiting for VM to be off
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:30|  [WindowsServer] info: boot partition is MBR
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:30|  [WindowsServer] info: Win64 OS (windows8Server64) detected on MBR, applying Windows algorithm
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:33|  [WindowsServer] notice DIFRMMIS: no [WindowsServer-flat.vmdk] in remote OneDiff mirror, first run?.
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:33|  [WindowsServer] notice DIFRMMIS: no [WindowsServerExtern1-flat.vmdk] in remote OneDiff mirror, first run?.
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:33|  [WindowsServer] (c) OneDiff algorithm
---------------------------------------------------------------------------------------------------------------------------------
[WindowsServer] info: OneDiff backup first run, removing snapshots
[WindowsServer] info: all snapshots removed
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:34|  Snapshot & Quiescing
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:34|  [WindowsServer] info: VMWare Tools detected, taking snapshot QUIESCED(false)...
2021-02-12T21:15:34|  [WindowsServer] info: set argument --snapshot=doquiesce to quiesce your VMs
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:34|  [WindowsServer] info: round 1
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:40|  [WindowsServer] info: snapshot taken, quiescing status:
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:42|  Removing snapshots, please wait...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:42|  Syncronizing config files
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:45|  Backing up virtual disks...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:15:45|  scsi0:0.fileName = "WindowsServer.vmdk"
2021-02-12T21:15:45|  scsi0:1.fileName = "WindowsServerExtern1.vmdk"
---------------------------------------------------------------------------------------------------------------------------------
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/datastore1/vm/WindowsServer/WindowsServer.vmdk'...
Clone: 100% done.
---------------------------------------------------------------------------------------------------------------------------------
2021-02-12T21:27:19|  [WindowsServer] Disk copied to /vmfs/volumes/USB-Backup/vm/WindowsServer/WindowsServer.vmdk
---------------------------------------------------------------------------------------------------------------------------------
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/datastore1/vm/WindowsServer/WindowsServerExtern1.vmdk'...
Clone: 100% done.
---------------------------------------------------------------------------------------------------------------------------------
2021-02-13T00:25:24|  [WindowsServer] Disk copied to /vmfs/volumes/USB-Backup/vm/WindowsServer/WindowsServerExtern1.vmdk
---------------------------------------------------------------------------------------------------------------------------------
2021-02-13T00:25:25|  [WindowsServer] info: Updating CID at [/vmfs/volumes/USB-Backup/vm/WindowsServer/WindowsServer.vmdk]
2021-02-13T00:25:25|  [WindowsServer] info: finished OneDiff backup, CID updated
2021-02-13T00:25:25|  [WindowsServer] info: backup complete
2021-02-13T00:25:25|  [WindowsServer] info: finished doing a first copy in a diff scope, subsequent backups will be differential
2021-02-13T00:25:25|  [WindowsServer] info: should you need to use the mirror VM, register it manually at the backup ESXi host
---------------------------------------------------------------------------------------------------------------------------------
2021-02-13T00:25:39|  [WindowsServer] info: bringing VM up again
---------------------------------------------------------------------------------------------------------------------------------
2021-02-13T00:25:45|  The ESXi configuration was saved to "/vmfs/volumes/USB-Backup/vm"
---------------------------------------------------------------------------------------------------------------------------------
2021-02-13T00:25:45|  No errors detected in backup
---------------------------------------------------------------------------------------------------------------------------------
2021-02-13T00:25:45|  Backup finished
2021-02-13T00:25:45|  Tip: no chained backups scheduled, set --on-success and/or --on-error arguments to chain a backup

#4 General matters » CID changed » 2021-02-12 17:40:37

Nils
Replies: 3

Hi,
My backup starts every day a full backup:
The system disk CID has changed, OneDiff backup will be initialized and a full backup made...

So what is the CID and can I change them
or why this CID changes?

Grettings,
Nils

#5 Re: General matters » safe local backup » 2021-02-09 14:52:52

Thanks you for your help.

A new problem.
I backup a 8Gb Linux vm. ESXI 6.7u2

Config:
"/vmfs/volumes/datastore1/backup/XSIBackup-Pro/xsibackup" \
--backup-prog=OneDiff \
--backup-point=/vmfs/volumes/datastore2/vm/ \
--backup-type=Custom \
--backup-vms="Routerneu" \
--backup-how=Hot \
--backup-id=1 \
--description="Routerneu-1" \
--exec=yes >> "/vmfs/volumes/datastore1/backup/XSIBackup-Pro/var/logs/xsibackup.log"

The first backup is ok without any error.

In the vm filesystem there now new Snapshots with
Routerneu-000001-sesparse.vmdk
Routerneu-000001.vmdk

The second backup brings errors: CPERROR2 error: (c) XSIDiff 2.0.0.0 not licensed (20.00 GB limit)

What is wrong?



My log file:
2021-02-09T14:41:53|  [Routerneu] Starting backup (size is 6168M on 6188M file)
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:53|  XSIBackup will backup your VMs while they are running, so that users can continue to use the VM
2021-02-09T14:41:53|  while the backup is taking place. You can also run --backup-how=cold|warm
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:53|  Hot backup selected for VM: [Routerneu], will not be switched off
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:54|  [Routerneu] info: boot partition is MBR
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  [Routerneu] info: quick size check...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  [Routerneu] info: file [Routerneu-flat.vmdk]...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  [Routerneu] info: file size check | OK [ 6442450944 bytes | 6442450944 bytes ]
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  [Routerneu] info: remote VMX file size 3008
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  System disk CIDs 8db41b57|8db41b57
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  [Routerneu] (c) OneDiff algorithm
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  Mirror VM exists and the system disks CID are the same, starting OneDiff...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:56|  [Routerneu] info: length of .vmx file before OneDiff phase is 3007
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:57|  Snapshot & Quiescing
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:57|  [Routerneu] info: VMWare Tools detected, taking snapshot QUIESCED(false)...
2021-02-09T14:41:57|  [Routerneu] info: set argument --snapshot=doquiesce to quiesce your VMs
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:41:57|  [Routerneu] info: round 2
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:03|  [Routerneu] info: snapshot taken, quiescing status:
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:04|  INFO: found [Routerneu_XSIBAK] with Id: 8
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:04|  Initiating OneDiff differential backup...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:04|  [Routerneu] info: delta remains cleaned up at mirror VM [Routerneu_XSIBAK]
---------------------------------------------------------------------------------------------------------------------------------
[Routerneu] info: transfering snapshot file [Routerneu-Snapshot15.vmsn]
A full file copy will be performed, no meta-data available
Reading from file /vmfs/volumes/datastore1/vm/Routerneu/Routerneu-Snapshot15.vmsn
Writing to file /vmfs/volumes/datastore2/vm/Routerneu/Routerneu-Snapshot15.vmsn
Set input file offset to 0 bytes
100.00% done
Time taken: 1 seconds
Speed 1.00 mb/s
Overall speed 0.03 mb/s
2021-02-09T14:42:05|  [Routerneu] CPERROR2 error: (c) XSIDiff 2.0.0.0 not licensed (20.00 GB limit)
2021-02-09T14:42:05|
---------------------------------------------------------------------------------------------------------------------------------
[Routerneu] info: transfering snapshot file [Routerneu-000001.vmdk]
A full file copy will be performed, no meta-data available
Reading from file /vmfs/volumes/datastore1/vm/Routerneu/Routerneu-000001.vmdk
Writing to file /vmfs/volumes/datastore2/vm/Routerneu/Routerneu-000001.vmdk
Set input file offset to 0 bytes
100.00% done
Time taken: 1 seconds
Speed 1.00 mb/s
Overall speed 0.00 mb/s
2021-02-09T14:42:06|  [Routerneu] CPERROR2 error: (c) XSIDiff 2.0.0.0 not licensed (20.00 GB limit)
2021-02-09T14:42:06|
---------------------------------------------------------------------------------------------------------------------------------
[Routerneu] info: transfering snapshot file [Routerneu-000001-sesparse.vmdk]
A full file copy will be performed, no meta-data available
Reading from file /vmfs/volumes/datastore1/vm/Routerneu/Routerneu-000001-sesparse.vmdk
Writing to file /vmfs/volumes/datastore2/vm/Routerneu/Routerneu-000001-sesparse.vmdk
Set input file offset to 0 bytes
100.00% done
Time taken: 2 seconds
Speed 22.50 mb/s
Overall speed 22.00 mb/s
2021-02-09T14:42:09|  [Routerneu] CPERROR2 error: (c) XSIDiff 2.0.0.0 not licensed (20.00 GB limit)
2021-02-09T14:42:09|
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:10|  [Routerneu] info: length of remote .vmx file after copying it is 3007
2021-02-09T14:42:10|  [Routerneu] info: length of remote .vmx after replacing name is 3014
2021-02-09T14:42:10|  [Routerneu] info: name changed to [Routerneu_XSIBAK]
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:10|  Removing hot snapshot & merging data
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:12|  [Routerneu] info: OneDiff backup differential data (15) merged with base data
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:12|  [Routerneu] info: diff mirror VM reloaded
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:12|  [Routerneu] info: deleting snapshot at [Routerneu_XSIBAK] Id 8...
2021-02-09T14:42:14|  [Routerneu] info: all snapshots removed
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:14|  [Routerneu] info: Updating CID at [/vmfs/volumes/datastore2/vm/Routerneu/Routerneu.vmdk]
2021-02-09T14:42:14|  [Routerneu] info: finished OneDiff backup, CID updated
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:15|  [Routerneu] info: performing quick check...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:15|  [Routerneu] info: file [Routerneu-flat.vmdk]...
2021-02-09T14:42:15|  [Routerneu] info: file size check | OK [ 6442450944B | 6442450944B ]
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:15|  [Routerneu] info: comparing first 500M of [Routerneu-flat.vmdk]...
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:25|  [Routerneu] info: (source) first 500M hash is: 2e896d121f913123082153413478274083269e4c
2021-02-09T14:42:25|  [Routerneu] info: (target) first 500M hash is: 2e896d121f913123082153413478274083269e4c
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:25|  [Routerneu] info: first 500M check | OK [ 2e896d121f913123082153413478274083269e4c ]
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:25|  [Routerneu] info: [Routerneu-flat.vmdk] not a thin disk or FS not VMFS, used size check skipped
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:41|  The ESXi configuration was saved to "/vmfs/volumes/datastore2/vm"
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:41|  Errors detected in backup, check logs
---------------------------------------------------------------------------------------------------------------------------------
2021-02-09T14:42:41|  Backup finished
2021-02-09T14:42:41|  Tip: no chained backups scheduled, set --on-success and/or --on-error arguments to chain a backup
---------------------------------------------------------------------------------------------------------------------------------

#6 General matters » safe local backup » 2021-02-08 08:46:53

Nils
Replies: 3

Hi,
I use XSIBackup PRO and there are many options. ;-)

So, what ist the safest --backup-prog (and fast) way to backup a 800GB data.vmdk with a running (hot) Windows Server and many databases
from the local datastore1 to a local datastore2 on the same host?

--backup-prog vmkfstools onediff or xsitools?

It is safer to use the warm mode?

Thanks for help,
Nils

Board footer