Skip to content

Instantly share code, notes, and snippets.

@nrmancuso
Last active October 22, 2021 18:50
Show Gist options
  • Save nrmancuso/0ef5efb5d84e0b7dad57afe21d73de9f to your computer and use it in GitHub Desktop.
Save nrmancuso/0ef5efb5d84e0b7dad57afe21d73de9f to your computer and use it in GitHub Desktop.

SETTING UP LOCAL DATABASE WITH CONTENT

Note: This is for setting up a local Postgresql database on the local running CIVAM site Primarily this will be used to ensure dev work is inline with what is running on the current CIVAM site.

  1. Pull DB file from site: scp -i civam-new.pem [email protected]:<<SRC>> <<DEST>>

Example:

scp -i civam-new.pem [email protected]:~/db-backups/DBFullBackups/db_backup_10_24_2021 .  

This will pull the file db_backup_10_24_2021 into my current working directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment