Ricard's code gists


Postgres database backup and compressed

It creates a backup of a database using a specific user and then compressed it with Gzip

pg_dump -U myUser myDatabase | gzip > myFile.gz