mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #1150] How do I configure ArchiveBox to persist data on a NAS? #2225
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#2225
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 @omniowl on GitHub (May 18, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1150
I can see in the documentation it says:
That sounds great, but when I looked further I didn't seem to find anything suggesting how to achieve this? I'd love to have the sqlite database in my container to save on space and move everything that's archived to my NAS. How would I do that? Did I just miss that in the documentation?
@pirate commented on GitHub (May 19, 2023):
It's just a matter of mounting your NAS folder to the
archive/path, there's not really any setup beyond that required on the ArchiveBox side.docker-compose.yml:@omniowl commented on GitHub (May 19, 2023):
The NAS is on my network separate from the container on a different subnet.
The host of the container is on the same subnet as the NAS though.
Is it still just a volumes line like that?
@pirate commented on GitHub (May 19, 2023):
You need the mount the NAS to a local folder first, the instructions to do that vary wildly depending on you NAS, host OS, and network setup. You'll probably need to use SMB, NFS, SSHFS, SFTP or something similar to mount it.
To bridge separate subnets I recommend setting up Tailscale on your machine and the NAS (or use an SSH tunnel or some other similar VPN software).
@omniowl commented on GitHub (May 19, 2023):
Hm, alright. I'll give it a try.
@pirate commented on GitHub (Jun 13, 2023):
Closing for now, but if you have any specific questions / issues you encounter during NAS setup, comment back here and I can reopen it.