quicknotes icon indicating copy to clipboard operation
quicknotes copied to clipboard

export and migration

Open kytv76 opened this issue 4 years ago • 3 comments

I love this app and how notes look like. But is there any possibility to migrate the notes from one nextcloud host to another one? There should be an export / import option or a way to backup and restore them.

kytv76 avatar Jul 07 '21 16:07 kytv76

If you have access to the nextcloud server, you can export with the following command:

# csv-format
docker exec -i nextcloud-db-1 mysql -u nextcloud -p --database=nextcloud -e 'SELECT content from oc_quicknotes_notes;' > notes_export.csv

# vertical
docker exec -i nextcloud-db-1 mysql -u nextcloud -p --database=nextcloud -e 'SELECT content from oc_quicknotes_notes;' -E > notes_export.txt

Default password is occ

edkedk99 avatar Sep 18 '22 16:09 edkedk99

@edkedk99 am using Postgresql and not docker, is there any way to export in my case?

elhananjair avatar Dec 21 '22 10:12 elhananjair