unifios-utilities/rclone/README.md
Christian Pearce 0f8ae40620
Initial commit for rclone (#216)
* Initial commit for rclone

* Update main README.md to include rclone as a project.

* Use cron on host controller

* Mount the /rclone directory to avoid a copy backup error.

* remove this port mapping

* Remove comment
2021-08-26 03:47:07 -07:00

34 lines
988 B
Markdown

# Rclone
## Features
- Rclone w/ WebGUI
## Requirements
1. You have successfully setup the on boot script described [here](https://github.com/boostchicken/udm-utilities/tree/master/on-boot-script)
## Steps
1. Make a directory for your configuration
```sh
mkdir -p /mnt/data/rclone
```
2. Create [rclone.conf](https://rclone.org/commands/rclone_config/) in `/mnt/data/rclone` and update it to meet yours needs.
3. Copy [sync.sh](sync.sh) in `/mnt/data/rclone` and update it to meet your needs.
4. Copy [10-rclone.sh](10-rclone.sh) to `/mnt/data/on_boot.d` and update it to meet your needs.
5. Execute `/mnt/data/on_boot.d/10-rclone.sh`
6. Execute `podman logs rclone`, this will provide a link to the Web GUI.
7. Copy [rclone](rclone) in `/etc/cron.hourly/`.
8. Set permissions to executable `chmod +x /etc/cron.hourly/rclone`.
## Customization
1. Login to run rclone commands locally to create and test configs
```sh
podman exec -ti rclone /bin/sh
```