Re: Problems with remote repository access via sftp

Martin Michel <martin-eJ/[email protected]> Thu, 29 Sep 2022 14:38:43 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
Hi Denis,

thanks for looking into this!

> > Here is what I tried (the name of archive is 'first', path to file on server is '~/archives/server4you/first.1.dar'):
> >      $ dar_static -va -t sftp://xxxxxx-dkDJ02dbnmreHdyl1kFMAYSt3XBXLi8Os0AfqQuZ5sE@public.gmane.org/archives/server4you/first
> >      Parse error: Error opening directory: archives/server4you : No such file or directory
> 
> you should use the full path to the backup: there is no way in an URL to
> specify a relative path (relative to the user's home directory for example)
> so something like this should work:
> 
>   dar -va -t sftp://xxxx@host/home/xxx/archive/server4you/first

Hm, this does not work for me.
The thing is that the path above worked fine for creation of the archive, so this command succeeded (at least for establishing a connection):

dar -c sftp://xxxxx-1vLc8hIqMXM6W2CmMRYvJckow22SKM/[email protected]/archives/server4you/first  [...]

But maybe there is also a speciality of how my cloud storage (Hetzner StorageBox) is configured by the vendor?
I do not have a fully fledged Linux server but restricted to some protocols (but where sftp is one of it)

However, running strace does not give any indication that `dar` tries to establish a TCP connection at all.
Shall I attach the output to my mail (not sure it works with this mailing list)?

Kind regards,