1、黑名单
在备份服务器执行以下命令(依赖sqlite3包,需要提前安装)

sqlite3  /var/opt/scutech/dbackup3/backupd/common.db
SQLite version 3.11.0 2016-02-15 17:29:24
Enter ".help" for usage hints.
sqlite> select id,hex(user_uuid),ip from user_black_ip;
sqlite> select id,hex(user_uuid),ip from user_black_ip;
1|C93EE9AA34D00001202B32E35260A5F0|192.168.0.129
sqlite> delete from user_black_ip;
sqlite> select id,hex(user_uuid),ip from user_black_ip;
sqlite> .quit
删除完成之后再次登录即可。

2、忘记密码
在备份服务器执行以下命令(依赖sqlite3包,需要提前安装,直接复制不要手敲,执行完之后登录admin用户时就会提示重新设置密码)

root@infokist:~# sqlite3  /var/opt/scutech/dbackup3/backupd/common.db
sqlite> UPDATE password SET hashed_password=x'A24075097B31BE9A172433827491B0EA62A4501B3913D51902C79610127A65E6BA7CC4B956A5D571890DE2898C1ECB55827659DA177BBB4AAAC7FFB6368AD0C67AB56263630F387ABE6B6C414D832DA1D5DCDD19FCDC31D20EA92CC741CADDBCF642A9D4BA93CA645AD0E13B8C2E224C58F987A911EF07A065EDB5224BCB07E9EF705A1C803AD5E2E68569C40DC409ADD8E5B0654FEBA0AA5310FA337C19CB6ED25609C1A63E3295B999472EB9BD07BA6E03BD45D1A7719055C554D1CDBEDF37B6D1E03344F3FA2E89699AA3A7B232D34E1F74ED1295C46AAB9310D40EC9E159A6BCC7A970284D950B43E6444A26A12A81B8750F22DC48C99C7A70CF0192FC1F', salt=x'53B1F9BB63AB', iterations=1000 WHERE user_uuid=(SELECT uuid FROM user WHERE name='admin'); 
sqlite> .quit 
ServiceName=(dbackup3-backupd dbackup3-storaged dbackup3-controller dbackup3-nginx dbackup3-agent  vmware_server xen_server kvm_server hyperv_server citrix_server fusionsphere_server h3c_server openstack_server cnware_server fusioncloud_server rhev_server os_server se_server control_server commservice hac_server cdpdata_server cdpcontrol_server nfs-kernel-server)
for i in ${ServiceName[@]};do
    systemctl stop $i.service > /dev/null
            if [ `echo $?` != 0 ];then
                    echo -e "$i \033[41;5mFailed\033[0m"
            else
                    echo -e "$i \033[44;37mSuccessful\033[0m"
            fi
done