Backup y restauración en postgres

CN Camilo Nova Camilo Nova

Camilo Nova

CEO
1 min read.

A modo de guía rápida el comando para hacer un backup es:

PGPASSWORD=user_pass pg_dump -U user_name db_name -f filename --clean --no-owner

Para restaurarlo:

PGPASSWORD=user_pass psql -U user_name -d db_name -f filename

Written by Camilo Nova

CN Camilo Nova Camilo Nova

As the Axiacore CEO, Camilo writes about the intersection of technology, design, and business. With a strategic mindset and a deep understanding of the industry, he is dedicated to helping companies grow.

Newsletter

Subscribe to our newsletter:

Read more

Visualización mil historias

A propósito de la feria del libro en Bogota, COL apoyamos el desarrollo de http://apps.facebook.com/milhistorias que permite ...

1 min read.

Build Once. Own Forever.