Skip to content

Commit

Permalink
Add snapshotdb in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
strycore committed Sep 4, 2022
1 parent e52a175 commit ab13b80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ syncdb:
docker cp latest.tar lutrisdb:/backups
docker exec lutrisdb pg_restore -U lutris --clean --dbname=lutris /backups/latest.tar
rm latest.tar

snapshotdb:
docker exec lutrisdb pg_dump --format=tar -U lutris lutris > snapshot.tar

0 comments on commit ab13b80

Please sign in to comment.