Skip to main content

Yet another rsync incremental backup utility

Project description

Yet another rsync based incremental backup utility.

Purpose

A simple wrapper to use over rsync, to maintain incremental backups in differnet directories.

Comparison with Timeshift

This replicates part of timeshift's functionality.

Intendended to complement timeshift in backing up non-system directories.

Although this can be used to backup the root system, timeshift may be a better option for that since it allows pretty safe restoring of the system.

Major differences from timeshift are -

  • Allows you to choose destination directory
  • Does not provide any automated restore functionality
  • Can only be used from command line

Major similarities are -

  • Does not require additional space when there is no change
  • Uses hard links to replicate entire folder structure on any of the backups

Setup and Usage

Setup

Simply clone this repo, and use python3 to run the code.

Example Usage

Backup home directory -

yaribak \
  --source path/to/source \
  --backup-path path/to/backups

The following structure will be generated in the backup directory (for this example, after 3 calls) -

$ ls path/to/backups
_backup_20220306_232441
_backup_20220312_080749
_backup_20220314_110741

Each directory will have a full copy of the source.

However, any file that remains unchanged will be hard linked, preserving space.

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

yaribak-0.0.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

yaribak-0.0.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file yaribak-0.0.3.tar.gz.

File metadata

  • Download URL: yaribak-0.0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for yaribak-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4e8de0670fc423ef9329a4afc2360c3d37e98968c8c8b2b2d7a3528f48047916
MD5 3b05153ce42b5581825d1cfb0907d115
BLAKE2b-256 151a290514c5ea8c77688d4f639dd7f80defb348b518bc5588ad37d7424bd044

See more details on using hashes here.

File details

Details for the file yaribak-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: yaribak-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for yaribak-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 191fd8bd636eac1c9dd4f069af9bc0e94dbbfd6878cf7e45ea57fa4960cc19aa
MD5 ec7cba2a4005294148d2827ff4f6c901
BLAKE2b-256 a51fbddd0ad0757ef73163356b83ad9954e8426dbb3add3f5bf4097b25ec3135

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