Skip to main content

cie_restore

A module in four parts (and with four corresponding scripts):

  • cie_download_archive/download to download archives from the Borg server.
  • cie_restore_db/db to restore a database using pg_restore.
  • cie_restore_fs/fs to copy an Odoo filestore into the correct place.
  • cie_download_restore/all to do all of the above operations in succession.

There is some repetition involved (in the argparse parsers and in the main functions) to make these four components work independently of each other, but the repetition is reduced to a minimum.

Usage tip

Set the BORG_PASSPHRASE environment variable to a correct passphrase before running the download scripts.

Roadmap

The module does very minimal error handling. If you did something wrong (e.g. you gave a path where a database name was expected), you will probably get an error, but the error may not be entirely clear to you.

Metadata

Release files for cie-restore 0.6.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 cie-restore 0.6.0
File Size Uploaded Provenance
cie_restore-0.6.0.tar.gz 8.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cie-restore 0.6.0
File Interpreter ABI Platform
cie_restore-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / cie_restore-0.6.0.tar.gz

Download URL cie_restore-0.6.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
eb7c2b5cc14bf6cb4210d22a4b501e1669bb201a96a20f727f29596f2f29d0b5
BLAKE2b-256 checksum
How to use checksums
df8f22cf3c0b9bb2ef0c3eaf2e8e25b7b1ff26d7672b390d72c1511ffd535ef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.13.7 Linux/6.16.4-200.fc42.x86_64

Release files / cie_restore-0.6.0-py3-none-any.whl

Download URL cie_restore-0.6.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3feb519804d9f0de0b58cee1b3073e69d5e275f18b7460d4a5206c0a94fd9c9d
BLAKE2b-256 checksum
How to use checksums
c4f744ebaabf3758e0eba97c1a721f598036db4ca1b0e9c380250e842c693dcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.13.7 Linux/6.16.4-200.fc42.x86_64

Security for cie-restore 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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