FlyingFish
FlyingFish on GitHub
  • FlyingFish
    • About the project
    • Screenshots
    • Installation
      • Quick Setup
      • Quick Update
      • Create Backup
      • Long setup
        • Env
        • Docker compose
          • Ports
          • Network
      • Storage management
      • FAQ
    • Configurations
      • Which user type am I
      • Listen
        • Port forwarding
        • Proxy protocol
        • IP Access
        • Gateway identifiers
        • UPnP Nat
      • Domains
        • DynDns Clients
        • Own DNS Server
        • Discussions Subdomains
        • DynDns Server
      • Routes
    • Examples
      • SSH hidden on HTTPS
      • FlyingFish to other reverse proxy
      • Backup Server, SSH to Nas
      • Own DynDNS Server - Fritzbox
      • Inventree - Route
    • Developer
      • Ideas, requests and bugs
      • Project structure
        • Under the hood
        • Service structure
        • Schema
        • Object name rules
      • Image build
      • Plugins
    • Contribution
Powered by GitBook
On this page
  • Backup the docker volumes
  • Restore the docker volumes
Edit on GitHub
  1. FlyingFish
  2. Installation

Create Backup

PreviousQuick UpdateNextLong setup

Last updated 1 year ago

Backup the docker volumes

All important data is stored in the Docker volumes.

Volumename
Description

flyingfish_flyingfish

Data from backend with config and tmp files

flyingfish_flyingfishLetsencrypt

Data from backend with Lets Encrypt certificates

flyingfish_flyingfishDbData

Database files from Mariadb server

flyingfish_flyingfishInfluxdbData

Database files from Influxdb server

flyingfish_flyingfishSsh

Data from SSH jump server

Install the following shell script to create a backup of the volume.

sudo curl -SL https://raw.githubusercontent.com/stefanwerfling/docker-volume-snapshot/main/docker-volume-snapshot -o /usr/local/bin/docker-volume-snapshot
sudo chmod +x /usr/local/bin/docker-volume-snapshot

Now everything is over to back up the volumes.

docker-volume-snapshot create <volume name> <backup file name>.tar

Restore the docker volumes

To restore the volume, first delete the old one (if it still exists).

docker volume rm <volume name>

Now it can be restored with the docker-volume-snapshot.

docker-volume-snapshot restore <backup file name>.tarh <volume name>

If you are interested or have questions, you can learn more about .

docker-volume-snapshot here
Image generated by an AI with MIT license