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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file backup_with_rsync-0.9.2-py3-none-any.whl
.
File metadata
- Download URL: backup_with_rsync-0.9.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d529b3ecee56fe312420ca886476680df12cf60d23f58df04cf136571153642e |
|
MD5 | 51cea146851ccb64df3a0b4412e15905 |
|
BLAKE2b-256 | b7ce833ce440a6bac2bdd8835af36bf174e7996e1834e6082a3daf25ebfba9a1 |