Skip to main content

Buildout recipe to copy data from one place to another via rsync.

Project description

Overview

(Formerly collective.rsync.rsync_datafs.)

This is a simple zc.buildout recipe to to synchronize data from one place to another. E.g. it can be used to transfer a Zope Data.fs file from production to development.

It assumes you have a UNIX-based operating system, and that the rsync binary is in your path when you run buildout.

Supported options

The recipe supports the following options:

source

The source argument to pass to rsync, e.g. user@somehost.com:/srv/client/var/filestorage/Data.fs

target

The destination argument to pass to rsync, e.g. ${buildout:directory}/var/filestorage/Data.fs

Example usage

Here we extend a buildout.cfg to add a database part:

[buildout]
extends = buildout.cfg
parts += database

[database]
recipe = collective.recipe.rsync
source = aclark@aclark.net:/srv/aclark/var/filestorage/Data.fs
target = var/filestorage/Data.fs

Contributors

Alex Clark, Author

Change history

1.0 (2010-02-28)

  • Rename package from collective.recipe.rsync_datafs to collective.recipe.rsync.

    [aclark]

0.1 (2009-08-26)

  • Created recipe with ZopeSkel

    [aclark]

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.recipe.rsync-1.0.zip (10.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page