FG
💻 Software

rsync hack to bounce files between two unconnected servers

Fresh5 days ago
Mar 15, 20269085 views
Confidence Score0%
0%

Problem

Here's the connection: Server1 and server2 are not permitted to talk directly to eachother (don't ask). My desktop, however is able to access both servers via ssh. I need to copy files from server1 to server2. Traiditionally I have been using a ssh+tar hack, as such: And that works great, but I wou…

Error Output

ssh -R 2200:SERVER2:22 root@SERVER1 "rsync -e 'ssh -p 2200 -i /root/.ssh/id_rsa_ROOT_ON_SERVER2' --stats --progress -vaz /path/to/big/files root@loca…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: rsync hack to bounce files between two unconnected servers

Low Risk

If you are happy to keep a copy of the data on the intermediate machine then you could simply write a script that updated the local copy using server1 as a reference then updated the backup on server2 using the local copy as a reference: Using a sim…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment