For more details on how the encoding and locale are set see these links:

- http://stackoverflow.com/questions/13115692/encoding-utf8-does-not-match-locale-en-us-the-chosen-lc-ctype-setting-requires
- http://www.pebra.net/blog/2013/06/10/when-struggling-with-postgresql-and-utf8-slash-latin/
- https://coderwall.com/p/j-_mia

- https://wiki.postgresql.org/wiki/Automated_Backup_on_Linux