Skip to content

rsync - complied from official stable releases on alpine (ghcr.io/servercontainers/rsync) [x86 + arm]

Notifications You must be signed in to change notification settings

ServerContainers/rsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsync - (ghcr.io/servercontainers/) [x86 + arm]

rsync - freshly complied from official stable releases on alpine

Source Code

Check the following link for a new version: https://www.samba.org/ftp/rsync/src/

Build & Versions

You can specify DOCKER_REGISTRY environment variable (for example my.registry.tld) and use the build script to build the main container and it's variants for x86_64, arm64 and arm

You'll find all images tagged like a3.15.0-r3.2.7 which means a<alpine version>-r<rsync version>. This way you can pin your installation/configuration to a certian version. or easily roll back if you experience any problems (don't forget to open a issue in that case ;D).

To build a latest tag run ./build.sh release

Changelogs

  • 2023-03-20
    • complete upgrade
    • rsync upgrade to 3.2.7
    • github action to build container
    • implemented ghcr.io as new registry
  • 2021-05-28
    • fixed build by switched to alpine
  • 2020-11-05
    • multiarch build
    • rsync version update to 3.2.3

Environment variables and defaults

default /etc/rsyncd.conf

log file = /dev/stdout
use chroot = yes
list = yes
uid = nobody
gid = nogroup
transfer logging = no
timeout = 600
ignore errors = no
refuse options = checksum dry-run
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz

rsync

  • RSYNC_SECRET_mysecretname
    • adds a new secret to /etc/rsyncd.secrets
    • multiple secrets possible by adding unique name to RSYNC_SECRET_
    • examples
      • "rsyncclient:passWord"
      • "alice:PassWord"

to enable authentication add the following to your volume config (inside or outside the location tag):

auth users = alice;
  • RSYNC_VOLUME_CONFIG_myconfigname

    • adds a new rsyncd volume configuration
    • multiple variables/confgurations possible by adding unique configname to RSYNC_VOLUME_CONFIG_
    • examples
      • "[alice]; path = /shares/alice; comment = alices public files; read only = yes"
      • "[timemachine]; path = /shares/timemachine; comment = timemachine files; ignore errors = yes"
  • RSYNC_GLOBAL_CONFIG_optionname

    • adds a new rsyncd option to configuration file
    • multiple options possible by adding unique optionname to RSYNC_GLOBAL_CONFIG_
    • examples
      • "max connections = 0"
      • "read only = no"

Usage

rsync servername::volume # lists files in volume

rsync alice@servername::volume # lists files in volume with user alice

Links

About

rsync - complied from official stable releases on alpine (ghcr.io/servercontainers/rsync) [x86 + arm]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages