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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2024-01-21 07:12:55

herrep
Member
From: Munich
Registered: 2019-07-08
Posts: 107

Redirect XSIBAckup-DC 1.7.1.7 output into a log file

Hi,

Before upgrading XSIBackup-DC to version 1.7.1.7 I was at 1.5.2.1 where I had no problems to invoke xsibackup while redirecting its output into a dedicated log file.  I used the following command, adapted to the new location of xsibackup:

TS=`date +%Y%m%d%H%M%S`
/scratch/XSI/XSIBackup-DC/xsibackup <options> >> "/scratch/XSI/XSIBackup-DC/var/log/xsibackup-$TS.log" 2>&1

The result now is that XSIBackup-DC creates a separate log file by its own, stored in /scratch/XSI/XSIBackup-DC/var/log/xsibackup.log. A very small portion of the log file content was in my file /scratch/XSI/XSIBackup-DC/var/log/xsibackup-$TS.log and another part in the automatically created /scratch/XSI/XSIBackup-DC/var/log/xsibackup.log.

As a second try, I removed my redirection and started again. Unfortunately, the written log file did not contain all the output that was shown on screen.

What I would like to obtain is that the full output is written into a file.

Do you have any hints as how to achieve this with the latest version of XSIBackup-DC?

Best regards,
Peter

Offline

#2 2024-01-25 06:29:44

admin
Administrator
Registered: 2017-04-21
Posts: 2,072

Re: Redirect XSIBAckup-DC 1.7.1.7 output into a log file

We created a date line prefixed log file as requested by the majority of users. This is also something rather canonical. If you miss some info in the log increase verbosity, if you still miss something create a feature request for that info to be added.

Offline

#3 Yesterday 17:23:23

herrep
Member
From: Munich
Registered: 2019-07-08
Posts: 107

Re: Redirect XSIBAckup-DC 1.7.1.7 output into a log file

I realized that the log file that is automatically written includes a lot of #00 (ASCII character zero) before the log output actually starts. How can this be avoided? Opening such a log file with a plain text editor causes problems as you need to scroll down a long time until the relevant log file content is visible.

Last edited by herrep (Yesterday 17:23:50)

Offline

Board footer