Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best Practices for Backup/Restore #341

Closed
ir0nh3at opened this issue Apr 29, 2020 · 3 comments
Closed

Best Practices for Backup/Restore #341

ir0nh3at opened this issue Apr 29, 2020 · 3 comments

Comments

@ir0nh3at
Copy link

Hello,
I've reviewed the docs, but I don't see any instructions on backup and restore of the downloaded data and database. Do we just backup the ArchiveBox directory and restore it, or is there more to it than that? Thanks!

@pirate
Copy link
Member

pirate commented Apr 29, 2020

Yup, you can zip up the entire folder as a backup, or ideally put it on a filesystem that has COW snapshot support like ZFS, APFS, BTFS, etc.

Newer versions of archivebox don't require keeping the output folder in the same folder as the code, and they're able to import all previous versions of archivebox databases.

@ir0nh3at
Copy link
Author

ir0nh3at commented Apr 29, 2020 via email

@pirate
Copy link
Member

pirate commented Apr 29, 2020

For anyone who finds this ticket in the future, here's a little more info on the folder structure in the docs (but nothing specific to backups):

Also note I've added a new DB/filesystem troubleshooting area to the wiki that may help people arriving here from Google: https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives#database-troubleshooting

Contributions/suggestions welcome there.

@pirate pirate closed this as completed Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants