Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export and migration #66

Open
kytv76 opened this issue Jul 7, 2021 · 2 comments
Open

export and migration #66

kytv76 opened this issue Jul 7, 2021 · 2 comments

Comments

@kytv76
Copy link

kytv76 commented Jul 7, 2021

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.

@edkedk99
Copy link

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

@elhananjair
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants