Metadata-Version: 2.1
Name: backup-with-rsync
Version: 0.9.0
Summary: Simple backup wrapper with configuration over rsync for regularly backing up via command line.
Home-page: https://github.com/akshaybadola/backup-with-rsync
Author: Akshay Badola
License: MIT
Keywords: rsync backup
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: System :: Archiving :: Backup
Classifier: Topic :: System :: Networking
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Natural Language :: English
Requires-Python: >=3.7, <=4.0
Description-Content-Type: text/x-rst
Requires-Dist: PyYAML

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
=====================

.. code:: yaml

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

