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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Permission Denied error » 2017-09-21 21:53:47

ld

My apologies for taking your time. I can now plainly see why the error occurs and the distinction you made on how the command is run. Again apologies

#2 Re: General matters » Permission Denied error » 2017-09-12 17:21:35

ld

Admin:
Sorry for the slow response.
Your reply on 8/25 is correct.
However when I execute ~# /vmfs/volumes/datastore1/xsi-dir/ ./xsibackup ........... it returns: Permission Denied (I have tried with and without the trailing /)

#3 Re: General matters » Permission Denied error » 2017-08-25 20:37:44

ld

Thank You for the reply

The error is not when I run the install script (output of the script results I posted )

The error happens when I test a backup
./xsibackup  --backup-point=/vmfs/volumes/datastore1 --backup-type=custom --backup-vms="SBS_2011" --mail-from=xsibackup@XXXXX --mail-to=alerts@XXXXX --smtp-srv=192.168.XX.21 --smtp-port=25 --smtp-usr=User@XXXXXX --smtp-pwd=xxxx --testmode=true

#4 Re: General matters » Permission Denied error » 2017-08-18 14:01:20

ld

Script results

login as: root
Using keyboard-interactive authentication.
Password:
The time and date of this login have been sent to the system logs.

The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # cd /vmfs/volumes/datastore1/xsi-dir 2>/dev/null || mkdir /vmfs/volumes/datastore1/xsi-dir && \
> cd /vmfs/volumes/datastore1/xsi-dir && \
> esxcli network firewall unload && \
> wget /?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -O
xsibackup.zip && \
> unzip -o xsibackup.zip || cat xsibackup.zip && echo "" && \
> chmod -R 0700 xsibackup* bin && \
> rm -rf xsibackup.zip && \
> esxcli network firewall load
Connecting to a.33hops.com (188.165.2.135:80)
xsibackup.zip        100% |*************************************************************|   548k  0:00:00 ETA
Archive:  xsibackup.zip
   creating: src/
  inflating: src/borg
  inflating: src/custimg
  inflating: src/esxbackup
  inflating: src/events
  inflating: src/onediff
  inflating: src/restore
  inflating: src/sendmail
  inflating: src/smartinfo
  inflating: src/xsitools
  inflating: EULA
  inflating: README.txt
  inflating: xsibackup
   creating: bin/
  inflating: bin/xsibackup-rsync
   creating: conf/
  inflating: conf/smtpsrvs

/vmfs/volumes/4e663636-31183741-349e-e41f13bd797a/xsi-dir # ./xsibackup
###########################################################################
#                XSIBACKUP-FREE: END-USER LICENSE AGREEMENT               #
###########################################################################



COPYRIGHT 2015 | DANIEL JESUS GARCIA FIDALGO
33HOPS, SISTEMAS DE INFORMACIÃN Y REDES, S.L.

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.

YOU CAN DOWNLOAD RSYNC SOURCE CODE AT:
HTTPS://DOWNLOAD.SAMBA.ORG/PUB/RSYNC/

YOU CAN REVIEW RSYNC LICENSE AT:
HTTPS://RSYNC.SAMBA.ORG/GPL.HTML

I ACCEPT THE LICENSE AGREEMENT (y/n) y

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

XSIBackup PID:          1168930                                 localhost.localdomain
Preparing help, please wait...
XSIBACKUP-FREE 9.1.9

#5 Re: General matters » Permission Denied error » 2017-08-18 13:57:40

ld

Thank you for your reply!

I followed the advice with no change in error message

Then I deleted the complete xsi-dir directory on datastore1, requested new key, installed xsibackup via the included script (as root)

ran ./xsibackup after the script finished. I got the help/usage page, ran ./xsibackup --install-cron (it said it was already installed, did not replace it)

I get the same -sh: /vmfs/volumes/datastore1/xsi-dir: Permission denied

#6 General matters » Permission Denied error » 2017-08-12 22:28:53

ld
Replies: 9

Hello,
I have a fresh install of xsibackup (downloaded and installed today 8/11/2017) running on ESXi 5.5.0.
When I try to run the backup via ssh (logged in as root) it gives the error  -sh: /vmfs/volumes/datastore1/xsi-dir: Permission denied

The command I
/vmfs/volumes/datastore1/xsi-dir ./xsibackup  --backup-point=/vmfs/volumes/datastore1 --backup-type=custom --backup-vms="SBS_2011" --mail-from=xsibackup@XXXXX --mail-to=alerts@XXXXX --smtp-srv=192.168.XX.21 --smtp-port=25 --smtp-usr=User@XXXXXX --smtp-pwd=xxxx --testmode=true


I have used xsibackup before (though I am still learning the power)

Thank You in Advance

Board footer