1AMANDA-COMMAND-FIL(5) File formats and conventions AMANDA-COMMAND-FIL(5)
2
3
4
6 amanda-command-file - Keep status of outgoing dle commands
7
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
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
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
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