import Link from "next/link"; import { getFile } from "@/lib/store"; import { notFound } from "next/navigation"; import { getSession } from "@/lib/session"; import CopyLinkButton from "./CopyLinkButton"; import DeleteFileButton from "./DeleteFileButton"; function formatBytes(n: number) { if (n < 1024) return `${n} B`; if (n < 1024 * 1024) return `${(n / 1024).toFixed(1)} KB`; return `${(n / 1024 / 1024).toFixed(2)} MB`; } function MetaRow({ label, value }: { label: string; value: React.ReactNode }) { return (
{record.image}
)} {/* Description */} {record.description && ({record.description}
)}
# Pull the image used by this config{"\n"}
$
docker pull {record.image}{"\n\n"}
# Download & import this config into Backerup to restore{"\n"}
$
curl -O {`{{BACKERUP_URL}}`}/api/files/{token}/download
Note: This is a full .backerup archive. It may contain volume data in addition to the container config. Import it into Backerup to restore or clone the container.