Skip to main content
Built Status

bits3

Upload Backintime snapshots to AWS S3.

Description

Back In Time is a simple backup tool for Linux, which saves your backups as normal directories on external disks or remote servers. With bits3 you can save Back In Time backups as archive on AWS S3.

The Back In Time backup directory will be packed as a tar, encrypted with a password via the Linux tool GnuPG and uploaded to AWS S3 via the official AWS SDK for Python (boto3).

This process will take a few hours for large backup directories. Thus bits3 is not for daily backup purpose, rather for creating emergency backups every few months, which can be used, if all other backups are lost.

Installation

Python3.6 or greate is required.

pip install bits3

Usage

AWS Config

You have to create a new AWS bucket first. For each backup directory you have to use a dedicated bucket!

The handling of the AWS credential is the same as in the official AWS CLI. You can use environment variables or a credentials file. Check the official documentation for more information (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html).

Run bits3

bits3 --progress --bucket <AWS_BUCKET_NAME> --secret <PASWORD_FOR_ENCRYPTION> <BACKINTIME_BACKUP_DIR>

<AWS_BUCKET_NAME> and <PASWORD_FOR_ENCRYPTION> can also be provided via environment variables:

export BITS3_BUCKET=<AWS_BUCKET_NAME>
export BITS3_SECRET=<PASWORD_FOR_ENCRYPTION>
bits3 <BACKINTIME_BACKUP_DIR>

Help

There are some more options avaialbe, check the help to get more information:

bits3 --help

All the options can also be defined as environment variables in the format BITS3_OPTIONNAME

Metadata

Release files for bits3 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bits3 0.1
File Size Uploaded
bits3-0.1.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bits3 0.1
File Interpreter ABI Platform
bits3-0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 14.2 kB

Release files / bits3-0.1.tar.gz

Download URL bits3-0.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
430e90c0915ea1bdf42368ab9ddcd21cb6516fe30ce2feb572bd585d8e3c890b
BLAKE2b-256 checksum
How to use checksums
44087309690acd74cd9152c19805fc68dc1f02bf629ccc47861b7020baa86d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release files / bits3-0.1-py2.py3-none-any.whl

Download URL bits3-0.1-py2.py3-none-any.whl
Size 7.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0fea0fa9bcbdb5fde90b2dcda19466c10fd44481a84ca8ff5f566721d9cc64c9
BLAKE2b-256 checksum
How to use checksums
61f1c199d8c7c9a0a71423710ad364beda1ef24c4c7f2e53f4f858b230d3d627
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

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