Buildout recipe to copy data from one place to another.
Project description
This is a simple zc.buildout recipe to to synchronize data from one place to another. It can be used to transfer a ZODB 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
This 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
Contact
Questions and comments to aclark@aclark.net.
Report bugs to aclark@aclark.net.
Contributors
Alex Clark, Author
Changelog
1.1 (2010-11-05)
Modified output to include rsync command line being executed
1.0 (2010-02-28)
Rename package from collective.recipe.rsync_datafs to collective.recipe.rsync
0.1 (2009-08-26)
Created recipe with ZopeSkel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.recipe.rsync-1.1.zip.
File metadata
- Download URL: collective.recipe.rsync-1.1.zip
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c5f8777e14a334ca3d17aee78f185c4aed5ae08eb6143393cd5fad9511c45ef
|
|
| MD5 |
e4e0cb42d4ec45b47f47e142219e5eb8
|
|
| BLAKE2b-256 |
8f249ce39f954734a3e01ad18f8c7bda2950da3ce6d083fb51881563e6b3c507
|