# Exporting data from version 0.9.4 installed through bitnami

**URL:** <https://meta.discourse.org/t/exporting-data-from-version-0-9-4-installed-through-bitnami/33844>\
**Category:** Marketplace\
**Tags:** unsupported-install, backups\
**Created:** [28. September 2015 um 15:25 UTC](https://meta.discourse.org/t/exporting-data-from-version-0-9-4-installed-through-bitnami/33844 "2015-09-28T15:25:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![alphydan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alphydan/32/106870_2.png) [@alphydan](https://meta.discourse.org/u/alphydan)\
**Post date:** [28. September 2015 um 20:23 UTC](https://meta.discourse.org/t/exporting-data-from-version-0-9-4-installed-through-bitnami/33844/4 "2015-09-28T20:23:03Z")

</div>

Thank you for the tips. Here’s what I tried so far, following the [Bitnami wiki](https://wiki.bitnami.com/Applications/BitNami_Discourse).

trying to edit any file would result in: `No space left on device`.  
So I decided to backup the images first:

```
scp -r -i ~/.bitnami/bitnami-hosting.pem bitnami@myserver.bitnamiapp.com:/opt/bitnami/apps/discourse/htdocs/public/uploads/default/* .

```

I tried,

```
pg_dump -U postgres bitnami_discourse > backup.sql 

```

but got an error:

```
/opt/bitnami/postgresql/bin/pg_dump.bin: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory

```

I tried to find the offending library with `sudo find /opt/bitnami/postgresql/ -name libpq.so.5` and indeed it’s at `/opt/bitnami/postgresql/lib/libpq.so.5`

I tried `sudo ldconfig -v` as per this [SO answer](http://stackoverflow.com/questions/12781566/error-while-loading-shared-libraries-libpq-so-5-cannot-open-shared-object-file) and [this one](http://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s) but without success.

I’m afraid when I opened `/opt/bitnami/postgresql/bin/setenv.sh` to try to change the psql password, because of lack of space nothing was saved. So `setenv.sh` is now empty. Are the contents of `sentenv.sh ` standard? Or should I ask at Bitnami?

Thank you.

---

_[View the full topic](https://meta.discourse.org/t/exporting-data-from-version-0-9-4-installed-through-bitnami/33844)._
