| Auszug |
|---|
|
Nuclos pg_dump: PostgreSQL Backup Konsole, Skript, Custom Format, pg_restore, Schema nuclos, Sicherung. |
Sprache: Deutsch · English
Postgres Sicherung über Konsole/Skript
PostgreSQL-Backup per pg_dump – skriptbarer Custom-Format-Dump inkl. Parametererklärung.
| Status |
|---|
| colour | Blue |
|---|
| title | Administrator |
|---|
|
| Status |
|---|
| colour | Green |
|---|
| title | Stand: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | gilt fuer Nuclos 4.2026.x |
|---|
|
Die empfohlene, skriptbare Methode für ein PostgreSQL-Backup ist pg_dump im Custom-Format.
Vorgehen
- Terminal bzw.
cmd öffnen. - Folgenden Befehl ausführen:
| Codeblock |
|---|
|
pg_dump -U postgres -h localhost -d nuclosdb -n nuclos -F c > |
...
Geben Sie folgenden Befehl ein
...
/home/backup/nuclos.backup |
Parameter
Image Removed
...
...
...
...
...
-f ist der Filename
| Schemaname (Nuclos: nuclos) |
| -F c | Custom-Format (empfohlen, komprimiert, für pg_restore) |
| Tipp |
|---|
|
Prüfe nach dem Lauf, ob die Dateigröße plausibel ist. Für die Wiederherstellung eines Custom-Dumps pg_restore verwenden. |
Verwandte Seiten
Postgres Sicherung erstellen
pgAdmin.
Öffnen →
...