2023-12-10 16:39:33 +00:00
|
|
|
# encoding=utf-8
|
|
|
|
from datetime import datetime
|
|
|
|
|
|
|
|
|
|
|
|
# 定义一些公共的参数
|
|
|
|
|
|
|
|
# 浏览器类型
|
|
|
|
browser = "Firefox"
|
|
|
|
# 黑方的地址
|
|
|
|
unbackupIP = "https://10.10.13.197"
|
|
|
|
login_username = "sys_admin"
|
|
|
|
login_passwd = "test@2008"
|
|
|
|
|
|
|
|
# 代理相关
|
|
|
|
# 策略名
|
|
|
|
actime_time = datetime.now().strftime('%Y%m%d%H%M%S')
|
|
|
|
PolicyName = "AutoTest-SQLServerCDM-Backup-" + actime_time
|
|
|
|
# 代理名称
|
|
|
|
hostname = "SqlserverCDM"
|
|
|
|
# 过滤关键词
|
2023-12-11 12:17:26 +00:00
|
|
|
keyFilter = "test"
|
2023-12-10 16:39:33 +00:00
|
|
|
recTargetPath='C:\\data'
|