I would like to backup my rails app usig a private git repo. I’ve decided to use Dropbox but I’ve already deployed to heroku, setup DNS for a custom domain name without backing up and would hate for something to go wrong by transferring my project.
Does anyone have experience with this or knows if something will go wrong? Should I reconfigure any files before transferring to a private dropbox folder?
Heroku’s addons (i.e. custom domain) configurations are located on their server, not on your computer. Typically configs appear in ENV variables. Type
heroku configto see what you have.So yes, you are free to copy your code anywhere you like, and be sure to copy your dotfiles as well.
Personally, I use github for my code backups.