'Creates a manual backup of the plexpy.db file'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
def backup_config(self, **kwargs):

    result = config.make_backup()
    if result:
        return {'result': 'success', 'message': 'Config    backup    successful.'}
    else:
        return {'result': 'error', 'message': 'Config    backup    failed.'}
