{"id":16079245,"url":"https://github.com/pat/lu-tze","last_synced_at":"2026-01-11T03:33:16.093Z","repository":{"id":982981,"uuid":"785962","full_name":"pat/lu-tze","owner":"pat","description":"Automated Backup Helper for Heroku","archived":false,"fork":false,"pushed_at":"2010-11-21T05:06:28.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T21:46:55.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pat.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-20T05:53:36.000Z","updated_at":"2014-03-31T14:00:29.000Z","dependencies_parsed_at":"2022-08-16T11:40:48.737Z","dependency_job_id":null,"html_url":"https://github.com/pat/lu-tze","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pat/lu-tze","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flu-tze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flu-tze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flu-tze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flu-tze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pat","download_url":"https://codeload.github.com/pat/lu-tze/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flu-tze/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275632573,"owners_count":25500073,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-09T10:41:36.806Z","updated_at":"2025-09-17T17:32:28.350Z","avatar_url":"https://github.com/pat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"h1. Lu Tze\n\nWe all know backups are important. However, they're often annoying. So, Lu Tze is a service for automating database backups. It sends an SQL dump of your database off to a remote backup service (Historian). It's been built to work just on Heroku (so PostgreSQL only), although there's potential for it to expand later down the track.\n\nAt this point, I've not open-sourced Historian, so while you can look at this side of the code, it's not particularly useful. I'm planning to provide a better overview soon, though.\n\nh2. Installation and Usage\n\nFirstly, you'll want to add Lu Tze as a gem requirement - when you're using Bundler (probably with Rails 3), that's a piece of cake with a single line in your Gemfile:\n\n\u003cpre\u003e\u003ccode\u003egem 'lu-tze', '0.2.0', :require =\u003e 'lu_tze'\u003c/code\u003e\u003c/pre\u003e\n\nFor those using Rails 2.x, it's slightly more complicated - you need it in both @config/environment.rb@:\n\n\u003cpre\u003e\u003ccode\u003econfig.gem 'lu-tze', :version =\u003e '0.2.0', :lib =\u003e 'lu_tze'\u003c/code\u003e\u003c/pre\u003e\n\n... and then add it to the .gems file that Heroku expects:\n\n\u003cpre\u003e\u003ccode\u003elu-tze --version 0.2.0\u003c/code\u003e\u003c/pre\u003e\n\nHeroku's free daily cron job is all that's needed to put it all together - I use something like the following in @lib/tasks/cron.rake@:\n\n\u003cpre\u003e\u003ccode\u003etask :cron =\u003e :environment do\n  LuTze.gather_and_send\nend\u003c/code\u003e\u003c/pre\u003e\n\nh2. Copyright\n\nCopyright (c) 2010 Pat Allan, released under an MIT licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Flu-tze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpat%2Flu-tze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Flu-tze/lists"}