{ "info": { "author": "F. Boulogne", "author_email": "devel@sciunto.org", "bugtrack_url": null, "classifiers": [], "description": "*********\nGitbackup\n*********\n\nMirror git repositories!\n\n\nThis script is designed to backup a farm of git repositories in an automated fashion, it makes a local mirror that you can push on a remote.\n\nWhy?\n====\n\nBecause a git repository can disappear, you may loose access to a source code, even if it's Free/Libre.\nLarge projects with a lot of developers can set up a new repository quickly if the former one is down.\nHow about smaller projects? like this small piece of code you love so much but only a few are interested in?\n\nThe same way you backup your holiday pictures, copy your favorite FLOSS, because you have the right to do it!\nIf github screws up, you'll have your life vest.\n\nInstall\n=======\n\nWhat you need\n-------------\n\n* git\n* python (tested with python 3.5 but it probably works with former versions)\n\n\nHow to install\n--------------\n\nWith pip\n\n pip install gitbackup\n\nWith setup.py\n\n python setup.py install\n\nOn archlinux: https://aur.archlinux.org/packages/gitbackup/\n\nWalkthrough\n===========\n\nFetch a local copy\n------------------\n\nLet's start with a new sweet home\n\n mkdir backup_github && cd backup_github\n\nInitialize (create a .gitbackup directory that will contain a config file)\n\n gitbackup init\n\nAdd repositories (a name of your choice followed by the URL)\n\n gitbackup clone sametmax_0bin https://github.com/sametmax/0bin.git\n\n gitbackup clone carl_backupchecker https://github.com/backupchecker/backupchecker.git\n\nSome time later, let's synchronize 0bin\n\n gitbackup pull sametmax_0bin\n\nOr all the repositories\n\n gitbackup pull\n\nThat's it! Your local copy is updated. You can write a cron job :)\n\nPush the copy to a remote\n-------------------------\n\nWe can add a remote for some (or all!) repositories. For example:\n\n gitbackup remote add sametmax_0bin git@git.myserver.org:mirror/bak_sametmax_0bin.git\n\nOnce you pulled to sync your copy, you can push\n\n gitbackup push sametmax_0bin\n\nOr, you can push all repositories for which a remote has been configured\n\n gitbackup push\n\nSync: pull and push\n-------------------\n\nSimilarly to the pull and push commands\n\n gitbackup sync sametmax_0bin\n\nWithout name, gitbackup will pull all repositories and push those with a remote\n\n gitbackup sync\n\n\nOther commands\n--------------\n\nMove a mirror\n\n gitbackup mv sametmax_0bin sametmax_0bin_source\n\nRemove a remote\n\n gitbackup remote rm sametmax_0bin\n\n\nSee also\n--------\n\n* https://github.com/joeyh/github-backup\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sciunto-org/gitbackup", "keywords": null, "license": "GNU General Public License (GPL)", "maintainer": null, "maintainer_email": null, "name": "gitbackup", "package_url": "https://pypi.org/project/gitbackup/", "platform": "all", "project_url": "https://pypi.org/project/gitbackup/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sciunto-org/gitbackup" }, "release_url": "https://pypi.org/project/gitbackup/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Mirror git repositories", "version": "0.1.2" }, "last_serial": 1965958, "releases": { "0.1": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d6c5a15fcc0d49e2e6647bc1e5adb39b", "sha256": "7465b5080a4a12626ed60a43820533bf04895c13e166811be93eb41c0df954b7" }, "downloads": -1, "filename": "gitbackup-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d6c5a15fcc0d49e2e6647bc1e5adb39b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16308, "upload_time": "2016-01-31T22:27:22", "url": "https://files.pythonhosted.org/packages/3c/79/a4026040c0346e43bf4d6f8dbb2ff55b2aa9c9f3f11df3d66e1097563ddf/gitbackup-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4757845f89908cf11100e0ef34132aaa", "sha256": "37e1572e094d55009517d3f2b049349728af0278930874d2f44bdf9209944232" }, "downloads": -1, "filename": "gitbackup-0.1.2.tar.gz", "has_sig": false, "md5_digest": "4757845f89908cf11100e0ef34132aaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16987, "upload_time": "2016-02-19T20:43:40", "url": "https://files.pythonhosted.org/packages/b9/3b/b79ffb5c66c8e04dc89c7060c79f7ffe2f64e738ff5052547e2a05f33b8c/gitbackup-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4757845f89908cf11100e0ef34132aaa", "sha256": "37e1572e094d55009517d3f2b049349728af0278930874d2f44bdf9209944232" }, "downloads": -1, "filename": "gitbackup-0.1.2.tar.gz", "has_sig": false, "md5_digest": "4757845f89908cf11100e0ef34132aaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16987, "upload_time": "2016-02-19T20:43:40", "url": "https://files.pythonhosted.org/packages/b9/3b/b79ffb5c66c8e04dc89c7060c79f7ffe2f64e738ff5052547e2a05f33b8c/gitbackup-0.1.2.tar.gz" } ] }