This is by far the most requested feature.
People want an easy way to take multiple snapshots of websites over time.
This will be easier to do once we've added pywb support since we'll be able to use timestamped de-duped WARCs to save each snapshot: #130
For people finding this issue via Google / incoming links, if you want a hacky solution to take a second snapshot of a site, you can add the link with a new hash and it will be treated as a new page and a new snapshot will be taken:
echo https://example.com/some/page.html#archivedate=2019-03-18 | ./archive
# then to re-shapshot it on another day...
echo https://example.com/some/page.html#archivedate=2019-03-22 | ./archive
Looking forward to this feature. Thanks for the hacky workaround as well, I have a few pages I'd like to continue monitoring for new content but I was worried about the implications of my current backup being overwritten by a 404 page if the content went down.
I just updated the README to make the current behavior clearer as well:
Running
./archiveadds only new, unique links into your data folder on each run. Because it will ignore duplicates and only archive each link the first time you add it, you can schedule it to run on a timer and re-import all your feeds multiple times a day. It will run quickly even if the feeds are large, because it's only archiving the newest links since the last run. For each link, it runs through all the archive methods. Methods that fail will saveNoneand be automatically retried on the next run, methods that succeed save their output into the data folder and are never retried/overwritten by subsequent runs. Support for saving multiple snapshots of each site over time will be added soon (along with the ability to view diffs of the changes between runs).
Any updates on this? It would be really nice if it was possible to have versions, like the waybackmachine does :)
You can accomplish this right now still by adding a hash at the end of the URL, e.g.
archivebox add https://example.com/#2020-08-01
archivebox add https://example.com/#2020-09-01
...
Official first-class support for multiple snapshots is still on the roadmap, but don't expect it anytime in the next month or two, it's quite a large feature with big implications for how we store and dedupe snapshot data internally.
Would be nice if there also was a migration from the hash-date-hack to the first-class support.
Most helpful comment
You can accomplish this right now still by adding a hash at the end of the URL, e.g.
Official first-class support for multiple snapshots is still on the roadmap, but don't expect it anytime in the next month or two, it's quite a large feature with big implications for how we store and dedupe snapshot data internally.