如何自动备份

hMailServer的综合讨论。包括安装、使用、webmail等问题。

版主: jimmy, Hsia

版面规则
回复
raikkonen
Level 2
Level 2
帖子: 9
注册: 2016年6月3日, 14:05

如何自动备份

帖子 raikkonen »

在hamail安装文件夹下有自动备份脚本
路径在这里hMailServer\Addons\Utilities
VBS脚本如下,但上每次运行都报错,有没有熟悉脚本的帮忙看看

Const sAdminPassword = "<11223344>"

Dim oApp
Set oApp = CreateObject("hMailServer.Application")

' Authenticate the client.
Call oApp.Authenticate ("Administrator", sAdminPassword)

Call oApp.BackupManager.StartBackup()
错误.png
raikkonen
Level 2
Level 2
帖子: 9
注册: 2016年6月3日, 14:05

Re: 如何自动备份

帖子 raikkonen »

上传图片
错误.png
错误.png (8.29 KiB) 查看 22884 次
头像
Hsia
网站管理员
网站管理员
帖子: 335
注册: 2014年11月26日, 12:41
地址: 上海
联系:

Re: 如何自动备份

帖子 Hsia »

有没有重新载入?
raikkonen
Level 2
Level 2
帖子: 9
注册: 2016年6月3日, 14:05

Re: 如何自动备份

帖子 raikkonen »

重启过了也没用,怎么重新载入
BeiFeng
Level 1
Level 1
帖子: 1
注册: 2018年1月15日, 10:19

Re: 如何自动备份

帖子 BeiFeng »

建议您试试把密码中的 < >去掉试试。
回复