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 hashes)

Uploaded Python 3

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