实时备份功能的get_backup_status函数错误

刚刚配置了一下实时备份服务器,备份服务器使用阿里云oss储存,配置完成后在主服务器上使用./seaf-backup-cmd.sh status命令时,python报错:

Traceback (most recent call last):
  File "/home/creling/seafile-pro-server-6.3.2/seaf-backup-cmd.py", line 50, in <module>
    args.func(args)
  File "/home/creling/seafile-pro-server-6.3.2/seaf-backup-cmd.py", line 11, in show_backup_status
    ret_str = seafile_api.get_backup_status()
  File "/home/creling/seafile-pro-server-6.3.2/seafile/lib64/python2.7/site-packages/seaserv/api.py", line 1113, in get_backup_status
    return seafserv_threaded_rpc.get_backup_status()
  File "/home/creling/seafile-pro-server-6.3.2/seafile/lib64/python2.7/site-packages/pysearpc/client.py", line 112, in newfunc
    return fret(ret_str)
  File "/home/creling/seafile-pro-server-6.3.2/seafile/lib64/python2.7/site-packages/pysearpc/client.py", line 25, in _fret_string
    raise SearpcError(dicts['err_msg'])
pysearpc.common.SearpcError: cannot find function get_backup_status.

如果使用./seaf-backup-cmd.sh syne <library id>手动备份的话,则报错:

Failed to sync repo b616d0d3-b111-4835-8f6d-3028d23ff012: cannot find function sync_repo_manually..

有哪位dalao可以就如何解决这个问题给一点提示吗?

解决,./seaf-backup-cmd.sh status命令应当用在备份服务器而非主服务器上