amanda-command-file — Keep status of outgoing dle commands
The command-file file keep information of outgoing dumps commands, dumps to flush from holding disk to storage, dumps to copy (vault) from one storage to another, dumps with outgoing restore request.
The file is in text. The first line is the version of the file, the second line is an id that increment on each new insertion in the file.
Each following line start with an id followed by one the keywords:
Entry that list a holding file and a storage where it must be flushed.
Entry that list a dump from a storage and a storage where to copy it (vault).
Entry that list a dump from a storage that have a restore request. An entry is automatically removed 24 hours after it is created.
Amanda never overwrite a volume if one its dump have a command in the command-file.
id FLUSH config holding-file hostname diskname dump-timestamp dump-level storage WORKING:pid STATUS
The id of the command.
The FLUSH keyword.
The config to which that command apply.
The holding-file to flush.
The hostname of the dump.
The diskname of the dump.
The timestamp of the dump.
The level of the dump.
The storage where to flush the dump.
The pid of the process doing the flush, or 0.
TODO or DONE.
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
The id of the command.
The COPY keyword.
The config to which that command apply.
The storage where to find the dump.
The pool where to find the dump.
The label of the first part of the dump
The fileno of the first part of the dump
The list of all source labels required
When to start the copy
The hostname of the dump.
The diskname of the dump.
The timestamp of the dump.
The level of the dump.
The storage where to copy the dump.
The pid of the process doing the copy, or 0.
TODO or DONE.
To restore from a storage:
id RESTORE config src-storage src-pool src-label src-fileno expire hostname diskname dump-timestamp dump-level WORKING:pid STATUS
or to restore from a holding file:
id RESTORE config HOLDING HOLDING holding-file 0 expire hostname diskname dump-timestamp dump-level WORKING:pid STATUS
The id of the command.
The RESTORE keyword.
The config to which that command apply.
The storage where to find the dump.
The pool where to find the dump.
The label of the first part of the dump.
The HOLDING keyword.
The full path of the holding file.
The fileno of the first part of the dump
When this command expire and can be automatically removed from the file.
The list of all source labels required
When to start the copy
The hostname of the dump.
The diskname of the dump.
The timestamp of the dump.
The level of the dump.
The pid of the process doing the copy, or 0.
TODO or DONE.
This manual page was written by
.