Skip to content

Home-brew rsyncd docker container.

Notifications You must be signed in to change notification settings

approach0/docker-rsyncd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Start daemon

# echo "rsyncclient:takemymoney" > rsyncd.secret
# chmod 0600 rsyncd.secret # only readable by root
# docker run \
  -v `pwd`/public:/data \
  --mount type=bind,source=`pwd`/rsyncd.secret,target=/tmp/rsyncd.secret \
  --network host \
  -it approach0/rsyncd

Copy files using rsync

# export RSYNC_PASSWORD=takemymoney
# rsync -zav --delete --progress ./local-directory-to-sync rsync://rsyncclient@localhost/data

About

Home-brew rsyncd docker container.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published