Skip to content
Collection of scripts for creating backups on linux servers
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
README.md

README.md

Back Me Up

Collection of scripts for creating file and database backups on linux servers.

Create a dropbox user

sudo adduser --disabled-password dropbox

Install Dropbox

sudo su dropbox
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

Start dropbox daemon and link to your dropbox account

~/.dropbox-dist/dropboxd

Add dropbox daemon to crontab to start automatically

crontab -e
@reboot ~/.dropbox-dist/dropboxd

Add the backup script to run every day at 1:00 AM

0 1 * * * sh /home/dropbox/backmeup/bin/backup.sh -i /var/www/vhosts -o /home/dropbox/Dropbox/backup -u backup -p secret
You can’t perform that action at this time.