port parsing issues during repository initialization
- Pika backup version: 0.4.2
- Installation method: Flathub
-
uname -a
:Linux matebook 6.0.2-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:51 +0000 x86_64 GNU/Linux
- Repository location: ssh-server
Steps to reproduce 1:
ssh remote_user@remote_host mkdir -p Backup/local_hostname
- Open Pika Backup
- Create Backup
- Remote Location
-
ssh://remote_user@remote_host:/~/Backup/local_hostname
, no encrypton - click Create
- error message:
failed to Initialize Repository, usage: borg init...
Steps to reproduce 2:
ssh user@remote_host mkdir -p Backup/local_hostname
- Open Pika Backup
- Create Backup
- Remote Location
-
ssh://remote_user@remote_host:~/Backup/local_hostname
, no encrypton - click Create
- error message:
Invalid Remote Location, could not parse port "~"
Workaround 1:
ssh user@remote_host mkdir -p Backup/local_hostname
- Open Pika Backup
- Create Backup
- Remote Location
-
ssh://remote_user@remote_host:22:/home/remote_user/Backup/local_hostname
, no encrypton - click Create
Workaround 2:
ssh user@remote_host mkdir -p Backup/local_hostname
- Open Pika Backup
- Create Backup
- Remote Location
-
ssh://remote_user@remote_host:22/~/Backup/local_host
, no encrypton - click Create
Issues:
- suggested example uses relative and absolute path:
/~
while it should pick one or the other as an example. Here is a valid syntax for copying stuff with scp:scp local_file remote_user@remote_host:~/remote_path_inside_home_dir
- Pika Backup fails to distinguish between port and relative path. It should handle both imo.
Edited by Pavel Skipenes