diff --git a/src/lib/components/backup/StackFilesPicker.svelte b/src/lib/components/backup/StackFilesPicker.svelte new file mode 100644 index 0000000..199b4c5 --- /dev/null +++ b/src/lib/components/backup/StackFilesPicker.svelte @@ -0,0 +1,254 @@ + + +
Where this path comes from
+ {#if envKind === 'socket'} +
+ {#if envIcon && envId != null}
+ If this path looks wrong, set HOST_DATA_DIR
+ when Dockhand runs in a container, so it points to where the data volume
+ lives on the host.
+
+ {#if envIcon && envId != null}
+ Remote stack path set on this environment:
+ {configuredStackPath}
+
+ It is derived from the stack's bind mounts. To set it explicitly, use + Environments > (edit) > Remote stack path (for backup) + and re-open this dialog. +
+ {/if} + {:else} +
+ {#if envIcon && envId != null}
+ Remote stack path set on this environment:
+ {configuredStackPath}
+
+ It defaults to /data/stacks. If the
+ agent uses a custom STACKS_DIR, set it
+ under Environments > (edit) > Remote stack path (for backup)
+ and re-open this dialog.
+
HOST_DATA_DIR does not match where the data volume is mounted on the host. Fix it, then cancel and re-configure this backup.STACKS_DIR (not the default /data/stacks). Set the environment's stack path (Environments > edit > Remote stack path for backup), then cancel and re-configure this backup.