Linked Questions

0 votes
3 answers
6k views

I have a case when I need to move data from an old server: host1 to a new server: host2. The problem is host1 cannot see host2, but I can use another server (localhost) to SSH to both host1 and host2. ...
Bằng Rikimaru's user avatar
3 votes
3 answers
3k views

I have set up 2 ubuntu instances in aws. How do I sync /usr/ubuntu in both the machines?
Sampad Mund's user avatar
0 votes
1 answer
3k views

How can I rsync files between two remote servers? I need to transfer files between two remote hosts, but it seems rsync doesn't support synchronization. Some more information: I have 2 servers A ...
user263076's user avatar
7 votes
3 answers
34k views

I'd like to transfer a directory between two servers, but compress the directory on the remote host before transfer, and then uncompress to another host. I'm sure it's possible to pipe everything all ...
barrymac's user avatar
  • 1,165
1 vote
2 answers
8k views

I am at server A. I want to copy a file from remote server B to remote server C. This can be done with below commands, scp username@B:/path_of_file_on_server_B/file.txt /path_of_file_on_server_A scp ...
Swapnil Dhule's user avatar
2 votes
2 answers
3k views

I want to rsync files between two remote servers. I tried to follow the next solution of @roaima: https://unix.stackexchange.com/a/183516/137526, but I need a more delicate solution, for two reasons: ...
user890739's user avatar
1 vote
2 answers
2k views

EDIT #1 As per answer by roaima, I tried (here with user1=user2) [user3@M3]$ ssh -R 50000:M2:22 user1@M1 rsync -e "ssh -p 50000" -avz /absolute_path1/ user2@localhost:/absolute_path2/ ...
sancho.s ReinstateMonicaCellio's user avatar
1 vote
2 answers
3k views

I'm trying to run an rsync between two servers. I'm basing things off of this post: How to rsync files between two remotes? What I find missing is how to facilitate the rsync (via ssh) when a key (...
onassar's user avatar
  • 113
1 vote
1 answer
2k views

I am trying to transfer a large file between two remote hosts (both on different subnets). I found this command to work the first time: scp -3 root@foo:/path/to/largefile user@bar:/path/to/where/it/...
ryekayo's user avatar
  • 4,817
2 votes
0 answers
197 views

I want to backup backintime-data from an internet-facing, remote machine running debian 11 (src). That is the hardlinks-part from the title. I want to back it up to a (very dumb) NAS (dest) in the ...
Paul w. Muad'dib's user avatar