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
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
Built Distribution
Close
Hashes for python3_cyberfusion_borg_support-1.5.4.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e1d64af641c880dc99bdc9c6e3e25f65dc9e48bafefb0e49625ea79ec5f6db |
|
MD5 | ee110d3677207c8c12cd1ce12a012500 |
|
BLAKE2b-256 | fe48ab165620c31d99d74cded1d5628cf1fa1f2df539dc92a3e67c25d687a7bf |
Close
Hashes for python3_cyberfusion_borg_support-1.5.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45e1817ee1db42ef1fc936db924d75b96e69a65ef236175171e813a125b6ad27 |
|
MD5 | e887f3b8b43a0c789c0f8ecf5d8f06fd |
|
BLAKE2b-256 | b776be85cb165d39deeb55c5c1be0bdb767d0a3082713088d6d9c297be2948df |