We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae9236a commit 42a287dCopy full SHA for 42a287d
1 file changed
test/stop_all.py
@@ -0,0 +1,12 @@
1
+import urbackup_api
2
+
3
4
+server = urbackup_api.urbackup_server("http://127.0.0.1:55414/x", "admin", "foo")
5
6
+for action in server.get_actions():
7
+ a = action["action"]
8
+ if a ==server.action_full_file or a==server.action_resumed_full_file:
9
+ print("Running full file backup: "+action["name"])
10
11
+ print("Stopping...")
12
+ server.stop_action(action)
0 commit comments