Documenting singularity role

This commit is contained in:
2026-03-30 13:49:52 -05:00
parent 8c222b230c
commit 327baab415
7 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
backupfile="$HOME"/tt-rss.sql
function test-backup() {
sudo -u postgres pg_dump -d ttrss > "$backupfile"
}
function test-restore() {
./delete-db.bash
./create-db.bash
cat "$backupfile" | sudo -u postgres psql -d ttrss
}