PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FIX (migration): Add check for postgresus-data folder
Rostislav Dugin91ad57c0030c
diff --git a/Dockerfile b/Dockerfileindex c9c474f9..ef4147d8 100644--- a/Dockerfile+++ b/Dockerfile@@ -218,6 +218,23 @@ COPY <<EOF /app/start.sh#!/bin/bashset -e+# Check for legacy postgresus-data volume mount+if [ -d "/postgresus-data" ] && [ "\$(ls -A /postgresus-data 2>/dev/null)" ]; then+ echo ""+ echo "=========================================="+ echo "ERROR: Legacy volume detected!"+ echo "=========================================="+ echo ""+ echo "You are using the \`postgresus-data\` folder. It seems you changed the image name from Postgresus to Databasus without changing the volume."+ echo ""+ echo "Please either:"+ echo " 1. Switch back to image rostislavdugin/postgresus:latest (supported until ~Dec 2026)"+ echo " 2. Read the migration guide: https://databasus.com/installation/#postgresus-migration"+ echo ""+ echo "=========================================="+ exit 1+fi+# PostgreSQL 17 binary pathsPG_BIN="/usr/lib/postgresql/17/bin"diff --git a/frontend/src/features/users/ui/AuthNavbarComponent.tsx b/frontend/src/features/users/ui/AuthNavbarComponent.tsxindex 115f12c6..6af603e6 100644--- a/frontend/src/features/users/ui/AuthNavbarComponent.tsx+++ b/frontend/src/features/users/ui/AuthNavbarComponent.tsx@@ -7,7 +7,7 @@ export function AuthNavbarComponent() {<div className="flex h-[65px] items-center justify-center px-5 pt-5 sm:justify-start"><div className="flex items-center gap-3 hover:opacity-80"><a href="https://databasus.com" target="_blank" rel="noreferrer">- <img className="h-[45px] w-[45px]" src="/logo.svg" />+ <img className="padding-[2.5px] h-[45px] w-[45px]" src="/logo.svg" /></a><div className="text-xl font-bold">diff --git a/frontend/src/widgets/main/MainScreenComponent.tsx b/frontend/src/widgets/main/MainScreenComponent.tsxindex 175ac4b3..8825b3a2 100644--- a/frontend/src/widgets/main/MainScreenComponent.tsx+++ b/frontend/src/widgets/main/MainScreenComponent.tsx@@ -193,7 +193,10 @@ export const MainScreenComponent = () => {<div className="mb-2 flex h-[50px] items-center rounded bg-white px-2 py-2 shadow md:mb-3 md:h-[60px] md:p-3 dark:bg-gray-800"><div className="flex items-center gap-2 hover:opacity-80 md:gap-3"><a href="https://databasus.com" target="_blank" rel="noreferrer">- <img className="h-[30px] w-[30px] md:h-[40px] md:w-[40px]" src="/logo.svg" />+ <img+ className="padding-[2.5px] h-[30px] w-[30px] md:h-[40px] md:w-[40px]"+ src="/logo.svg"+ /></a></div>