Skip to main content

No project description provided

Project description

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.

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

cie_restore-0.3.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

cie_restore-0.3.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file cie_restore-0.3.0.tar.gz.

File metadata

  • Download URL: cie_restore-0.3.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.5 Linux/6.15.8-200.fc42.x86_64

File hashes

Hashes for cie_restore-0.3.0.tar.gz
Algorithm Hash digest
SHA256 495e1e0121bce7d561e67721c512868185b42d4e1178b3babcb7d9f0cab68fec
MD5 ee14d90749b608ea9a9637958f8ee2d8
BLAKE2b-256 04529c8e95892f773bc93f59b0f75a2c9e0d1fe00a023303dcf4b8ed09d25c3f

See more details on using hashes here.

File details

Details for the file cie_restore-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: cie_restore-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.5 Linux/6.15.8-200.fc42.x86_64

File hashes

Hashes for cie_restore-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 182efe41b1d61824cfc4d05b10c87b57445b58b7c230f7c9be9a867fac0e632c
MD5 f337685af809b74da4b70f5f1d76b9b4
BLAKE2b-256 e5c1645d9a9ff690903afa9d9d27045e7306fe46c86c32b7911ec351d3308ba7

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