https://github.com/jacklul/rclone-backup
Simple script to backup files to the cloud service using rclone
https://github.com/jacklul/rclone-backup
backup cloud rclone
Last synced: 3 months ago
JSON representation
Simple script to backup files to the cloud service using rclone
- Host: GitHub
- URL: https://github.com/jacklul/rclone-backup
- Owner: jacklul
- License: mit
- Created: 2020-01-21T17:10:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T06:52:29.000Z (6 months ago)
- Last Synced: 2024-11-13T13:37:53.308Z (3 months ago)
- Topics: backup, cloud, rclone
- Language: Shell
- Homepage:
- Size: 94.7 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - jacklul/rclone-backup - Simple script to backup files to the cloud service using rclone (Shell)
README
# rclone-backup
Simple script that uses [Rclone](https://rclone.org) to backup your important files to cloud service.
## Install
```bash
wget -O - https://raw.githubusercontent.com/jacklul/rclone-backup/master/install.sh | sudo bash
```You must add Rclone remote called `remote` to `/etc/rclone-backup/rclone.conf` (`sudo rclone config --config /etc/rclone-backup/rclone.conf`) or set it with `REMOTE` variable in `/etc/rclone-backup/rclone-backup.conf`.
Filtering rules are in `/etc/rclone-backup/filter.list` - see [here](https://rclone.org/filtering/) for more information.
If there is something you need to do before every backup you can create `/etc/rclone-backup/pre.sh` script, it will be executed each time the task starts.
Similarly you can use `/etc/rclone-backup/post.sh` script to do something after backup.Any arguments passed to `rclone-backup` are passed to `rclone` command line or you can use `PARAMETERS` variable in `/etc/rclone-backup/rclone-backup.conf`!