# Transfer To New Server

**URL:** <https://discourse.joplinapp.org/t/transfer-to-new-server/23683>\
**Category:** Support\
**Created:** [13 February 2022 00:43 UTC](https://discourse.joplinapp.org/t/transfer-to-new-server/23683 "2022-02-13T00:43:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![netspear](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/netspear/32/12705_2.png) [@netspear](https://discourse.joplinapp.org/u/netspear)\
**Post date:** [13 February 2022 00:43 UTC](https://discourse.joplinapp.org/t/transfer-to-new-server/23683/1 "2022-02-13T00:43:01Z")

</div>

Joplin Server 2.7.4

I have Joplin self hosted and wanted to move my notes to a new server. Already have Joplin server running on new server.

What's the best way to transfer all my notes from the old server to the new one?  
But are running the same server version.

Thanks!

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [13 February 2022 00:56 UTC](https://discourse.joplinapp.org/t/transfer-to-new-server/23683/2 "2022-02-13T00:56:29Z")

</div>

This depends on a few things. What is your storage backend for attachments?

If you use the default, a backup of the database should suffice. Just restore it on the new server and you are good to go.

---

<div class="post-metadata">

**Author:** ![netspear](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/netspear/32/12705_2.png) [@netspear](https://discourse.joplinapp.org/u/netspear)\
**Post date:** [13 February 2022 06:52 UTC](https://discourse.joplinapp.org/t/transfer-to-new-server/23683/3 "2022-02-13T06:52:08Z")

</div>

I have it installed on truenas scale.  
It was a one-click install  
How would I backup the database for transfer?  
The new server will be the samething.

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [13 February 2022 07:45 UTC](https://discourse.joplinapp.org/t/transfer-to-new-server/23683/4 "2022-02-13T07:45:33Z")

</div>

Unfortunately I don't know how truenas scale installs Joplin Server.

Joplin Server is usually deployed via Docker images and the default is to use the db as the attachment storage backend.

```auto
# Backup
docker exec -it joplin-server_db_1 pg_dumpall -U joplin > db.sql

# Restore
docker exec -i joplin-server_db_1 psql -U joplin < db.sql

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [15 March 2022 07:45 UTC](https://discourse.joplinapp.org/t/transfer-to-new-server/23683/5 "2022-03-15T07:45:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
