How to use rsync+ssh

Questions and discussions about Indie Computing's UBOSbox
Post Reply
criky
Posts: 38
Joined: Fri Jul 05, 2019 4:24 am

How to use rsync+ssh

Post by criky » Fri Oct 18, 2019 3:40 pm

Hi :D
When I see the article of https://ubos.net/docs/users/backup.html, it seems UBOS supports "rsync+ssh" as well.
But there seems only an example for Amazon S3.
So could you please give me an example on how to use "rsync+ssh"?
I've installed myself the ubos-datatransfer-rsync package but, don't know either what to do or what to be careful to do so.

Assuming my UBOS box located in a remote area and I'd like to backup it to my local PC, which may seem to ease many efforts like attaching the external memory or something.



j12t
Posts: 115
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: How to use rsync+ssh

Post by j12t » Mon Oct 21, 2019 5:16 pm

Good point, we should have more examples. Could you go to github.com/uboslinux/ubos-docs/issues and file an issue there?

In principle, you should just be able to use a URL along the lines of rsync+ssh://hostname/filename .

P.S. Before you try it as part of the UBOS backup, it might make sense to first try out that rsync over ssh works to the hostname you have in mind. E.g. on your UBOSbox, run rsync -e ssh somefile hostname:somefile.

criky
Posts: 38
Joined: Fri Jul 05, 2019 4:24 am

Re: How to use rsync+ssh

Post by criky » Tue Oct 22, 2019 9:36 am

I made a new issue like https://github.com/uboslinux/ubos-docs/issues/88.
Please see it.
Many thanks. :)

Post Reply