Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: