rsync#

barecat.maintenance.rsync.rsync(sources, dest, options=None)[source]#

Main rsync entry point.

Parameters:
  • sources (list[str]) – List of source paths

  • dest (str) – Destination path

  • options (RsyncOptions) – RsyncOptions

Syntax:

./data/ - local directory ./archive.barecat:: - local archive root ./archive.barecat::images/ - local archive with inner path host:/path/ - remote directory via SSH host:/path/archive.barecat:: - remote archive via SSH barecat://host:port/arch:: - barecat server