mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #915] Question: Merge two ArchiveBox collections #566
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#566
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dbready on GitHub (Jan 23, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/915
First of all -thanks for this great project. Gives me real peace of mind that I know I can easily reference back to a few articles forever.
I have two different machines that I use on a regular basis. Each of these have their own Archives I created with some collection of same/different urls archived at different times (theoretically, there would be no overlapping timestamps, but time is a funny thing).
Is there a built in mechanism I can use to merge Archivebox A into Archivebox B to get the union of content into a single repository? I was unable to find documentation describing this scenario, but it is possible I missed something obvious.
Thanks.
@pirate commented on GitHub (Jan 24, 2022):
Yes, it's quite easy. First, upgrade both old collections to the most recent ArchiveBox version, then create a new collection in a new folder somewhere. Drag everything under
archive/*in both old collections into the new collection'sarchive/folder, then runarchivebox initin the new collection to generate the index.@prnake commented on GitHub (Feb 9, 2022):
It took me quite a while to figure out how to rebuild the database from all existing archives, and I think this method should be written into README, as there seems to be no mention of the correct import method in all the documentation now.
@pirate commented on GitHub (Mar 16, 2022):
Added a wiki page: https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading---Merging-Archives