{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "7246e0c8-61cd-4cbf-a978-aa0dc0172d6d", "metadata": {}, "outputs": [], "source": [ "import dolphindb as ddb" ] }, { "cell_type": "code", "execution_count": 9, "id": "5d0f471e-682e-43cc-abdb-7e52f3bbd707", "metadata": {}, "outputs": [], "source": [ "sess = ddb.session('192.168.1.7', 8848)\n", "sess.login('admin', '123456')" ] }, { "cell_type": "code", "execution_count": 7, "id": "ed17fd0b-9b36-47e4-9ab6-11459a3621fb", "metadata": {}, "outputs": [], "source": [ "# backup(backup_path, sql_obj, force, parallel)\n", "code = \"\"\"\n", " backup('/data/dolphindb/backup/',