GithubHelp home page GithubHelp logo

Comments (4)

KimigaiiWuyi avatar KimigaiiWuyi commented on September 27, 2024 1

When I build the .exe and run it the db is created in the same folder as the exe. Where is your db stored?

I'm very sorry, I ran dev main.go directly, I haven't tried to build it yet, it's stored in C:\Users\Admin\AppData\Local\Temp\go-build2018550480\b001\, I'll try to run it after I try to build it, thanks! ❤️

from memos.

RoccoSmit avatar RoccoSmit commented on September 27, 2024

Can you share some context describing your setup? If you are using docker migration should be as simple as copying your db (and assets) to the new server, spining up a memos container and setting the storage location to where you saved your db

from memos.

KimigaiiWuyi avatar KimigaiiWuyi commented on September 27, 2024

Can you share some context describing your setup? If you are using docker migration should be as simple as copying your db (and assets) to the new server, spining up a memos container and setting the storage location to where you saved your db

Of course, my server is windows and I'm not using docker but building directly from source via golang and js (yarn), so the database is stored on the C drive, unfortunately I'll probably migrate the system multiple times with the software disk remaining the same, so I'd like to have the database folder under the memos path to make it easier for me to migrate the disk directly. ❤️

from memos.

RoccoSmit avatar RoccoSmit commented on September 27, 2024

When I build the .exe and run it the db is created in the same folder as the exe. Where is your db stored?

from memos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.