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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Problem with a permission while trying to copy files from datastore » 2021-01-14 12:14:22

Can you explain more detail please? For example, I have a Windows domain "company.local" and my account is "user". So I provide full rights to NFS shared folder for "user@domain.local". But all the images which XSI backup created before is for "root". So should I manually assign permissions for "user@domain.local" each time?

#2 General matters » Problem with a permission while trying to copy files from datastore » 2021-01-14 10:08:54

Evgeny
Replies: 2

Hello! Faced with a problem using NFS datastore - I have NAS with some shared folders, for example, 'vm'. So I connected this folder as datastore to my ESXi host. And I run backup tasks using XSI-backup-free - as a result there are backup images on this shared folder, it's OK. But If I try to mount folder 'vm' as a network drive in Windows 10 I can only see these images but can't copy/remove/delete any of them. Looks like is a problem with permissions: all the images has been created from ESXi root (owner/group) - how to get them from Windows 10 (from network drive)?

Upd: There is only way to get such images - to use WinSCP. But it's not a good decision...

#4 Re: General matters » Getting CLVMKFS1 error 39 during crontask » 2020-12-21 12:03:48

If we have more than one ESXi 7 host - should we need to buy DC edition for each server?

#5 Re: General matters » Getting CLVMKFS1 error 39 during crontask » 2020-12-21 08:07:42

So I should buy DC or Pro version to backup VM's in "hot" status?

#6 Re: General matters » Getting CLVMKFS1 error 39 during crontask » 2020-12-20 16:25:59

I just removed old backup manually and run again - it's OK now. Just one more question - can I use XSI-free with ESXi 7? See error "Only --backup-prog=Vmkfstools is supported in (c)VMWare (c)ESXI 7" while running job on my ESXi 7.

#7 General matters » Getting CLVMKFS1 error 39 during crontask » 2020-12-19 19:08:38

Evgeny
Replies: 7

Hello, faced with some trouble while running one of the jobs - CLVMKFS1 error: Failed to clone disk: The file already exists (39). And finally backup job has finished but Copy=KO! (Last error raised for the above VM:ERROR CLVMKFS1, details: [my_VM] error: vmkfstools error, details: Failed to clone disk: The file already exists (39). Please help to fix it. I'm using ESXi 6.5

#8 Re: General matters » Can't install XSI free - need /scratch (solved) » 2020-12-10 12:10:39

Thanks a lot - problem has been solved :-) Just one more question - should I delete backup files each time before a new job? For example, I have /vmfs/volumes/datastore1/vmbackup/dc folder and I run same job next week - will it rewrite existing files or not?

#9 General matters » Can't install XSI free - need /scratch (solved) » 2020-12-09 10:55:54

Evgeny
Replies: 4

Hello, need your help - trying to install XSI free to my old host (ESXi 5.5) but faced with trouble during install process:

         ->  XSIBackup Installation  <-
          ------------------------------

This will install XSIBackup to the desired directory
It is recommended that you use the root user for the
installation process, to avoid problems derived from
the lack of privileges.

Just provide the base path, the installation process
will create the XSIBackup-Pro root folder under it.

Where do you want to install XSIBackup to? (/scratch/XSI): /vmfs/volumes/datastore1/xsi-free
-----------------------------------------------------
Error: the provided path is not a directory
-----------------------------------------------------
Where do you want to install XSIBackup to? (/scratch/XSI): /vmfs/volumes/datastore1/
-----------------------------------------------------
Error: the provided path is not a directory
-----------------------------------------------------
Where do you want to install XSIBackup to? (/scratch/XSI):
-----------------------------------------------------
XSIBackup will be installed to the following directory:
-----------------------------------------------------
Install dir: /scratch/XSI/XSIBackup-Free
-----------------------------------------------------
Confirm that you want to install to the directory above (yes/no): no
-----------------------------------------------------
mkdir: can't create directory '/scratch/XSI': File exists

So I can't use my ordinary destination path to install XSI free. Why?

#11 Re: General matters » XSIBackup 11.2.8 - where is jobs directory? » 2020-02-17 07:24:08

Excuse me for disturbing but I found some problem; here is part of my /var/spool/cron/crontabs/root:

00 7 * * 7 /vmfs/volumes/datastore1/xsi-dir/jobs/001 # Added by XSIBackup
30 9 * * 7 /vmfs/volumes/datastore1/xsi-dir/jobs/002 # Added by XSIBackup

This should run every Sunday but it runs every day at the same time (7:00 AM and 9:00 AM in my example). Why?

#13 Re: General matters » XSIBackup 11.2.8 - where is jobs directory? » 2020-02-06 08:23:25

Please look - here is my actions with install:

[root@ESXi6:/tmp] ./install

          ------------------------------
          ->  XSIBackup Installation  <-
          ------------------------------

This will install XSIBackup to the desired directory
It is recommended that you use the root user for the
installation process, to avoid problems derived from
the lack of privileges.

Just provide the base path, the installation process
will create the xsi-dir root folder under it.

Where do you want to install XSIBackup to? (/vmfs/volumes/datastore1):
-----------------------------------------------------
XSIBackup will be installed to the following directory:
-----------------------------------------------------
Install dir: /vmfs/volumes/datastore1/xsi-dir
-----------------------------------------------------
Confirm that you want to install to the directory above (yes/no): yes
-----------------------------------------------------
Backing up configuration files directory...
-----------------------------------------------------
Backing up logs...
-----------------------------------------------------

Archive:  /vmfs/volumes/datastore1/xsi-dir/XSIBACKUP-FREE.zip
   creating: src/
  inflating: src/api
  inflating: src/cron-init
  inflating: src/functions
  inflating: src/instcron
  inflating: src/mapblocks
  inflating: src/onediff
  inflating: src/sendmail
  inflating: src/version
  inflating: src/xsitools
  inflating: EULA
  inflating: xsibackup
   creating: bin/
  inflating: bin/dd
  inflating: bin/pv
  inflating: bin/xsibackup-rsync
  inflating: bin/xsidiff
   creating: conf/
  inflating: conf/dialogrc
  inflating: conf/smtpsrvs
  inflating: conf/xsiopts
-----------------------------------------------------
Applying permissions to files...
-----------------------------------------------------
The software has been installed and permissions were applied
-----------------------------------------------------
Restoring configuration files...
-----------------------------------------------------
Restoring logs...
Do you want to execute (c)XSIBackup now (yes/no): yes
-----------------------------------------------------
--------------------------------------------------------------------------------------------
|                        Rsyslog is not available in XSIBACKUP-FREE                        |
|                          Get XSIBACKUP-PRO at https://33hops.com                          |
--------------------------------------------------------------------------------------------

######################################################
#     XSIBACKUP-FREE: END-USER LICENSE AGREEMENT     #
######################################################

LAST UPDATED: 2018-06-20 (FORMAT YYYY-MM-DD)

COPYRIGHT 2015-2018 | DANIEL JESUS GARCIA FIDALGO
33HOPS, SISTEMAS DE INFORMACION Y REDES, S.L.
ALL RIGHTS RESERVED

YOU ARE ALLOWED TO USE THIS SOFTWARE FOR PERSONAL OR
COMMERCIAL USE. YOU ARE ALLOWED TO REDISTRIBUTE IT
WITHOUT ANY MODIFICATION ON A ONE TO ONE BASE. YOU
CAN MODIFY IT'S SOURCE CODE FREELY JUST AS LONG AS
YOU DO NOT REDISTRIBUTE THE MODIFIED SOURCE CODE IN
ANY WAY.

THIS PROGRAM IS DISTRIBUTED AS IS WITHOUT ANY WARRANTY;
USE AT YOUR OWN RISK.

NOTE: RSYNC IS A DIFFERENT PROGRAM THAN XSIBACKUP RELEASED
UNDER A DIFFERENT LICENSE. XSIBACKUP MAKES USE OF RSYNC
THROUGH ITS COMMAND LINE OPTIONS AND IS USED AS A MERE
DEPENDENCY. XSIBACKUP LICENSE AFFECTS ONLY XSIBACKUP CODE.

I ACCEPT THE LICENSE AGREEMENT (yes/no) yes
------------------------------------------------------------------------------------------------------------------------------------------------------------
You can start now using XSIBACKUP-FREE 11.2.8

So I don't see XSI directory inside /scratch - why?

[root@ESXi6:/tmp] cd /scratch/
[root@ESXi6:/vmfs/volumes/59270233-2be3492c-356e-0cc47adb0a68] ls
core       downloads  log        var

#14 Re: General matters » XSIBackup 11.2.8 - where is jobs directory? » 2020-02-05 12:41:45

Have more questions about your example; you said I should create jobs directory in /scratch/XSI/XSIBackup but I have no such directories:

[root@ESXi6:/vmfs/volumes/59270233-2be3492c-356e-0cc47adb0a68] pwd
/scratch
[root@ESXi6:/vmfs/volumes/59270233-2be3492c-356e-0cc47adb0a68] ls -lh
total 1024
drwxr-xr-x    1 root     root           8 May 25  2017 core
drwxr-xr-x    1 root     root           8 May 25  2017 downloads
drwxr-xr-x    1 root     root           8 Feb  5 10:26 log
drwxr-xr-x    1 root     root           8 May 25  2017 var

So should I create at first XSI directory, then XSIBackup inside and after that - jobs directory?

#15 General matters » XSIBackup 11.2.8 - where is jobs directory? » 2020-01-28 12:26:34

Evgeny
Replies: 9

Hello, need your help :-( Already worked long time with XSIBackup free 6.0.11 - it was stable and comfortable. But some days ago I tried to install new version (11.2.8) onto my new host:

cd /tmp && \
esxcli network firewall unload && \
wget /?key=***************** -O XSIBACKUP-FREE-download.zip && \
unzip XSIBACKUP-FREE-download.zip && chmod 0700 install && ./install || cat xsibackup.zip && echo "" && \
rm -rf XSIBACKUP-FREE-download.zip && \
esxcli network firewall load

But all has been changed, reading the manual:

"- Backup jobs are no longer stored into the xsibackup-cron file, as it does not exist any more. They are now placed in the xsi-dir/jobs directory. You must assign these jobs an Id consisting in up to 3 numbers"

Strange, but I didn't find such directory (jobs). So I tried to run command:

/vmfs/volumes/datastore1/xsi-dir # ./xsibackup --cron-install

XSIBackup just tried to backup all my VM's but it didn't find path to backup location:

"Error RBAKSRV1: unable to determine the backup point location"

Anyway, there are still no jobs directory, no example job in this directory - nothing. Why?

#16 Re: General matters » Help to newbie with actual version » 2019-10-22 10:20:13

So what I've made at this moment: removed all the folder xsi-dir recursively, then run:

cd /tmp && \
esxcli network firewall unload && \
wget /?key=bq7l6puPB70NJk9dkgtxFfgr3xWpCZwpdFQQOUD3Dm21LPSIm4v1571735313865 -O XSIBACKUP-FREE-download.zip && \
unzip XSIBACKUP-FREE-download.zip && chmod 0700 install && ./install || cat xsibackup.zip && echo "" && \
rm -rf XSIBACKUP-FREE-download.zip && \
esxcli network firewall load

Accepted all the questions, install into /vmfs/volumes1/datastore1/xsi-dir Then I tried command:

cd /vmfs/volumes/datastore1/xsi-dir
./xsibackup --backup-point=/vmfs/volumes/datastore1/vmbackup --backup-type=custom --backup-vms="myvm" --mail-from=admin@
domain.com --mail-to=admin@
domain.com --smtp-srv=mail.domain.com --smtp-port=25 --smtp-usr=admin --smtp-pwd=adminpass

So this is works for me. But I can't find jobs folder (to run tasks by schedule) - should I create it manually or I did something wrong during install process?

#17 Re: General matters » Help to newbie with actual version » 2019-10-22 09:02:05

May be I should to remove application and install it again? How to completely remove XSIBackup from my host?

#18 Re: General matters » Help to newbie with actual version » 2019-10-21 15:53:23

Still not working :-( Once again, step by step:

/vmfs/volumes/datastore1/xsi-dir/jobs/001:
###############################
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=XSITools:z \

--backup-point="/vmfs/volumes/datastore1/vmbackup" \
--backup-type=Custom \
--backup-vms="vm.domain.com" \
--backup-how=Hot \
--date-dir=yes \

--use-smtp=1 \
--mail-to=admin@domain.com \
--backup-id=001 \
--description="XSITools backup of production VMs" \


--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"
####################################

Here is my config for mail server (/vmfs/volumes/datastore1/xsi-dir/conf/smtpsrvs):
1;mail.domain.com:25;admin@domain.com;admin;password;yes;TLS;0

And, this is cron (/vmfs/volumes/datastore1/xsi-dir/conf/root-crontab):
00 15 * * * "/vmfs/volumes/datastore1/xsi-dir/jobs/001"  #every day at 15:00

So I run /vmfs/volumes/datastore1/xsi-dir/xsibackup --update-cron after adding a line to root-crontab, it's OK

But I can't see any result of running XSIBackup 11 - log is also empty. What's wrong with my config? :-( Please help.

#19 Re: General matters » Help to newbie with actual version » 2019-10-21 13:36:05

I am sorry but - where is some option to provide mail server coordinates? For example, this is old syntax of XSIBackup:

"/vmfs/volumes/datastore1/xsi/xsibackup" --time="Tue 16:00" --backup-point="/vmfs/volumes/datastore1/backup" --backup-type=custom --backup-vms=dc.testdomain.com --mail-from=admin@testdomain.com --mail-to=admin@testdomain.com --smtp-srv=mail.testdomain.com --smtp-port=25 --smtp-usr=admin --smtp-pwd=password

How can I insert all these parameters to some of backup jobs?

#20 General matters » Help to newbie with actual version » 2019-10-02 15:17:05

Evgeny
Replies: 6

Hello! Faced with some trouble while installing actual version of XSIBACKUP-FREE - previous version looks like this: there was xsibackup-cron file (so I added necessary lines to it) and also there was file /var/spool/cron/crontabs/root:

#min hour day mon dow command
1    1    *   *   *   /sbin/tmpwatch.py
1    *    *   *   *   /sbin/auto-backup.sh
0    *    *   *   *   /usr/lib/vmware/vmksummary/log-heartbeat.py
*/5  *    *   *   *   /sbin/hostd-probe ++group=host/vim/vmvisor/hostd-probe
*/1 * * * * '/vmfs/volumes/datastore1/xsi/xsibackup-cron' >> '/vmfs/volumes/datastore1/xsi/xsibackup-cron.log' 2>&1

And now I cannot see last line in my /var/spool/cron/crontabs/root, instead I have a file /vmfs/volumes/datastore1/xsi-dir/conf/root-crontab but when I added all necessary lines (for example, "/vmfs/volumes/datastore1/xsi-dir/xsibackup" --time="Wed 14:55" --backup-point="/vmfs/volumes/datastore1/backup" --backup-type=custom --backup-vms=testvm) - nothing has happened. I can only use XSIBACKUP-FREE manually, typing in command line:

./xsibackup --time="Wed 14:55" --backup-point="/vmfs/volumes/datastore1/backup" --backup-type=custom --backup-vms=testvm

It works in this case. How can I use cron for my tasks? Thank you for answers.

#21 General matters » Can't run any schedule job » 2018-08-16 10:24:55

Evgeny
Replies: 1

Hello everybody! :-) Need some help - can't understand how to create and run schedule job in current version. Please look:

cat /vmfs/volumes/datastore1/xsi-dir/jobs/001
# This is a backup job file example. It starts with the path to your
# xsibackup file and ends with the redirection to the log file. Please
# do make sure that you keep first and last lines, changing paths to
# match your working environment.

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=XSITools:z \

--backup-point="/vmfs/volumes/datastore1/vmbackup" \
--backup-type=Custom \
--backup-vms="testvm" \
--backup-how=Hot \
--date-dir=yes \

--use-smtp=1 \
--mail-to=user12@domain.ru \
--backup-id=001 \
--description="XSITools backup of production VMs" \


--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"

So I found file root-crontab:

cat /vmfs/volumes/datastore1/xsi-dir/conf/root-crontab
# This crontab belongs to the root user, thus it starts by root-
# Add cron jobs to this file in the classic crond Linux way.
# This is an example of a backup job being run everyday at 2:00 a.m.
# change according to your needs and run ./xsibackup --update-cron
# min hour day mon dow command
09 10 * * * "/vmfs/volumes/datastore1/xsi-dir/jobs/001"

In my case it should run every day at 10:09 UTC but it doesn't work. And I don't see any entries to /vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log Why?

P.S. Already checked /conf/smtpsrvs - it works.

Board footer