Poor Man’s alternative Backup methods

this is a split-off from the poor man’s guide

Alternatives

As for database backups you might add a few mysqldumps to the script or eventually use Mydumper.

Backup with rsync

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

Additional notes

eventually keep the script up-to-date

curl -s https://pub.nethence.com/bin/backup/backup.ksh.txt | diff -bu - backup.ksh

Resources

other means of backup with encryption

security/netpgp https://netpgp.com/ https://man.netbsd.org/netpgp.1 https://en.wikipedia.org/wiki/Netpgp

Rclone https://rclone.org/

caesar, rot13 – decrypt caesar ciphers https://man.netbsd.org/caesar.6 https://man.netbsd.org/rot13.6


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