Skip to content
Snippets Groups Projects
Commit 5853ea30 authored by root's avatar root
Browse files

backup: Backup postgres on antea

parent 0dce1207
No related branches found
No related tags found
No related merge requests found
POSTGRES=/root/backup/postgres
mkdir -p $POSTGRES
ssh postgres@anna "pg_dumpall" | xz -9 -T2 > $POSTGRES/postgres-anna.dump.xz
. $SCRIPT_DIR/sources_home
SOURCES="$SOURCES /srv/code/ /srv/www/ /root/backup/postgres/"
# vim: ft=sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment