Hacker News new | comments | show | ask | jobs | submit login

My poorman's offsite backup script involves zipping up the repository, encrypt it, and mail it to GMail. The task is scheduled daily and works pretty well.



I did this with my university project source code. The only difficulty is that Gmail does not allow executables even within a zip file. You have to work pretty hard to avoid getting them into your repo.


If you encrypt the zip, it works fine. Took me ages to discover that :)


    mv $ZIP_FILE_NAME $ZIP_FILE_NAME.txt




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: