# Migration / update problem new SSD

**URL:** <https://discuss.tryton.org/t/migration-update-problem-new-ssd/3197>\
**Category:** System Administrator\
**Created:** [September 8, 2020, 5:08pm UTC](https://discuss.tryton.org/t/migration-update-problem-new-ssd/3197 "2020-09-08T17:08:05Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)\
**Post date:** [September 14, 2020, 9:23am UTC](https://discuss.tryton.org/t/migration-update-problem-new-ssd/3197/16 "2020-09-14T09:23:38Z")

</div>

> [@herrdeh](#):
>
> It looks as if I do not write to the right database. True?

Hmm indeed, the output is very weird. When you open the file with a text editor can you read it? It seems that you are dropping the existing database to create a new one. If you used [Delete invoice, table of accounts etc - #24 by dave](https://discuss.tryton.org/t/delete-invoice-table-of-accounts-etc/2640/24) I think you have to make a new sql dump. You can use point 3 for that, but for the second command just use:

```auto
$ sudo docker exec tryton-postgres pg_dump > <your backupname>.sql

```

Using the `-c -C` adds some extra data into your dump which you don’t need. You can also edit your existing dump and remove any lines which says something about dropping or creating databases and users. This lines are probably at the top of the file. ⚠ If you are going to modify your sql dump, make **sure** you have a backup!

---

_[View the full topic](https://discuss.tryton.org/t/migration-update-problem-new-ssd/3197)._
