Skip to main content

Simple backup wrapper with configuration over rsync for regularly backing up via command line.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

backup_with_rsync-0.9.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file backup_with_rsync-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for backup_with_rsync-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d529b3ecee56fe312420ca886476680df12cf60d23f58df04cf136571153642e
MD5 51cea146851ccb64df3a0b4412e15905
BLAKE2b-256 b7ce833ce440a6bac2bdd8835af36bf174e7996e1834e6082a3daf25ebfba9a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page