Backup Restore
stackfoundry/backup-restoreFreeBlock
Backup run records, restore checklist, and continuity dashboard.
Install it
npx shadcn@latest add https://stackfoundry.dev/r/backup-restore.jsonSource
1import { index, jsonb, pgTable, text, timestamp, uuid } from "drizzle-orm/pg-core";23export const backupRestore = pgTable(4 "backup_restore",5 {6 id: uuid("id").primaryKey().defaultRandom(),7 ownerId: text("owner_id"),8 organizationId: text("organization_id"),9 key: text("key").notNull(),10 status: text("status").notNull().default("pending"),11 metadata: jsonb("metadata").$type<Record<string, unknown>>().notNull().default({}),12 expiresAt: timestamp("expires_at", { withTimezone: true }),13 completedAt: timestamp("completed_at", { withTimezone: true }),14 createdAt: timestamp("created_at", { withTimezone: true }).defaultNow().notNull(),15 },16 (item) => [17 index("backup_restore_owner_idx").on(item.ownerId),18 index("backup_restore_organization_idx").on(item.organizationId),19 ]20);
What it pulls in
Other registry items
Files it writes
More from stackfoundry
All 157 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Account Deletionaccount-deletion | stackfoundry | Blocks | Free | no deps · 3 files | |
| Account Modesaccount-modes | stackfoundry | Blocks | Free | no deps · 3 files | |
| Account Settingsaccount-settings | stackfoundry | Blocks | Free | no deps · 2 files | |
| Admin Consoleadmin-console | stackfoundry | Blocks | Free | no deps · 2 files | |
| Agent-Ready Installsagent-ready-installs | stackfoundry | Blocks | Free | no deps · 13 files | |
| AI Chatai-chat | stackfoundry | Blocks | Free | 3 deps · 4 files | |
| AI Chatbot SDKai-chatbot-sdk | stackfoundry | Blocks | Free | 3 deps · 2 files | |
| AI Elementsai-elements | stackfoundry | Blocks | Free | no deps · 5 files |
