This is an rsync-based backup solution for a large, remote directory tree.
- history is preserved: incremental (daily) backups (using hardlinks)
- fast over slow connections (compression; recognize moved files at the remote source)
- robust error handling (interrupted connection or user errors)
download a release tarball
tar -xf <tarball>
sudo make install
remote2local.sh -c <configfile> [-q] [-r <nr_of_retries>]
-c path to config file, see example for the settings
-q quiet. print less
-r number of retries until remote is reachable. 0 for inifitely
-v only open a VNC session to the source machine
-h print this help text
download a release tarball
tar -xf <tarball>
sudo make uninstall
- remote source: ssh server, rsync
- local destination: ssh client, rsync
- remote source: tor, x11vnc
- local destination: tor, vncviewer (xtightvncviewer)
- install tor; set torrc for port 22
mkdir /var/lib/tor/ssh; chmod 700
chown debian-tor
- restart and get the hostname
- set sshd without password, ...
- include own key.pub in
authorized_keys
have tor installed and ssh configured:
Host <remote>
User
IdentityFile
HostName xyz.onion
proxyCommand ncat --proxy 127.0.0.1:9050 --proxy-type socks5 %h %p