{"id":13994761,"url":"https://github.com/xuhdev/backup-on-the-go","last_synced_at":"2025-03-21T09:32:21.747Z","repository":{"id":7639627,"uuid":"8999843","full_name":"xuhdev/backup-on-the-go","owner":"xuhdev","description":"Back up (or mirror) your GitHub repositories to BitBucket in the cloud!","archived":false,"fork":false,"pushed_at":"2019-04-02T05:25:02.000Z","size":29,"stargazers_count":22,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T00:01:32.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/xuhdev/backup-on-the-go#readme","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuhdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-25T06:01:50.000Z","updated_at":"2024-09-02T16:29:12.000Z","dependencies_parsed_at":"2022-09-01T01:13:23.635Z","dependency_job_id":null,"html_url":"https://github.com/xuhdev/backup-on-the-go","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fbackup-on-the-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fbackup-on-the-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fbackup-on-the-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fbackup-on-the-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuhdev","download_url":"https://codeload.github.com/xuhdev/backup-on-the-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244772644,"owners_count":20508033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-09T14:03:05.608Z","updated_at":"2025-03-21T09:32:21.258Z","avatar_url":"https://github.com/xuhdev.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Backup On The Go\n\n[RubyGems][1] | [RDocs][2]\n\nBack up (or mirror) your GitHub repositories to BitBucket.\n\n## Install\n\n    gem install backup_on_the_go\n\n## Run Locally\n\nShortcut:\n\nBack up your personal repositories (will back up your repositories to BitBucket\nwith a prefix of `backup-on-the-go-`):\n\n    backup-on-the-go user:your_user_name\n\nBack up your personal repositories to a different account on BitBucket:\n\n    backup-on-the-go github_user:user_name_on_github bitbucket_user:user_name_on_github\n\nBack up your organization repositories:\n\n    backup-on-the-go user:your_user_name github_repos_owner:organization_name bitbucket_repos_owner:team_name\n\nFor more options, see the parameters of [BackupOnTheGo.backup][3].\n\n\n## Run in the Cloud\n\nYou can deploy to some cloud services to run the backup timely.\n\n### Deploy to Heroku\n\nIf you are new to [Heroku](http://heroku.com), first go to Heroku website to\n[create an account][heroku_signup], install [Heroku Toolbelt][], and run\n`heroku login` to login.\n\nRun the following command to obtain the pre-prepared files for deploying:\n\n    git clone -b heroku git://github.com/xuhdev/backup-on-the-go.git\n    cd backup-on-the-go\n    bundle\n    heroku create\n\nThen edit `backup.rb` to configure your backup. After configuring, you may\nwanna run `foreman start` to test locally. Then:\n\n    git commit -a -m \"My initial backup commit.\"\n    git push heroku heroku:master\n\n**NOTE**: Don't push to any public repositories, since your password is there!\n\nAt last, you need to [scale your dyno formation][] in order to run the backup\ndyno instead of the web dyno:\n\n    heroku scale web=0 worker=1\n\nDone!\n\n\n## Real World Examples\n\nFor a real world example, you can check [my backup BitBucket Account][]. For\nanother example of backing up organizations, see EditorConfig on [GitHub][4]\nand [BitBucket][5].\n\n\n\n[1]: https://rubygems.org/gems/backup_on_the_go\n[2]: http://rubydoc.info/github/xuhdev/backup-on-the-go/master/frames\n[3]: http://rubydoc.info/github/xuhdev/backup-on-the-go/master/BackupOnTheGo.backup\n[4]: https://github.com/editorconfig\n[5]: https://bitbucket.org/editorconfig\n[Heroku Toolbelt]: https://toolbelt.heroku.com/\n[My backup BitBucket Account]: https://bitbucket.org/xuhdev-backup\n[heroku_signup]: https://id.heroku.com/signup\n[scale your dyno formation]: https://devcenter.heroku.com/articles/scaling\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuhdev%2Fbackup-on-the-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuhdev%2Fbackup-on-the-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuhdev%2Fbackup-on-the-go/lists"}