Posgres backups in linux


/ Published in: SQL
Save to your folder(s)

Login as postgres user and try this command.

It will create a backup of entire data directory


Copy this code and paste it in your HTML
  1. pg_dumpall | gzip > fileName.gz

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.