Files
supabase/apps/studio/components/interfaces/Database/Backups/BackupsStorageAlert.tsx
Terry Sutton 4ea0698cf3 Chore/add backup warning (#26704)
* Show warning that storage objects arent backed up

* Move alert to own component
2024-05-23 13:03:43 -02:30

18 lines
595 B
TypeScript

import { AlertDescription_Shadcn_, Alert_Shadcn_ } from 'ui'
import { WarningIcon } from 'ui-patterns/Icons/StatusIcons'
const BackupsStorageAlert = () => {
return (
<Alert_Shadcn_ variant="default">
<WarningIcon />
<AlertDescription_Shadcn_>
Database backups do not include objects stored via the Storage API, as the database only
includes metadata about these objects. Restoring an old backup does not restore objects that
have been deleted since then.
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
)
}
export default BackupsStorageAlert