How to do Database Backups with Logrotate: Versionsgeschichte

Aus MattWiki

Auswahl des Versionsunterschieds: Markiere die Radiobuttons der zu vergleichenden Versionen und drücke die Eingabetaste oder die Schaltfläche am unteren Rand.
Legende: (Aktuell) = Unterschied zur aktuellen Version, (Vorherige) = Unterschied zur vorherigen Version, K = Kleine Änderung

27. April 2025

  • AktuellVorherige 23:1923:19, 27. Apr. 2025 Matt Diskussion Beiträge 1.193 Bytes +1.193 Die Seite wurde neu angelegt: „Example for how to create database backups with logrotate. == Example Configuration == The following configuration is still in testing so don't rely on this and take this with a grain of salt. Create file <code>/etc/logrotate.d/database_backup</code><syntaxhighlight lang="bash"> # daily backup for 7 days /var/backups/mariadb/database_dump.sql { missingok rotate 7 daily # compress # compresscmd gzip # compressext .gz nocopy nocreate postr…“ Markierung: Visuelle Bearbeitung