Skip to content

Instantly share code, notes, and snippets.

View ksinkar's full-sized avatar
๐Ÿง

Koustubh Sinkar ksinkar

๐Ÿง
  • Berlin
View GitHub Profile
@ksinkar
ksinkar / pg_backups_data_transfer.rake
Created October 17, 2012 08:56
This rake task is used for downloading the Postgres databackup of a Heroku app. The Heroku db:pull doesn't seem to be working due to some taps gem versioning problem. Also this rake task works faster for restoring your databases from the Heroku pgbackups
######################################################################################
##### Copyright(C) Koustubh Sinkar <[email protected]> #####
##### #####
##### This program is free software: you can redistribute it and/or modify #####
##### it under the terms of the GNU Lesser General Public License as #####
##### published by the Free Software Foundation, either version 2 of the #####
##### License, or (at your option) any later version. #####
##### #####
##### This program is distributed in the hope that it will be useful, #####
##### but WITHOUT ANY WARRANTY; without even the implied warranty of #####