LANraragi
GithubDemoDocker HubDiscord Server
Nightly Release
Nightly Release
  • LANraragi Documentation
  • Installing LANraragi
    • ❓Which installation method is best for me?
    • 🪟LRR for Windows (Win10)
    • 🍎Homebrew (macOS)
    • 🐳Docker (All platforms)
    • 🛠️Source Code (Linux/macOS)
    • 🐧Community (Linux)
    • 👿Jail (FreeBSD)
  • Basic Operations
    • 🚀Getting Started
    • 📚Reading Archives
    • ✒️Adding Metadata
    • 🔎Searching the Archive Index
    • 📈Statistics and Logs
    • 🖌️Themes
  • Advanced Usage
    • 🦇Batch Operations
    • 📂Categories
    • ⬇️Downloading Archives
    • 💾Backup and Restore
    • 📱Using External Readers
    • 🌐Network Interface Setup
    • 🕵️Proxy Setup
    • 📏Tag Rules
  • Developer Guide
    • 🏗️Setup a Development Environment
    • 🏛️Architecture & Style
    • 🈁Translating LANraragi to other languages
  • API Documentation
    • 🔑Getting started
    • Search API
    • Archive API
    • Database API
    • Category API
    • Tankoubon API
    • Shinobu API
    • Minion API
    • Miscellaneous other API
  • Writing Plugins
    • 🧩Getting started
    • Login Plugins
    • Metadata Plugins
    • Downloader Plugins
    • Generic Plugins ("Scripts")
    • Code Examples
Powered by GitBook
On this page

Was this helpful?

  1. Advanced Usage

Backup and Restore

You do make backups, right?

PreviousDownloading ArchivesNextUsing External Readers

Last updated 3 years ago

Was this helpful?

This page, available from the top menu once logged in, allows you to backup the entire database to a JSON file. This includes all your categories, and for every file in the database:

  • The unique ID of the archive (For the more technologically-enclined: LRR uses a SHA-1 hash of the first 512KBs of the file as the ID)

  • The saved tags

  • The saved title

This JSON can then be restored in another LRR instance, if it has archives with matching unique IDs.

You can also make backup JSONs with the npm run backup-db command or through the Client API.

💾
Average backup.json