Backup e ripristino (Docker)
Questa sezione mostra alcune nozioni di base sul processo di backup e ripristino per una distribuzione Docker Compose.
If you are familiar with volume based backup and restore procedures in Docker, and perhaps already use a different method or tool, then you can keep using it. A backup would typically mean shutting down the stack to ensure all in-memory files get written to disk, then backing up the volume contents, and then starting the stack again. When using such method, you can consider using the disable-backup-service scenario so that the built-in backup and restore mechanism of Zammad is not activated.
Il resto di questa pagina descrive il meccanismo di backup e ripristino integrato dello stack Docker di Zammad.
If you're familiar with Docker, the sections below include the information you'll need. The Docker file handling page covers some examples about how to handle the backup files and to copy it into a Docker volume to restore it.
Backup
Per impostazione predefinita, un backup viene creato ad ogni avvio dello stack nonché alle 3 di ogni notte.
Ripristino
- Avvia il nuovo stack almeno una volta in modo che un database Zammad sia disponibile.
- Ferma lo stack.
- Nel caso tu ripristini su uno stack di produzione con archiviazione filesystem attivata, dovresti.
- Copia o sposta i file di backup in
/var/tmp/zammad/restore/all'interno del volume del container **zam - Avvia lo stack. Il processo di ripristino viene attivato se la cartella
restoreviene rilevata e. - Dopo che il processo di ripristino è terminato, la cartella
restoreè stata rinominata. Puoi tranquillamente.