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

Is it possible to provide a tutorial for data backup or migration? #143

Open
eMUQI opened this issue Sep 11, 2024 · 1 comment
Open

Is it possible to provide a tutorial for data backup or migration? #143

eMUQI opened this issue Sep 11, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@eMUQI
Copy link

eMUQI commented Sep 11, 2024

Describe the solution you'd like

I checked the issue list and noticed that the developers have clearly stated that memos will not provide backup or export functionality for the time being (#3843, usememos/memos#3802, usememos/memos#2636, usememos/memos#2965). I understand this is an open-source project, and the author has the right to freely decide whether or not to adopt suggestions from the community. I respect that.

Currently, I'm facing a challenge and would like to ask if there are any tutorials available on how to export all records stored in memos. I hope to export the data and redeploy memos on a new device. If direct exporting isn't possible, I'm also very willing to accept any method that can save the data locally.

Below is my configuration file, but there's no data under ~/Docker/memos/data.

version: "3.0"
services:
  memos:
    image: neosmemo/memos:stable
    restart: unless-stopped
    container_name: memos
    volumes:
      - ~/Docker/memos/data/:/var/opt/memos
    ports:
      - 80:5230

Thank you very much for your help and support! Looking forward to receiving your valuable advice.

Type of feature

Documentation

Additional context

No response

@eMUQI eMUQI added the enhancement New feature or request label Sep 11, 2024
@RoccoSmit
Copy link

What are you using for storage (s3 vs local) and what db are you using.

A default install should have all your files (sqlite db file and cache folder for thumbnails) stored under ~/Docker/memos/data/. If you use local storage you should see an assets folder as well for resources.

You can lift and shift the files in this directory to the directory set for your new instance and things should work as normal.

I believe the above changes if you use S3 for storage and non sqlite dbs

@boojack boojack added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Sep 17, 2024
@boojack boojack transferred this issue from usememos/memos Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants