@dokploy/cli 0.29.11 → 0.29.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1021,6 +1021,7 @@ export function registerGeneratedCommands(program) {
|
|
|
1021
1021
|
.option('--backupType <value>', 'backupType (database, compose)')
|
|
1022
1022
|
.option('--composeId <value>', 'composeId')
|
|
1023
1023
|
.option('--serviceName <value>', 'serviceName')
|
|
1024
|
+
.option('--includeEncryptionKey', 'includeEncryptionKey')
|
|
1024
1025
|
.option('--metadata <value>', 'metadata')
|
|
1025
1026
|
.option('--json', 'Output raw JSON')
|
|
1026
1027
|
.action(async (opts) => {
|
|
@@ -1030,6 +1031,8 @@ export function registerGeneratedCommands(program) {
|
|
|
1030
1031
|
opts["enabled"] = opts["enabled"] === true || opts["enabled"] === "true";
|
|
1031
1032
|
if (opts["keepLatestCount"] != null)
|
|
1032
1033
|
opts["keepLatestCount"] = Number(opts["keepLatestCount"]);
|
|
1034
|
+
if (opts["includeEncryptionKey"] != null)
|
|
1035
|
+
opts["includeEncryptionKey"] = opts["includeEncryptionKey"] === true || opts["includeEncryptionKey"] === "true";
|
|
1033
1036
|
const data = await apiPost("backup.create", opts);
|
|
1034
1037
|
if (jsonOutput) {
|
|
1035
1038
|
console.log(JSON.stringify(data, null, 2));
|
|
@@ -1213,6 +1216,7 @@ export function registerGeneratedCommands(program) {
|
|
|
1213
1216
|
.requiredOption('--serviceName <value>', 'serviceName')
|
|
1214
1217
|
.requiredOption('--metadata <value>', 'metadata')
|
|
1215
1218
|
.requiredOption('--databaseType <value>', 'databaseType (postgres, mariadb, mysql, mongo, web-server, libsql)')
|
|
1219
|
+
.option('--includeEncryptionKey', 'includeEncryptionKey')
|
|
1216
1220
|
.option('--json', 'Output raw JSON')
|
|
1217
1221
|
.action(async (opts) => {
|
|
1218
1222
|
const jsonOutput = opts.json;
|
|
@@ -1221,6 +1225,8 @@ export function registerGeneratedCommands(program) {
|
|
|
1221
1225
|
opts["enabled"] = opts["enabled"] === true || opts["enabled"] === "true";
|
|
1222
1226
|
if (opts["keepLatestCount"] != null)
|
|
1223
1227
|
opts["keepLatestCount"] = Number(opts["keepLatestCount"]);
|
|
1228
|
+
if (opts["includeEncryptionKey"] != null)
|
|
1229
|
+
opts["includeEncryptionKey"] = opts["includeEncryptionKey"] === true || opts["includeEncryptionKey"] === "true";
|
|
1224
1230
|
const data = await apiPost("backup.update", opts);
|
|
1225
1231
|
if (jsonOutput) {
|
|
1226
1232
|
console.log(JSON.stringify(data, null, 2));
|