feat: notice job create

This commit is contained in:
Samuel N Cui
2023-09-26 14:48:19 +08:00
parent d33b0f624b
commit 5476e43aad
4 changed files with 3 additions and 2 deletions
+1
View File
@@ -17,5 +17,6 @@ output/
frontend/node_modules/
client/node_modules/
tests/
tapes.db
upload_test.sh
+1
View File
@@ -124,6 +124,7 @@ const useBackupTargetBrowser = () => {
const req = makeArchiveParam(1n, { sources });
console.log(req, await cli.jobCreate(req).response);
alert("Create Backup Job Success!");
})();
return;
}
+1
View File
@@ -108,6 +108,7 @@ const useRestoreTargetBrowser = () => {
(async () => {
const fileIds = files.filter((file): file is FileData => !!file && file.id !== "0").map((file) => BigInt(file.id));
console.log(await cli.jobCreate(makeParam(1n, { fileIds })).response);
alert("Create Restore Job Success!");
})();
return;
}
-2
View File
@@ -1,2 +0,0 @@
# stenc -g 256 -k /root/tape.key -kd TapeMasterKey
stenc -f /dev/st0 -e on -k /root/tape.key -a 1 --ckod