A set of scripts that use Rclone to back up your cloud storage to a local storage device. Ideal for automated usage as backup service running on a server or use it on demand with one click.
You do not have to worry about your remotely stored data getting lost, if you make backups from time to time.
This project uses open-source software Rclone and a well documented set of Bash scripts to ease the process.
Easily configure this program to create backups of your remote storage (Google Drive, OneDrive, etc.) and store your cloud-based data locally whenever you want.
Step 1: Highlight and copy the command below.
cd ~ | git clone https://github.com/wagerc97/csb.git
Step 2: Paste the command in a terminal session on your server and execute.
Step 3: install Rclone in your home directory
Step 4: configure CSB installation according to INSTALLATION
- good logging
- good documentation
- easy configuration
Check out the detailed script documentation for each service to learn more!
Use for example cronjobs to trigger the according scripts (see manual) and save any changes on your cloud storage automatically.
There is an example crontab file with recommended cronjobs.
You will need:
- linux system
- Rclone installation
- cronjob configuration
More details about the installation of the CSB service can be read in the installation guideline.
Note: This service was originally developed for Raspberry Pi. But any Linux/Unix system should be able to use it as intended.
Wikipedia defines Rclone as "an open source, multi threaded, command line computer program to manage or migrate content on cloud and other high latency storage. (...)"
Thanks @pageauc for providing a nice Rclone installation repository (rclone4pi). It helped me to get into this topic.
This is the first time I used shell scripts in a project, so I learned a lot along the way. If you encounter any mistakes please let me know and I will fix it in the repo ;-)