10-17-2008 11:14 AM
I am running BE 12.5 and am creating a policy + template from the command line. The compression option is not being set. No matter what value I try for COMPRESSION_TYPE the policy's template remains at "Hardware (otherwise none). Ideally, I would like for it to be set to "Software".
Please advise, Thanks.
-John
(server_policy.ini)
--------------------
[General]
NAME=Serv1 Policy
[Templates]
NAME1=Serv1 - Full
FILE1=Serv1-Full.ini
TYPE1=0
(Serv1-Full.ini)
-------------------
[Backup_Options]
BK_SET_NAME=Serv1 - Full
BK_METHOD=0
DEVICE_NAME=Serv1
OPEN_FILE_METHOD=2
PRESERVE_TREE_ON_ARCHIVE=1
USE_OPEN_FILE_OPTION=1
OPEN_FILE_CONFIGURATION=1
SNAPSHOT_PROVIDER=0
ENCRYPTION_KEY_NAME=uhs key
ENCRYPTION_TYPE=1
[Media Options]
COMPRESSION_TYPE=1 (here, I tried 1,2,3 but no effect)
VERIFY=1
CHECKSUM=1
[Schedule]
SCHED_EFFECTIVE=10/15/2008
SCHED_STARTTIME=21:00:00
SCHED_ENDTIME=23:00:00
SCHED_REPEAT_INTERVAL=7
SCHED_ANCHOR=10/18/2008
SCHED_DAYSOFWEEK=7
(command line)
----------------
bemcmd -v -o260 -fserver_policy.ini
10-17-2008 11:32 AM
Here is a workaround that I just thought of...
Tools -> Options -> Backup
Compression Type = Software
This sets the Default compression level (for any new jobs, templates, etc.) to Software.
However, I still would like to know why the command line version is not working.
-John