1AMANDA-COMMAND-FIL(5)    File formats and conventions    AMANDA-COMMAND-FIL(5)
2
3
4

NAME

6       amanda-command-file - Keep status of outgoing dle commands
7

DESCRIPTION

9       The command-file file keep information of outgoing dumps commands,
10       dumps to flush from holding disk to storage, dumps to copy (vault) from
11       one storage to another, dumps with outgoing restore request.
12
13       The file is in text. The first line is the version of the file, the
14       second line is an id that increment on each new insertion in the file.
15
16       Each following line start with an id followed by one the keywords:
17
18       FLUSH
19           Entry that list a holding file and a storage where it must be
20           flushed.
21
22       COPY
23           Entry that list a dump from a storage and a storage where to copy
24           it (vault).
25
26       RESTORE
27           Entry that list a dump from a storage that have a restore request.
28           An entry is automatically removed 24 hours after it is created.
29
30       Amanda never overwrite a volume if one its dump have a command in the
31       command-file.
32

FLUSH LINE

34       id FLUSH config holding-file hostname diskname dump-timestamp dump-level storage WORKING:pid STATUS.fi
35
36       id
37           The id of the command.
38
39       FLUSH
40           The FLUSH keyword.
41
42       config
43           The config to which that command apply.
44
45       holding-file
46           The holding-file to flush.
47
48       hostname
49           The hostname of the dump.
50
51       diskname
52           The diskname of the dump.
53
54       dump-timestamp
55           The timestamp of the dump.
56
57       dump-level
58           The level of the dump.
59
60       storage
61           The storage where to flush the dump.
62
63       WORKING:pid
64           The pid of the process doing the flush, or 0.
65
66       STATUS
67           TODO or DONE.
68

COPY LINE

70       id COPY config src-storage src-pool src-label src-fileno src-labels-str start-time hostname diskname dump-timestamp dump-level dest-storage WORKING:pid STATUS.fi
71
72       id
73           The id of the command.
74
75       COPY
76           The COPY keyword.
77
78       config
79           The config to which that command apply.
80
81       src-srorage
82           The storage where to find the dump.
83
84       src-pool
85           The pool where to find the dump.
86
87       src-label
88           The label of the first part of the dump
89
90       src-fileno
91           The fileno of the first part of the dump
92
93       src-labels-str
94           The list of all source labels required
95
96       start-time
97           When to start the copy
98
99       hostname
100           The hostname of the dump.
101
102       diskname
103           The diskname of the dump.
104
105       dump-timestamp
106           The timestamp of the dump.
107
108       dump-level
109           The level of the dump.
110
111       dest-storage
112           The storage where to copy the dump.
113
114       WORKING:pid
115           The pid of the process doing the copy, or 0.
116
117       STATUS
118           TODO or DONE.
119

RESTORE LINE

121       To restore from a storage:
122
123       id RESTORE config src-storage src-pool src-label    src-fileno expire hostname diskname dump-timestamp dump-level WORKING:pid STATUS.fi
124
125       or to restore from a holding file:
126
127       id RESTORE config HOLDING     HOLDING  holding-file 0          expire hostname diskname dump-timestamp dump-level WORKING:pid STATUS.fi
128
129
130       id
131           The id of the command.
132
133       RESTORE
134           The RESTORE keyword.
135
136       config
137           The config to which that command apply.
138
139       src-srorage
140           The storage where to find the dump.
141
142       src-pool
143           The pool where to find the dump.
144
145       src-label
146           The label of the first part of the dump.
147
148       HOLDING
149           The HOLDING keyword.
150
151       holding-file
152           The full path of the holding file.
153
154       src-fileno
155           The fileno of the first part of the dump
156
157       expire
158           When this command expire and can be automatically removed from the file.
159
160       src-labels-str
161           The list of all source labels required
162
163       start-time
164           When to start the copy
165
166       hostname
167           The hostname of the dump.
168
169       diskname
170           The diskname of the dump.
171
172       dump-timestamp
173           The timestamp of the dump.
174
175       dump-level
176           The level of the dump.
177
178       WORKING:pid
179           The pid of the process doing the copy, or 0.
180
181       STATUS
182           TODO or DONE.
183

SEE ALSO

185       amanda(8), amanda.conf(5)
186
187       The Amanda Wiki: : http://wiki.zmanda.com/
188

AUTHOR

190       Jean-Louis Martineau <martineau@zmanda.com>
191           Zmanda, Inc. (http://www.zmanda.com)
192
193
194
195Amanda 3.5.1                      12/01/2017             AMANDA-COMMAND-FIL(5)
Impressum