From 1e37e2ca29674a1b9e9345ebab591e8f11e38398 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 20 Nov 2022 11:55:05 +0100 Subject: [PATCH] update readme --- Readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Readme.md b/Readme.md index 197bb06..36e9b2e 100644 --- a/Readme.md +++ b/Readme.md @@ -17,6 +17,15 @@ Get files from `remote server` to a `data container`: ## Advanced Usage +### Change UID/GID + +if you want to execute rsync with another UID/GUID than root tou can use following environment variable + +- RSYNC_UID +- RSYNC_GID + +docker run -it -e RSYNC_UID=1000001 -e RSYNC_GID=1000007 rsync /media/toto /media/tata + ### Client setup Start client to pack and sync every night: