Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

⚠️ Project Status ⚠️

⚠️ Hashback is still in ALPHA. ⚠️

⚠️ Do NOT use this for critical backups! ⚠️

Hashback

Hashback is a backup system.

It's designed to take snapshot backups of multiple devices (eg: multiple servers) Using only the storage you might expect for incremental backups.

Hashback indexes files and directories by the sha256 hash of their content. Metadata data such as file ownership and file names are stored in the directory listings, not the file backups allowing files to be moved around and renamed without duplicating the file content, even when moving across devices.

Configure your server

You can install with either:

Configure your client

The client can be run through docker-compose as well. Just remember to bind mount your data directory in so that it can be backed up.

See the output from authorizing your client for these values:

# See installing server instructions for credentials

hashback configure \
    --client-id 3bed0c4f-a1c9-4f37-b2b5-8b393c190a40 \
    --database-url https://example.com/ \
    --credentials '{
        "auth_type": "basic", 
        "username": "3bed0c4f-a1c9-4f37-b2b5-8b393c190a40", 
        "password": "fa72112f-a9a8-4be2-b293-124bf875f86c"
      }'

This repo includes

hashback (client) command line tool

This is the backup client intended for taking frequent snapshots systems as well as restoring backups.

hashback can be used to backup to a local database without using a server or it can backup to a remote server.

hashback-db-admin admin commandline tool

This is used to create and manage backup databases. This is initially required to setup a device in the database before that device can begin to backup.

hashback-basic-server a simple http backup server

This is intended as an MVP server. It only supports http auth type basic. It is highly recommended to sit this behind https reverse gateway such as Traefik.

Copyright 2021 Philip Couling

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for hashback 0.1a3

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

Built distribution (wheel)

Table of built distributions (wheels) for hashback 0.1a3
File Interpreter ABI Platform
hashback-0.1a3-py3-none-any.whl Python 3 none any Details

Release files / hashback-0.1a3-py3-none-any.whl

Download URL hashback-0.1a3-py3-none-any.whl
Size 53.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
069a01dfe4258d8bcc368c2c3fb5e727f28faebe336e95df577244284022f846
BLAKE2b-256 checksum
How to use checksums
bf91f67ae0cc0fe67381a600227825e99f33213b39abc86bf6e709e93795926d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1a3 This release

1 release file

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