Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6287b1aea2 |
No files matched your search
@@ -30,9 +30,8 @@ needed to restore encrypted integration credentials.
|
|||||||
Select a Homarr backup ZIP. The browser previews entity counts, board names, and required database migrations before
|
Select a Homarr backup ZIP. The browser previews entity counts, board names, and required database migrations before
|
||||||
the archive is uploaded.
|
the archive is uploaded.
|
||||||
|
|
||||||
Restoring replaces the current SQLite database and cannot be undone. It also invalidates the current database session.
|
Restoring replaces the current SQLite database and cannot be undone. After a successful restore, the Next.js process
|
||||||
After a successful management restore, Homarr waits for the restarted server and sends the administrator to sign in
|
restarts and the page reloads when Homarr is ready.
|
||||||
again. The first-run onboarding restore keeps its existing board destination.
|
|
||||||
|
|
||||||
A backup can be restored on another Homarr instance. When its `SECRET_ENCRYPTION_KEY` differs, Homarr re-encrypts stored
|
A backup can be restored on another Homarr instance. When its `SECRET_ENCRYPTION_KEY` differs, Homarr re-encrypts stored
|
||||||
integration secrets for the target instance. Version metadata is used to apply compatible migrations.
|
integration secrets for the target instance. Version metadata is used to apply compatible migrations.
|
||||||
|
|||||||
@@ -204,12 +204,8 @@ export const DatabaseRestoreFlow = ({ variant = "card", onRestoreComplete }: Dat
|
|||||||
}
|
}
|
||||||
|
|
||||||
onRestoreComplete?.();
|
onRestoreComplete?.();
|
||||||
let destination: string | null = null;
|
const destination =
|
||||||
if (variant === "standalone" && homeBoardName) {
|
variant === "standalone" && homeBoardName ? `/boards/${encodeURIComponent(homeBoardName)}` : null;
|
||||||
destination = `/boards/${encodeURIComponent(homeBoardName)}`;
|
|
||||||
} else if (variant === "card") {
|
|
||||||
destination = "/auth/login";
|
|
||||||
}
|
|
||||||
startReadinessCheck(restartAfterMs, destination);
|
startReadinessCheck(restartAfterMs, destination);
|
||||||
}, [file, onRestoreComplete, startReadinessCheck, t, variant]);
|
}, [file, onRestoreComplete, startReadinessCheck, t, variant]);
|
||||||
|
|
||||||
@@ -321,7 +317,6 @@ export const DatabaseRestoreFlow = ({ variant = "card", onRestoreComplete }: Dat
|
|||||||
<RestoreProgressPanel
|
<RestoreProgressPanel
|
||||||
active
|
active
|
||||||
status={restoreStatus}
|
status={restoreStatus}
|
||||||
reloginRequired={variant === "card"}
|
|
||||||
onRetry={() => startReadinessCheck(0)}
|
onRetry={() => startReadinessCheck(0)}
|
||||||
onReload={() => window.location.reload()}
|
onReload={() => window.location.reload()}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -11,18 +11,11 @@ export type RestoreProgressStatus = "restoring" | "restarting" | "timedOut";
|
|||||||
interface RestoreProgressPanelProps {
|
interface RestoreProgressPanelProps {
|
||||||
active: boolean;
|
active: boolean;
|
||||||
status: RestoreProgressStatus;
|
status: RestoreProgressStatus;
|
||||||
reloginRequired?: boolean;
|
|
||||||
onRetry: () => void;
|
onRetry: () => void;
|
||||||
onReload: () => void;
|
onReload: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const RestoreProgressPanel = ({
|
export const RestoreProgressPanel = ({ active, status, onRetry, onReload }: RestoreProgressPanelProps) => {
|
||||||
active,
|
|
||||||
status,
|
|
||||||
reloginRequired = false,
|
|
||||||
onRetry,
|
|
||||||
onReload,
|
|
||||||
}: RestoreProgressPanelProps) => {
|
|
||||||
const t = useI18n("management.page.tool.backup.restore");
|
const t = useI18n("management.page.tool.backup.restore");
|
||||||
const tCommon = useI18n("common");
|
const tCommon = useI18n("common");
|
||||||
const reduceMotion = useReducedMotion();
|
const reduceMotion = useReducedMotion();
|
||||||
@@ -70,12 +63,6 @@ export const RestoreProgressPanel = ({
|
|||||||
</div>
|
</div>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
{reloginRequired && !isRestoring ? (
|
|
||||||
<Text size="sm" c="dimmed">
|
|
||||||
{t("progress.relogin")}
|
|
||||||
</Text>
|
|
||||||
) : null}
|
|
||||||
|
|
||||||
{isTimedOut ? (
|
{isTimedOut ? (
|
||||||
<Group>
|
<Group>
|
||||||
<Button variant="light" onClick={onRetry} leftSection={<IconRefresh size={16} />}>
|
<Button variant="light" onClick={onRetry} leftSection={<IconRefresh size={16} />}>
|
||||||
|
|||||||
@@ -6456,8 +6456,7 @@
|
|||||||
},
|
},
|
||||||
"progress": {
|
"progress": {
|
||||||
"title": "Restoring database...",
|
"title": "Restoring database...",
|
||||||
"restarting": "Restarting server",
|
"restarting": "Restarting server"
|
||||||
"relogin": "Restoring the database invalidated your current session. Homarr will send you to sign in when the server is ready."
|
|
||||||
},
|
},
|
||||||
"timeout": {
|
"timeout": {
|
||||||
"title": "Server did not come back online",
|
"title": "Server did not come back online",
|
||||||
|
|||||||
Generated
+23
-29
@@ -696,6 +696,7 @@ overrides:
|
|||||||
linkifyjs@<4.3.2: '>=4.3.3'
|
linkifyjs@<4.3.2: '>=4.3.3'
|
||||||
nanoid@>=4.0.0 <5.0.9: '>=5.1.16'
|
nanoid@>=4.0.0 <5.0.9: '>=5.1.16'
|
||||||
prismjs@<1.30.0: '>=1.30.0'
|
prismjs@<1.30.0: '>=1.30.0'
|
||||||
|
protobufjs@<7.5.5: '>=7.5.5 <8'
|
||||||
proxmox-api>undici: 7.28.0
|
proxmox-api>undici: 7.28.0
|
||||||
react-is: ^19.2.7
|
react-is: ^19.2.7
|
||||||
rollup@>=4.0.0 <4.22.4: '>=4.62.2'
|
rollup@>=4.0.0 <4.22.4: '>=4.62.2'
|
||||||
@@ -7087,29 +7088,26 @@ packages:
|
|||||||
'@protobufjs/base64@1.1.2':
|
'@protobufjs/base64@1.1.2':
|
||||||
resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==}
|
resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==}
|
||||||
|
|
||||||
'@protobufjs/codegen@2.0.4':
|
'@protobufjs/codegen@2.0.5':
|
||||||
resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==}
|
resolution: {integrity: sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==}
|
||||||
|
|
||||||
'@protobufjs/eventemitter@1.1.0':
|
'@protobufjs/eventemitter@1.1.1':
|
||||||
resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==}
|
resolution: {integrity: sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==}
|
||||||
|
|
||||||
'@protobufjs/fetch@1.1.0':
|
'@protobufjs/fetch@1.1.1':
|
||||||
resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==}
|
resolution: {integrity: sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==}
|
||||||
|
|
||||||
'@protobufjs/float@1.0.2':
|
'@protobufjs/float@1.0.2':
|
||||||
resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==}
|
resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==}
|
||||||
|
|
||||||
'@protobufjs/inquire@1.1.0':
|
|
||||||
resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==}
|
|
||||||
|
|
||||||
'@protobufjs/path@1.1.2':
|
'@protobufjs/path@1.1.2':
|
||||||
resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==}
|
resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==}
|
||||||
|
|
||||||
'@protobufjs/pool@1.1.0':
|
'@protobufjs/pool@1.1.0':
|
||||||
resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==}
|
resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==}
|
||||||
|
|
||||||
'@protobufjs/utf8@1.1.0':
|
'@protobufjs/utf8@1.1.2':
|
||||||
resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}
|
resolution: {integrity: sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==}
|
||||||
|
|
||||||
'@pwshub/bellajs@13.0.2':
|
'@pwshub/bellajs@13.0.2':
|
||||||
resolution: {integrity: sha512-OWOaE7Ieufo7VMv957iahOzv/w5oXyyXO28Jh2x6rLU96ZLqC508kAKTgdMJRXgVjda2s+/0C6Kno+k16OmJsQ==}
|
resolution: {integrity: sha512-OWOaE7Ieufo7VMv957iahOzv/w5oXyyXO28Jh2x6rLU96ZLqC508kAKTgdMJRXgVjda2s+/0C6Kno+k16OmJsQ==}
|
||||||
@@ -14885,8 +14883,8 @@ packages:
|
|||||||
proto-list@1.2.4:
|
proto-list@1.2.4:
|
||||||
resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==}
|
resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==}
|
||||||
|
|
||||||
protobufjs@7.4.0:
|
protobufjs@7.6.6:
|
||||||
resolution: {integrity: sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==}
|
resolution: {integrity: sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
|
|
||||||
proxmox-api@1.1.1:
|
proxmox-api@1.1.1:
|
||||||
@@ -20816,7 +20814,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
lodash.camelcase: 4.3.0
|
lodash.camelcase: 4.3.0
|
||||||
long: 5.3.2
|
long: 5.3.2
|
||||||
protobufjs: 7.4.0
|
protobufjs: 7.6.6
|
||||||
yargs: 17.7.2
|
yargs: 17.7.2
|
||||||
|
|
||||||
'@hapi/bourne@3.0.0': {}
|
'@hapi/bourne@3.0.0': {}
|
||||||
@@ -22511,24 +22509,21 @@ snapshots:
|
|||||||
|
|
||||||
'@protobufjs/base64@1.1.2': {}
|
'@protobufjs/base64@1.1.2': {}
|
||||||
|
|
||||||
'@protobufjs/codegen@2.0.4': {}
|
'@protobufjs/codegen@2.0.5': {}
|
||||||
|
|
||||||
'@protobufjs/eventemitter@1.1.0': {}
|
'@protobufjs/eventemitter@1.1.1': {}
|
||||||
|
|
||||||
'@protobufjs/fetch@1.1.0':
|
'@protobufjs/fetch@1.1.1':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@protobufjs/aspromise': 1.1.2
|
'@protobufjs/aspromise': 1.1.2
|
||||||
'@protobufjs/inquire': 1.1.0
|
|
||||||
|
|
||||||
'@protobufjs/float@1.0.2': {}
|
'@protobufjs/float@1.0.2': {}
|
||||||
|
|
||||||
'@protobufjs/inquire@1.1.0': {}
|
|
||||||
|
|
||||||
'@protobufjs/path@1.1.2': {}
|
'@protobufjs/path@1.1.2': {}
|
||||||
|
|
||||||
'@protobufjs/pool@1.1.0': {}
|
'@protobufjs/pool@1.1.0': {}
|
||||||
|
|
||||||
'@protobufjs/utf8@1.1.0': {}
|
'@protobufjs/utf8@1.1.2': {}
|
||||||
|
|
||||||
'@pwshub/bellajs@13.0.2': {}
|
'@pwshub/bellajs@13.0.2': {}
|
||||||
|
|
||||||
@@ -27183,7 +27178,7 @@ snapshots:
|
|||||||
'@grpc/grpc-js': 1.12.5
|
'@grpc/grpc-js': 1.12.5
|
||||||
'@grpc/proto-loader': 0.7.13
|
'@grpc/proto-loader': 0.7.13
|
||||||
docker-modem: 5.0.7(supports-color@10.2.2)
|
docker-modem: 5.0.7(supports-color@10.2.2)
|
||||||
protobufjs: 7.4.0
|
protobufjs: 7.6.6
|
||||||
tar-fs: 2.1.4
|
tar-fs: 2.1.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@@ -27194,7 +27189,7 @@ snapshots:
|
|||||||
'@grpc/grpc-js': 1.12.5
|
'@grpc/grpc-js': 1.12.5
|
||||||
'@grpc/proto-loader': 0.7.13
|
'@grpc/proto-loader': 0.7.13
|
||||||
docker-modem: 5.0.7(supports-color@10.2.2)
|
docker-modem: 5.0.7(supports-color@10.2.2)
|
||||||
protobufjs: 7.4.0
|
protobufjs: 7.6.6
|
||||||
tar-fs: 2.1.4
|
tar-fs: 2.1.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@@ -31431,18 +31426,17 @@ snapshots:
|
|||||||
|
|
||||||
proto-list@1.2.4: {}
|
proto-list@1.2.4: {}
|
||||||
|
|
||||||
protobufjs@7.4.0:
|
protobufjs@7.6.6:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@protobufjs/aspromise': 1.1.2
|
'@protobufjs/aspromise': 1.1.2
|
||||||
'@protobufjs/base64': 1.1.2
|
'@protobufjs/base64': 1.1.2
|
||||||
'@protobufjs/codegen': 2.0.4
|
'@protobufjs/codegen': 2.0.5
|
||||||
'@protobufjs/eventemitter': 1.1.0
|
'@protobufjs/eventemitter': 1.1.1
|
||||||
'@protobufjs/fetch': 1.1.0
|
'@protobufjs/fetch': 1.1.1
|
||||||
'@protobufjs/float': 1.0.2
|
'@protobufjs/float': 1.0.2
|
||||||
'@protobufjs/inquire': 1.1.0
|
|
||||||
'@protobufjs/path': 1.1.2
|
'@protobufjs/path': 1.1.2
|
||||||
'@protobufjs/pool': 1.1.0
|
'@protobufjs/pool': 1.1.0
|
||||||
'@protobufjs/utf8': 1.1.0
|
'@protobufjs/utf8': 1.1.2
|
||||||
'@types/node': 24.13.3
|
'@types/node': 24.13.3
|
||||||
long: 5.3.2
|
long: 5.3.2
|
||||||
|
|
||||||
|
|||||||
@@ -260,6 +260,7 @@ overrides:
|
|||||||
"linkifyjs@<4.3.2": ">=4.3.3"
|
"linkifyjs@<4.3.2": ">=4.3.3"
|
||||||
"nanoid@>=4.0.0 <5.0.9": ">=5.1.16"
|
"nanoid@>=4.0.0 <5.0.9": ">=5.1.16"
|
||||||
"prismjs@<1.30.0": ">=1.30.0"
|
"prismjs@<1.30.0": ">=1.30.0"
|
||||||
|
"protobufjs@<7.5.5": ">=7.5.5 <8"
|
||||||
"proxmox-api>undici": "7.28.0"
|
"proxmox-api>undici": "7.28.0"
|
||||||
"react-is": "^19.2.7"
|
"react-is": "^19.2.7"
|
||||||
"rollup@>=4.0.0 <4.22.4": ">=4.62.2"
|
"rollup@>=4.0.0 <4.22.4": ">=4.62.2"
|
||||||
|
|||||||
Reference in new issue
Block a user