#1 2020-06-27 18:44:20

sphen
Member
Registered: 2020-06-13
Posts: 45

--prune and --info local only?

Just wanted to check as I didnt see it explicitly in the documentation, but do --info and --prune operations only work on a local repo? I get errors when using a remote location for either operation but on the receiver end a local path works. The remote repo path is the exact same as what I use for the working --backup operation.

[root@supernaut:~] /vmfs/volumes/SSD2-Super/XSIBackup-DC/xsibackup --prune root@192.168.246.77:22:/media/wesley/20200626200211 --ssh-ciphers=aes128-ctr --verbosity=10

|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-DC 1.3.0.2: Backup & Replication Software                    |||
|||   (c)33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved    |||
||-------------------------------------------------------------------------------||
|---------------------------------------------------------------------------------|
                   (c)Daniel J. Garcia Fidalgo | info@33hops.com
|---------------------------------------------------------------------------------|
System Information: ESXi, Kernel 6 Major 7 Minor 0 Patch 0
-----------------------------------------------------------------------------------------------------------
License: unlicensed trial version
-----------------------------------------------------------------------------------------------------------
Primary TMP folder: /tmp/xsi/2171690
-----------------------------------------------------------------------------------------------------------
Secondary TMP folder: /vmfs/volumes/SSD2-Super/XSIBackup-DC/tmp/2171690
-----------------------------------------------------------------------------------------------------------
User defined ciphers: aes128-ctr
-----------------------------------------------------------------------------------------------------------
PID: 2171690, Running job as: root
-----------------------------------------------------------------------------------------------------------
REGEX check failed for root@192.168.246.77:22:/media/wesley/20200626200211 with pattern ^[-0-9a-zA-Z./_()# ]*$
2020-06-27T18:40:33 | Error code 2090 at file xsibackup.c, line 2090
Error description: when the action is --prune, third argument must be a local or remote path string, passed: root@192.168.246.77:22:/media/wesley/20200626200211
-----------------------------------------------------------------------------------------------------------
Removed <tmp> dir        OK
-----------------------------------------------------------------------------------------------------------
Removed PID              OK
-----------------------------------------------------------------------------------------------------------
[root@supernaut:~] /vmfs/volumes/SSD2-Super/XSIBackup-DC/xsibackup --info root@192.168.246.77:22:/media/wesley --ssh-ciphers=aes128-ctr  --verbosity=10
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-DC 1.3.0.2: Backup & Replication Software                    |||
|||   (c)33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved    |||
||-------------------------------------------------------------------------------||
|---------------------------------------------------------------------------------|
                   (c)Daniel J. Garcia Fidalgo | info@33hops.com
|---------------------------------------------------------------------------------|
System Information: ESXi, Kernel 6 Major 7 Minor 0 Patch 0
-----------------------------------------------------------------------------------------------------------
License: unlicensed trial version
-----------------------------------------------------------------------------------------------------------
Primary TMP folder: /tmp/xsi/2171716
-----------------------------------------------------------------------------------------------------------
Secondary TMP folder: /vmfs/volumes/SSD2-Super/XSIBackup-DC/tmp/2171716
-----------------------------------------------------------------------------------------------------------
User defined ciphers: aes128-ctr
-----------------------------------------------------------------------------------------------------------
PID: 2171716, Running job as: root
-----------------------------------------------------------------------------------------------------------
REGEX check failed for root@192.168.246.77:22:/media/wesley with pattern ^[-0-9a-zA-Z./_()# ]*$
2020-06-27T18:40:42 | Error code 2036 at file xsibackup.c, line 2036
Error description: you must set a valid repo path as the second argument after --info
-----------------------------------------------------------------------------------------------------------
Removed <tmp> dir        OK
-----------------------------------------------------------------------------------------------------------
Removed PID              OK
-----------------------------------------------------------------------------------------------------------

on remote:

[root@supernaut:~] /vmfs/volumes/SSD2-Super/XSIBackup-DC/xsibackup --info root@192.168.246.77:22:/media/wesley --ssh-ciphers=aes128-ctr  --verbosity=1
0
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-DC 1.3.0.2: Backup & Replication Software                    |||
|||   (c)33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved    |||
||-------------------------------------------------------------------------------||
|---------------------------------------------------------------------------------|
                   (c)Daniel J. Garcia Fidalgo | info@33hops.com
|---------------------------------------------------------------------------------|
System Information: ESXi, Kernel 6 Major 7 Minor 0 Patch 0
-----------------------------------------------------------------------------------------------------------
License: unlicensed trial version
-----------------------------------------------------------------------------------------------------------
Primary TMP folder: /tmp/xsi/2171716
-----------------------------------------------------------------------------------------------------------
Secondary TMP folder: /vmfs/volumes/SSD2-Super/XSIBackup-DC/tmp/2171716
-----------------------------------------------------------------------------------------------------------
User defined ciphers: aes128-ctr
-----------------------------------------------------------------------------------------------------------
PID: 2171716, Running job as: root
-----------------------------------------------------------------------------------------------------------
REGEX check failed for root@192.168.246.77:22:/media/wesley with pattern ^[-0-9a-zA-Z./_()# ]*$
2020-06-27T18:40:42 | Error code 2036 at file xsibackup.c, line 2036
Error description: you must set a valid repo path as the second argument after --info
-----------------------------------------------------------------------------------------------------------
Removed <tmp> dir        OK
-----------------------------------------------------------------------------------------------------------
Removed PID              OK
-----------------------------------------------------------------------------------------------------------

Offline

#2 2020-06-27 18:46:44

sphen
Member
Registered: 2020-06-13
Posts: 45

Re: --prune and --info local only?

also should i be concerned about the errors:

Error description: can't get blocksize, bad .blocklog format?, details: No such file or directory

Offline

#3 2020-06-28 12:51:52

admin
Administrator
Registered: 2017-04-21
Posts: 1,366

Re: --prune and --info local only?

Yes, they are local options.
Only --backup and --replica arguments need to be licensed to work without restrictions.

Offline

#4 2020-06-28 13:01:12

sphen
Member
Registered: 2020-06-13
Posts: 45

Re: --prune and --info local only?

thanks - i would propose you change this message then and exclude remote:

Error description: when the action is --prune, third argument must be a local or remote path string, passed:

Offline

#5 2020-06-28 14:24:43

admin
Administrator
Registered: 2017-04-21
Posts: 1,366

Re: --prune and --info local only?

--prune does indeed work on remote repositories, it is an internal feature though, we will change that message.

Offline

Board footer