Add api and script to restore

This commit is contained in:
WQY\qiong
2023-03-31 10:44:15 +08:00
parent 924dbc802c
commit 610e7ee561
5 changed files with 30 additions and 1 deletions

View File

@@ -16,7 +16,8 @@ from .database import update_snapshot, update_snapshot_for_current_operation
from .database import delete_snapshot, delete_snapshot_by_operation
from .database import get_operation_by_snapshot, get_snapshot_by_operation
from .database import pick_snapshot
from .database import pick_operation, sync_with_server, get_restore_operation, set_restore_operation, set_restore_operation_to_current
from .database import pick_operation, sync_with_server
from .database import get_restore_operation, set_restore_operation, set_restore_operation_to_current, restore
from .batch_cmd import execute_batch_command
from .batch_cmds import execute_batch_commands