A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
19 lines
429 B
Bash
19 lines
429 B
Bash
#!/bin/bash
|
|
|
|
migrateApp()
|
|
{
|
|
local app_name="$1"
|
|
local source_host="$2"
|
|
local idx="$3"
|
|
|
|
if [[ -z "$app_name" || -z "$source_host" ]]; then
|
|
isError "migrateApp requires app_name and source_host"
|
|
return 1
|
|
fi
|
|
|
|
isHeader "Migrating $app_name from host=$source_host"
|
|
|
|
[[ -z "$idx" ]] && idx=$(resticEnabledLocations | head -1)
|
|
restoreAppStart "$app_name" "latest" "$idx" "$source_host"
|
|
}
|