Skip to content

Commit

Permalink
litestram - litestream restore script
Browse files Browse the repository at this point in the history
  • Loading branch information
dcordz committed Jun 6, 2024
1 parent e989183 commit 1e6ef12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ doc/
tf/secrets.tfvars
tf/.terraform*
tf/plans

litestream/config/litestream.yml
2 changes: 1 addition & 1 deletion app/frontend/entrypoints/application.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SentryUtil } from "app/frontend/sway_utils/sentry";
SentryUtil.init();
SentryUtil.init(); // only fulfilled in prod

import { InertiaProgress } from "@inertiajs/progress";
import { createInertiaApp } from "@inertiajs/react";
Expand Down
3 changes: 3 additions & 0 deletions litestream/restore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env zsh

litestream restore -config litestream/config/litestream.yml ./storage/production.db

0 comments on commit 1e6ef12

Please sign in to comment.