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
Raw data
{
"_id": null,
"home_page": "https://github.com/akshaybadola/backup-with-rsync",
"name": "backup-with-rsync",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7, <=4.0",
"maintainer_email": "",
"keywords": "rsync backup",
"author": "Akshay Badola",
"author_email": "",
"download_url": "",
"platform": null,
"description": "Backup With ``rsync``\n=====================\n\nDoes what it says. Useful for frequent syncing between two devices with\nsimilar directory hierarchies. I use it for daily copying (over ssh)\nbetween one laptop (desktop replacement at home) to the other (more\nportable laptop).\n\nWhy?\n----\n\n``rsync`` has a lot of switches, and it's exhausting to loop over them\nwith say ``--delete`` flag for certain directories and not for others.\nWith this script one can specify all that in a configuration file and\njust sync whenever you want.\n\nFeatures\n========\n\n- ``yaml`` configuration to specify directories and flags\n- Overriding arguments supported at command line.\n- Sensible ``rsync`` defaults\n\nExample configuration\n=====================\n\n.. code:: yaml\n\n host:\n user@portable\n root:\n /home/user\n supported_dirs:\n Documents:\n delete: false\n Downloads:\n delete: false\n Mail:\n delete: true\n Videos:\n delete: true\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Simple backup wrapper with configuration over rsync for regularly backing up via command line.",
"version": "0.9.2",
"project_urls": {
"Homepage": "https://github.com/akshaybadola/backup-with-rsync"
},
"split_keywords": [
"rsync",
"backup"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b7ce833ce440a6bac2bdd8835af36bf174e7996e1834e6082a3daf25ebfba9a1",
"md5": "51cea146851ccb64df3a0b4412e15905",
"sha256": "d529b3ecee56fe312420ca886476680df12cf60d23f58df04cf136571153642e"
},
"downloads": -1,
"filename": "backup_with_rsync-0.9.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "51cea146851ccb64df3a0b4412e15905",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7, <=4.0",
"size": 8028,
"upload_time": "2023-08-22T00:53:04",
"upload_time_iso_8601": "2023-08-22T00:53:04.577193Z",
"url": "https://files.pythonhosted.org/packages/b7/ce/833ce440a6bac2bdd8835af36bf174e7996e1834e6082a3daf25ebfba9a1/backup_with_rsync-0.9.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-22 00:53:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "akshaybadola",
"github_project": "backup-with-rsync",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "backup-with-rsync"
}