TopInvestor4000 / ResourceMaster

1 stars 0 forks source link

backup strategie #32

Closed hombinator closed 1 year ago

busykoala commented 1 year ago

Command:

export PGHOST=<your_host>
export PGUSER=<your_username>
export PGPASSWORD=<your_password>

pg_dump -h $PGHOST -U $PGUSER postgres -w -F t -f db-$(date +%Y-%m-%d_%H-%M-%S).tar 
busykoala commented 1 year ago

@panu37 checkout https://github.com/TopInvestor4000/ResourceMaster/pull/38