backup files or folders into dropbox.
- bash
- git
- dropbox_uploader(auto-download supported)
#run in root user
cd
git clone https://github.com/kk71/dropbox_backup.git
cd dropbox_backup
chmod +x backup.sh
./dropbox_backup.sh
vim ~/.dropbox_backup #add folders or files to backup.
./dropbox_backup.sh #install and initial, or show help
./dropbox_backup.sh --help #show help
#run in root user
./dropbox_backup.sh --daemon [backup interval] #run as a daemon,and backup accord to interval
./dropbox_backup.sh --now #backup right now
#for systemd
./dropbox_backup.sh --install-service [backup interval] #install as a service and start
./dropbox_backup.sh --delete-service #delete service
intervals are hours(h).
system-wide proxy is supported. since dropbox is often unreacheable in some countries, it's recommanded to use a proxy or a wall-breaker to access dropbox.