We’re basically setting up a crontab with two parts:
an alternative would be to use rsync remotely from a dedicated backup host.
Fetch the script templates as root,
cd ~/ mkdir -p bin/ cd bin/ wget https://github.com/pbraun9/doc/raw/master/download/poor-man/backup.ksh wget https://github.com/pbraun9/doc/raw/master/download/poor-man/backup.lst wget https://github.com/pbraun9/doc/raw/master/download/poor-man/backup.upload.ksh chmod +x backup.ksh backup.upload.ksh
Tune what folders you want to backup,
Tune your FTP server/login/pass,
Enable the shit every night as root,
crontab -e 0 3 * * * time nice /root/bin/backup.ksh && echo && time nice /root/bin/backup.upload.ksh