| 1 |
# Bacula(R) - The Network Backup Solution |
| 2 |
# |
| 3 |
# Copyright (C) 2000-2022 Kern Sibbald |
| 4 |
# |
| 5 |
# The original author of Bacula is Kern Sibbald, with contributions |
| 6 |
# from many others, a complete list can be found in the file AUTHORS. |
| 7 |
# |
| 8 |
# You may use this file and others of this release according to the |
| 9 |
# license defined in the LICENSE file, which includes the Affero General |
| 10 |
# Public License, v3.0 ("AGPLv3") and some additional permissions and |
| 11 |
# terms pursuant to its AGPLv3 Section 7. |
| 12 |
# |
| 13 |
# This notice must be preserved when any source code is |
| 14 |
# conveyed and/or propagated. |
| 15 |
# |
| 16 |
# Bacula(R) is a registered trademark of Kern Sibbald. |
| 17 |
|
| 18 |
STATUS_COMMAND = "C" |
| 19 |
STATUS_DATA = "D" |
| 20 |
STATUS_ABORT = "A" |
| 21 |
STATUS_ERROR = "E" |
| 22 |
STATUS_NON_FATAL_ERROR = "Q" |
| 23 |
STATUS_WARNING = "W" |
| 24 |
STATUS_INFO = "I" |
| 25 |
|
| 26 |
EOD_PACKET = b'F000000' |
| 27 |
TERMINATION_PACKET = b'T000000' |
| 28 |
|
| 29 |
UNEXPECTED_ERROR_PACKET = "Unexpected error. Please check log for details" |
| 30 |
|
| 31 |
FILE_DATA_START = "DATA" |
| 32 |
XATTR_DATA_START = "XATTR" |
| 33 |
ACL_DATA_START = "ACL" |
| 34 |
ESTIMATION_START_PACKET = "EstimateStart" |
| 35 |
QUERY_START_PACKET = "QueryStart" |
| 36 |
INVALID_ESTIMATION_START_PACKET = "Invalid estimation job start packet" |
| 37 |
OBJECT_PAGE_ERROR = "Error retrieving a page of buckets." |
| 38 |
FILE_INFO_ERROR = "Error retrieving information about a file." |