Skip to main content

Library for Borg.

Project description

python3-cyberfusion-borg-support

Library for Borg.

Install

Debian

Run the following commands to build a Debian package:

mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc

PyPI

Run the following command to install the package from PyPI:

pip3 install python3-cyberfusion-borg-support

Next, install Borg according to the documentation.

Configure

No configuration is supported.

Usage

Example

import os

from cyberfusion.BorgSupport.repositories import Repository
from cyberfusion.BorgSupport.archives import Archive

repository = Repository(path="/home/example/repository", passphrase="test", identity_file_path=None, create_if_not_exists=True)
archive = Archive(repository=repository, name="example", comment="Example")

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

python3_cyberfusion_borg_support-1.5.5.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file python3_cyberfusion_borg_support-1.5.5.tar.gz.

File metadata

File hashes

Hashes for python3_cyberfusion_borg_support-1.5.5.tar.gz
Algorithm Hash digest
SHA256 6090c9ced428c06b15aa1befa0f34052c3692cf1dc874061c1648a287b041fb4
MD5 66e92f74336e6988d38fb5595b58f378
BLAKE2b-256 14d99ed18c02c5a22ed45cd30f47fdb845f16856cea917c59d97fbb636ffba9d

See more details on using hashes here.

File details

Details for the file python3_cyberfusion_borg_support-1.5.5-py3-none-any.whl.

File metadata

File hashes

Hashes for python3_cyberfusion_borg_support-1.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ea8ddf3192009a90dabc29921fe347aa61aaff42ec1242e02e48466ddc56082d
MD5 541ef78aa0f36bd3f6b354a5e626167f
BLAKE2b-256 797093f9302ac0cab22979b7b7012b06c5518f28340da0978d6af8afc8f17e56

See more details on using hashes here.

Supported by

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