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

It's not what you're aiming for with this comment, but I bet git would actually make a pretty good storage tool/format for archival of mostly static sites.

horrible simple hack: use `wget` with `--mirror` option, and commit the result to a git repository. Repeat with a `cron` job to keep an archive with change history.



I assume this is what wayback machine uses?


Of course not. They have their own crawler (Heritrix, an open source Java crawler) and archive in WARC format. It‘s serious archiving, they want to preserve reply codes, HTTP headers etc.




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

Search: