Metadata-Version: 2.4
Name: python3-cyberfusion-borg-support
Version: 1.5.5
Summary: Library for Borg.
Author-email: Cyberfusion <support@cyberfusion.io>
Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-borg-support
Description-Content-Type: text/markdown
Requires-Dist: cached_property==1.5.2

# python3-cyberfusion-borg-support

Library for [Borg](https://www.borgbackup.org/).

# 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](https://borgbackup.readthedocs.io/en/stable/installation.html#distribution-package).

# Configure

No configuration is supported.

# Usage

## Example

```python
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")
```
