{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/851","repository_url":"https://api.github.com/repos/borgbackup/borg","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/851/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/851/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/851/events","html_url":"https://github.com/borgbackup/borg/issues/851","id":146422503,"number":851,"title":"Accessing a remote repo not on port 22","user":{"login":"module0x90","id":16229457,"avatar_url":"https://avatars.githubusercontent.com/u/16229457?v=3","gravatar_id":"","url":"https://api.github.com/users/module0x90","html_url":"https://github.com/module0x90","followers_url":"https://api.github.com/users/module0x90/followers","following_url":"https://api.github.com/users/module0x90/following{/other_user}","gists_url":"https://api.github.com/users/module0x90/gists{/gist_id}","starred_url":"https://api.github.com/users/module0x90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/module0x90/subscriptions","organizations_url":"https://api.github.com/users/module0x90/orgs","repos_url":"https://api.github.com/users/module0x90/repos","events_url":"https://api.github.com/users/module0x90/events{/privacy}","received_events_url":"https://api.github.com/users/module0x90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-06T20:22:24Z","updated_at":"2016-04-06T20:30:28Z","closed_at":null,"body":"Hi,\r\n\r\nI had a quick go at this and this is really awesome. I was planning to use this for my server (on the internet), but then realized that it only supports \"push\" and not a \"pull\". But it supports remote repositories, ok.\r\nAs I want to backup to my workstation at home, initiated by the server, I realized that's gonna be a bit difficult - I don't want to setup any crazy port forwarding or something.\r\nSSH tunnels came to mind... setting up quickly a local port forward on my workstation to my server, so that port 9000 on my server is hitting my workstation:\r\n\r\nssh -R 9000:localhost:22 user@server\r\n\r\nCreating the repo then\r\n\r\n./borg-linux64 init ssh://local@localhost:9000//mnt/storage/serverborgbackup\r\n\r\nworked alright.\r\nBut then trying to create a backup with\r\n\r\n./borg-linux64 create local@localhost:9000//mnt/storage/serverborgbackup:Wednesday /directory\r\n\r\nI get \r\n\r\nborg-linux64 create: error: argument ARCHIVE: Invalid location format: \"local@localhost:9000:serverborgbackup::Wednesday\"\r\n\r\nI tried various incarnations, full path, but I always get the same error.\r\nI just thought I nearly got it:\r\n\r\n./borg-linux64 create -v --debug local@localhost:9000//mnt/storage/serverborgbackup::Wednesday /directory\r\n\r\nBut this seems to disregard the port 9000. When I try \r\n\r\nssh -p 9000 user@localhost\r\n\r\non my server I end up on my workstation.\r\n\r\n\r\nAm I doing something wrong? Or is a different SSH port for remote repositories not supported?\r\n\r\n\r\nCheers\r\n\r\nThomas"},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/206548114","html_url":"https://github.com/borgbackup/borg/issues/851#issuecomment-206548114","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/851","id":206548114,"user":{"login":"Ape","id":156318,"avatar_url":"https://avatars.githubusercontent.com/u/156318?v=3","gravatar_id":"","url":"https://api.github.com/users/Ape","html_url":"https://github.com/Ape","followers_url":"https://api.github.com/users/Ape/followers","following_url":"https://api.github.com/users/Ape/following{/other_user}","gists_url":"https://api.github.com/users/Ape/gists{/gist_id}","starred_url":"https://api.github.com/users/Ape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ape/subscriptions","organizations_url":"https://api.github.com/users/Ape/orgs","repos_url":"https://api.github.com/users/Ape/repos","events_url":"https://api.github.com/users/Ape/events{/privacy}","received_events_url":"https://api.github.com/users/Ape/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T20:30:28Z","updated_at":"2016-04-06T20:30:28Z","body":"This should work:\r\n```\r\nssh://local@localhost:9000/mnt/storage/serverborgbackup\r\n```"}}