Poor Man’s Backup // remote rsync

backup-local | backup | backup-rsync | backup-upload | encryption

through ssh

on the backup server – as user

target=some-host

mkdir /data/backup/$target/
cd /data/backup/$target/

check ssh connection towards target host

ssh -ovisualhostkey=no $target "hostname; whoami"

proceed manually for a first shot

# https://pub.nethence.com/bin/backup/backup-rsync.ksh.txt
time nice /root/backup-rsync.bash

additional notes

another simple way to deal with backups looks like this at panix (netbsd/pv xen host)

vi /etc/inetd.conf

rsync           stream  tcp     nowait  root    /usr/pkg/bin/rsync      rsync --daemon --config=/etc/rsyncd.conf

vi /etc/rsyncd.conf

[BACKUPS]
    path = /
    auth users = root
    secrets file =  /etc/rsyncd.secrets
    uid = root
    hosts allow = backup.nyc.access.net

HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun