def METHOD_NAME(self):
    """Test that RBAC objects can be backed up and restored.
    """
    ch_node = self.context.nodes[0]
    backup = self.context.backup
    table_name = "rbac_bp"
    try:
        with Given("I create and populate table"):
            create_and_populate_table(node=ch_node, table_name=table_name)
        with And("I create RBAC objects to be backed up"):
            for o, n in (("USER", "test_user"), ("ROLE", "test_role"), ("ROW POLICY", "test_policy ON rbac_bp"),
                         ("SETTINGS PROFILE", "test_profile"), ("QUOTA", "test_quota")):
                ch_node.query(f"CREATE {o} {n}")
        with When(f"I create backup"):
            backup.cmd(f"clickhouse-backup create --rbac {table_name}")
        with And("I delete objects to be backed up"):
            for o, n in (("USER", "test_user"), ("ROLE", "test_role"), ("ROW POLICY", "test_policy ON rbac_bp"),
                         ("SETTINGS PROFILE", "test_profile"), ("QUOTA", "test_quota")):
                ch_node.query(f"DROP {o} IF EXISTS {n}")
            ch_node.restart()
        with Then("I restore from the backup and restart"):
            backup.cmd(f"clickhouse-backup restore --rbac {table_name}", exitcode=None)
            ch_node.restart()
        with And("I check objects restored correctly"):
            with By("expect user restored"):
                output = ch_node.query("SHOW USERS").output
                assert "test_user" in output, error()
            with And("expect role restored"):
                output = ch_node.query("SHOW ROLES").output
                assert "test_role" in output, error()
            with And("expect row policy restored"):
                output = ch_node.query("SHOW ROW POLICIES").output
                assert "test_policy" in output, error()
            with And("expect settings profile restored"):
                output = ch_node.query("SHOW SETTINGS PROFILES").output
                assert "test_profile" in output, error()
            with And("expect quota restored"):
                output = ch_node.query("SHOW QUOTAS").output
                assert "test_quota" in output, error()
            for o, n in (("ROLE", "test_role"), ("ROW POLICY", "test_policy ON rbac_bp"),
                         ("SETTINGS PROFILE", "test_profile"), ("QUOTA", "test_quota"), ("USER", "test_user")):
                ch_node.query(f"DROP {o} IF EXISTS {n}")
    finally:
        with Finally("removing created backup"):
            backup.cmd(f"clickhouse-backup delete local {table_name}")