Skip to main content

Backup With rsync

Does what it says. Useful for frequent syncing between two devices with similar directory hierarchies. I use it for daily copying (over ssh) between one laptop (desktop replacement at home) to the other (more portable laptop).

Why?

rsync has a lot of switches, and it’s exhausting to loop over them with say --delete flag for certain directories and not for others. With this script one can specify all that in a configuration file and just sync whenever you want.

Features

  • yaml configuration to specify directories and flags

  • Overriding arguments supported at command line.

  • Sensible rsync defaults

Example configuration

host:
  user@portable
root:
  /home/user
supported_dirs:
  Documents:
    delete: false
  Downloads:
    delete: false
  Mail:
    delete: true
  Videos:
    delete: true

Metadata

Release files for backup-with-rsync 0.9.2

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 backup-with-rsync 0.9.2
File Interpreter ABI Platform
backup_with_rsync-0.9.2-py3-none-any.whl Python 3 none any Details

Release files / backup_with_rsync-0.9.2-py3-none-any.whl

Download URL backup_with_rsync-0.9.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d529b3ecee56fe312420ca886476680df12cf60d23f58df04cf136571153642e
BLAKE2b-256 checksum
How to use checksums
b7ce833ce440a6bac2bdd8835af36bf174e7996e1834e6082a3daf25ebfba9a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.9.2 This release

1 release file

0.9.0

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