Nethence Newdoc Olddoc Lab Your IP BBDock  

Setting up Poor Man’s Backup

Fetch the script templates as root,

cd ~/
mkdir -p bin/
cd bin/

wget http://doc.nethence.com/input/server/poor-man/backup.ksh
wget http://doc.nethence.com/input/server/poor-man/backup.lst
wget http://doc.nethence.com/input/server/poor-man/backup.upload.ksh

chmod +x backup.ksh backup.upload.ksh

Tune what folders you want to backup,

vi backup.lst

Tune your FTP server/login/pass,

vi backup.upload.ksh

Enable the shit every night as root,

crontab -e

0 1 * * * time nice /root/bin/backup.ksh && time nice /root/bin/backup.upload.ksh

Home | GitHub | Donate | Feedback