mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1556] Question: Importing Data? #3946
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#3946
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 @Godly-Avenger on GitHub (Oct 21, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1556
If I already have archived data from another source (in the form of WACZ or WARC files), is it possible to import it into ArchiveBox? If so, how?
@pirate commented on GitHub (Oct 21, 2024):
I recomment adding all the URLs to archivebox with just the
titleandfaviconmethods selected first.This will create snapshot dirs for each URL.
Then iterate over the output of
archivebox list --csv=timestamp,urlto get snapshot IDs (timestamps) for all the directories it created, and the corresponding URLs they're for.If you match the filesystem structure archivebox expects in each dir, it should show your files in the UI:
They wont have corresponding
ArchiveResultentries in the Admin UI (you can manually create those if you need them) but it's not necessary if you only want to see your files on the Snapshot detail view page.For more see here: https://github.com/ArchiveBox/ArchiveBox#output-formats
@pirate commented on GitHub (Oct 21, 2024):
Lets move ongoing discussion here though in order to keep the convo in one place: https://github.com/ArchiveBox/ArchiveBox/issues/160