.\" Man page generated from reStructuredText .\" by the Docutils 0.22.4 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "BARMAN-SWITCH-WAL" "1" "Sep 29, 2026" "3.20" "Barman" .SH NAME barman-switch-wal \- Barman Sub-Commands .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX switch\-wal [ \-\-archive ] [ \-\-archive\-timeout ] [ \-\-force ] [ { \-h | \-\-help } ] SERVER_NAME [ SERVER_NAME ... ] .EE .UNINDENT .UNINDENT .SH DESCRIPTION .sp Execute \fBpg_switch_wal()\fP on the target server (Postgres versions 10 and later) or \fBpg_switch_xlog()\fP (for Postgres versions 8.3 to 9.6). .SH PARAMETERS .INDENT 0.0 .TP .B \fBSERVER_NAME\fP Name of the server in barman node .TP .B \fB\-\-archive\fP Waits for one WAL file to be archived. If no WAL file is archived within a specified time (default: \fB30\fP seconds), Barman will terminate with a failure exit code. This option is also available on standby servers. .TP .B \fB\-\-archive\-timeout\fP Specify the amount of time in seconds (default: \fB30\fP seconds) that the archiver will wait for a new WAL file to be archived before timing out. This option is also available on standby servers. .TP .B \fB\-\-force\fP Forces the switch by executing a CHECKPOINT before \fBpg_switch_wal()\fP\&. .sp \fBNote:\fP .INDENT 7.0 .INDENT 3.5 Running a CHECKPOINT may increase I/O load on the Postgres server, so use this option cautiously. .UNINDENT .UNINDENT .TP .B \fB\-h\fP / \fB\-\-help\fP Show a help message and exit. Provides information about command usage. .UNINDENT .SH Author EnterpriseDB .SH Copyright © Copyright EnterpriseDB UK Limited 2011-2026 .\" End of generated man page.