YunoHost-Apps / borg_ynh

An experimental Borg implementation for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
19 stars 25 forks source link

Extract archive without data is not working #121

Closed tio-trom closed 2 years ago

tio-trom commented 2 years ago

I get this error:

BORG_RSH="ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=yes " borg export-tar -e apps/nextcloud/backup/home/yunohost.app $SRV::_auto_nextcloud-2022-02-21_00:39 /home/yunohost.backup/archives/_auto_nextcloud-2022-02-21_00:39.tar.gz
usage: borg export-tar [-h] [--critical] [--error] [--warning] [--info]
                       [--debug] [--debug-topic TOPIC] [-p] [--log-json]
                       [--lock-wait SECONDS] [--bypass-lock] [--show-version]
                       [--show-rc] [--umask M] [--remote-path PATH]
                       [--remote-ratelimit RATE] [--consider-part-files]
                       [--debug-profile FILE] [--rsh RSH]
                       [--tar-filter TAR_FILTER] [--list] [-e PATTERN]
                       [--exclude-from EXCLUDEFILE] [--pattern PATTERN]
                       [--patterns-from PATTERNFILE]
                       [--strip-components NUMBER]
                       ARCHIVE FILE [PATH [PATH ...]]
borg export-tar: error: argument ARCHIVE: Invalid location format: "::_auto_nextcloud-2022-02-21_00:39"

Maybe something in the syntax is wrong?