Skip to content

Instantly share code, notes, and snippets.

@lualcontre01
Created November 26, 2018 14:20
Show Gist options
  • Save lualcontre01/585c715f9d2b51c93344431e274e7976 to your computer and use it in GitHub Desktop.
Save lualcontre01/585c715f9d2b51c93344431e274e7976 to your computer and use it in GitHub Desktop.
Para restaurar un comprimido desde contenedor docker primero se crea una bd vacia, luego ejecutamos el siguente comando mencionando el nombre
de la base de datos a donde se restauraran los datos.
zcat dump.gz | psql db
esto siendo usuario postgres dentro del contenedor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment