Debian Codegraph @

docs/_build/man/barman-switch-wal.1

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "BARMAN-SWITCH-WAL" "1" "Sep 29, 2026" "3.20" "Barman"
32 .SH NAME
33 barman-switch-wal \- Barman Sub-Commands
34 .SH SYNOPSIS
35 .INDENT 0.0
36 .INDENT 3.5
37 .sp
38 .EX
39 switch\-wal
40 [ \-\-archive ]
41 [ \-\-archive\-timeout ]
42 [ \-\-force ]
43 [ { \-h | \-\-help } ]
44 SERVER_NAME [ SERVER_NAME ... ]
45 .EE
46 .UNINDENT
47 .UNINDENT
48 .SH DESCRIPTION
49 .sp
50 Execute \fBpg_switch_wal()\fP on the target server (Postgres versions 10 and later) or
51 \fBpg_switch_xlog()\fP (for Postgres versions 8.3 to 9.6).
52 .SH PARAMETERS
53 .INDENT 0.0
54 .TP
55 .B \fBSERVER_NAME\fP
56 Name of the server in barman node
57 .TP
58 .B \fB\-\-archive\fP
59 Waits for one WAL file to be archived. If no WAL file is archived within a specified
60 time (default: \fB30\fP seconds), Barman will terminate with a failure exit code. This
61 option is also available on standby servers.
62 .TP
63 .B \fB\-\-archive\-timeout\fP
64 Specify the amount of time in seconds (default: \fB30\fP seconds) that the archiver
65 will wait for a new WAL file to be archived before timing out. This option is also
66 available on standby servers.
67 .TP
68 .B \fB\-\-force\fP
69 Forces the switch by executing a CHECKPOINT before \fBpg_switch_wal()\fP\&.
70 .sp
71 \fBNote:\fP
72 .INDENT 7.0
73 .INDENT 3.5
74 Running a CHECKPOINT may increase I/O load on the Postgres server, so use this
75 option cautiously.
76 .UNINDENT
77 .UNINDENT
78 .TP
79 .B \fB\-h\fP / \fB\-\-help\fP
80 Show a help message and exit. Provides information about command usage.
81 .UNINDENT
82 .SH Author
83 EnterpriseDB
84 .SH Copyright
85 © Copyright EnterpriseDB UK Limited 2011-2026
86 .\" End of generated man page.