mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2025-12-05 23:53:30 +00:00
Simplified docs on creating rclone config
This commit is contained in:
12
README.md
12
README.md
@@ -119,20 +119,14 @@ docker run \
|
||||
-e UFP_ADDRESS='UNIFI_PROTECT_IP' \
|
||||
-e UFP_SSL_VERIFY='false' \
|
||||
-e RCLONE_DESTINATION='my_remote:/unifi_protect_backup' \
|
||||
-v '/path/to/dir/containing/rclone.conf/on/host':'/root/.config/rclone/' \
|
||||
-v '/path/to/rclone.conf':'/root/.config/rclone/rclone.conf' \
|
||||
ghcr.io/ep1cman/unifi-protect-backup
|
||||
```
|
||||
The container expects a `rclone.conf` file to be inside the configuration directory.
|
||||
If you do not already have a `rclone.conf` file you can create one as follows:
|
||||
```
|
||||
$ docker run -it --rm ghcr.io/ep1cman/unifi-protect-backup /bin/sh
|
||||
/app # rclone config
|
||||
(Setup your rclone remote, see here for documentation: https://rclone.org/docs/#configure)
|
||||
/app # cat $(rclone config file | sed -n 2p)
|
||||
/app # exit
|
||||
$ docker run -it --rm -v $PWD:/root/.config/rclone/ ghcr.io/ep1cman/unifi-protect-backup rclone config
|
||||
```
|
||||
This should print out the contents of the newly configured `rclone.conf` file which you
|
||||
can now copy & paste into a file on your host system
|
||||
This will create a `rclone.conf` file in your current directory
|
||||
|
||||
## Credits
|
||||
|
||||
|
||||
Reference in New Issue
Block a user