#
# (c) Copyright 1999-2008 Parallels
# All Rights Reserved
#
# This file is used to declare pmmcli utility paramemers.  No changes 
# should be made to this file without first consulting support. 
# Any changes made can affect service availability and performance.
#
# Each line in this file follows the following format:
#
# variable [whitespace characters] value
#
# That is, the name of the field, followed by spaces or tabs, followed
# by field value. Trailing spaces are removed.
# All text should be encoded in UTF-8.
#

# Required free disk space (Mb) to perform backup operation
FREE_DISK_SPACE 20

# Compare free disk space with predicted size of dump (possible values are: 0, 1)
CHECK_BACKUP_DISK_SPACE 1

# pmmcli daemon timeout (in minutes)
DAEMON_TIMEOUT 30

# timeout to keep temp dumps after last access (in seconds, 0...86400). used with "--export-dump-as-file -temp" command
KEEP_TEMP_DUMP 1800

# Time to keep old session (in days)
# "30 days" value is hardcoded in the CL utilities exit messages
DAYS_TO_KEEP_SESSIONS 30

# smtpserver name
SMTPSERVER localhost

# AUTHREQUIRED param of smtpserver
AUTHREQUIRED 0

# smtpserver user name (not required if AUTHREQUIRED=0)
#SMTPUSER user

# smtpserver user password (not required if AUTHREQUIRED=0)
#SMTPPASS pass

# Backup task notification mail subject
NOTIFICATION_MAIL_SUBJECT_BACKUP Backup task notification

# Restore task notification mail subject
NOTIFICATION_MAIL_SUBJECT_RESTORE Restore task notification

# Notification mail 'mail-from' parameter
#NOTIFICATION_MAIL_FROM "Plesk administrator"

# Notification mail 'mail-reply-to' parameter
#NOTIFICATION_MAIL_REPLYTO "Plesk administrator"

# Message body of backup task notification mail
NOTIFICATION_MAIL_BODY_BACKUP 'Backup task finished on host %HOST_NAME%.\n\nCreation date is: %CREATION_DATE%\nCreated by: %OWNER_NAME% (type=%OWNER_TYPE%, guid=%OWNER_GUID%)\nCreated for: %TOPOBJECT_NAME% (type=%TOPOBJECT_TYPE%, id=%TOPOBJECT_ID%)\nTask status is: %TASK_STATUS% (see details in the attached file)\n\nDump full name is: %FULL_NAME%\n\n\n\n'

# Message body of restore task notification mail
NOTIFICATION_MAIL_BODY_RESTORE 'Restore task finished on host %HOST_NAME%.\n\nCreation date is: %CREATION_DATE%\nCreated by: %OWNER_NAME% (type=%OWNER_TYPE%, guid=%OWNER_GUID%)\nCreated for: %TOPOBJECT_NAME% (type=%TOPOBJECT_TYPE%, id=%TOPOBJECT_ID%)\nTask status is: %TASK_STATUS% (see details in the attached file)\n\nDump full name is: %FULL_NAME%\n\n\n\n'

# Panel name
NOTIFICATION_MAIL_PANEL_NAME Server

# Panel administrator name
NOTIFICATION_MAIL_PANEL_ADMINISTRATOR_NAME Plesk administrator

# Maximum number of resolve conflicts iteration
MAX_CONFLICT_RESOLVES 1

# Maximum number of log files stored
MAX_LOG_FILES 10

# Maximum size of log file before rotation
MAX_LOG_SIZE 1048576

# Add debug information to all utilities called by pmmcli
FORCE_DEBUG_LOG 0

# Coefficient to calculate required disk space on source host. Required disk space = sum of required disk space for all domains * this coefficient
USED_SPACE_COEFFICIENT 0.7

# Run all backup processes with adjusted niceness (lower priority). Possible values are: 0, 1. Default: 0. Only for Unix.
NICE_ALWAYS 1

# Adjustment of niceness for all backup processes. Is used when NICE_ALWAYS is 1. Possible values are: 0..19. Default: 10. Only for Unix.
NICE_ADJUSTMENT 10

# Transport for migration process. Possible values: rsync, archive. Default: rsync
MIGRATION_TRANSPORT rsync

# Use MSSQL native backup for all databases hosted on local database server
MSSQL_NATIVE_BACKUP_ENABLED 1

# Value of download migration content time which is acceptable for user. If calculated download time will be higher than specified value it will be reported on Capability Screen. In seconds. Default: 86400
MAX_TRANSFER_DOWNLOAD_TIME 86400

# Value of download migration content speed which is acceptable for user. If calculated download speed will be higher than specified value it will be reported on Capability Screen. In megabyte per second. Default: 1.25
MIN_TRANSFER_DOWNLOAD_SPEED 1.25

# Max number of log dirs stored
MAX_NUMBER_OF_LOG_DIRS 30

# Archiver library (Windows only). Possible values: pmmarchiver.dll, ICSharpCode.SharpZipLib.dll
#ARCHIVER_LIBRARY pmmarchiver.dll

# Keep local backup (if backup creator has 'Backup and restoration of data using the server storage'
# permissions is absent) if upload to FTP failed
KEEP_LOCAL_BACKUP_IF_EXPORT_TO_FTP_FAILED 1