Skip to main content

bda.zeopack

Overview

Packs one or more databases/ storages on one or more ZEO-Servers (Zope Database Storages on Zope Enterprise Objects Server).

Compatibility

Tested with eggs releaes of ZODB2 >=3.8 and Zope 2.9, 2.10 (latest) as tgz-release.

Installation

Install it using easy_install or zc.buildout. Example for zc.buildout:

[buildout]
parts = zeopack

[zeopack]
recipe = repoze.recipe.egg:scripts
eggs = bda.zeopack

If youre using Zope with a version below 2.11 (like 2.10 or 2.9) the buildout gets a bit more complex:

[buildout]
parts = zope zeopack

[zope]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.9.11/Zope-2.9.11-final.tgz
# url = http://www.zope.org/Products/Zope/2.10.9/Zope-2.10.9-final.tgz
fake-zope-eggs = true
additional-fake-eggs = ZEO

[zeopack]
recipe = repoze.recipe.egg:scripts
eggs = bda.zeopack
initialization = sys.path.append('${zope:location}/lib/python')

Usage

Create a configuration file. If no location is given as first argument bda.zeopack consider the file at /etc/zeopack.cfg.

The format of the file follows Python ConfigParser format. It looks like:

[MY.DOMAIN.TLD_OR_IP_ADDRESS:PORT]
day = NUMBER_OF_DAYS_TO_KEEP
storages =
    STORAGENAME
    STORAGENAME

Example:

[127.0.0.1:8100]
days = 1
storages =
    storage1
    storage2
    storage4

[127.0.0.1:8200]
days = 7
storages =
    project1
    project2

[storage.bluedynamics.com:8100]
days = 1
storages =
    root1
    mountr1m1
    mountr1m2
    root2
    mountr2m1
 ...

Todo:

  • better parsing of argv

  • support authentication

  • pipe file via stdin instead of filename

Credits

  • Copyright 2008-2010, BlueDynamics Alliance Austria

  • Concept and code * Jens W. Klein <jens@bluedynamics.com>, Klein & Partner KG

License

Copyright (c) 2008-2010, BlueDynamics Alliance, Austria All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the BlueDynamics Alliance nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY BlueDynamics Alliance ‘’AS IS’’ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BlueDynamics Alliance BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Release files for bda.zeopack 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bda.zeopack 1.0
File Size Uploaded
bda.zeopack-1.0.tar.gz 6.1 kB Details

Release files / bda.zeopack-1.0.tar.gz

Download URL bda.zeopack-1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
36aa314f337cfd1e16948db027eb431eacd013fa73b7fad4e0f03ddb1b0fbbf4
BLAKE2b-256 checksum
How to use checksums
bf77799d97d1c2f88c17e21969c28c1d3db56b0fe67821cdf361c568fd3dbac8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page