官方说明
https://github.com/zadam/trilium/wiki/Data-directorygithub.com默认的数据存储位置:
document.db 里面包含了所有的笔记内容
config.ini 是软件相关的设置,可以设置使用的端口,但是这个是归属于环境变量下面的,导致暂时不知道怎么同时运行2个trilium
backup 里面是软件自动备份的数据库
log 日志文件
Here's how the location is decided:
Data directory is normally named trilium-data
and it is stored in:
/home/[user]/.local/share
for LinuxC:Users[user]AppDataRoaming
for Windows Vista 及以上/Users/[user]/Library/Application Support
for Mac OS- user's home is a fallback if some of the paths above don't exist
- user's home is also a default setup for docker
Windows 10 自定义数据目录
通过更改环境变量来实现
win10系统环境变量怎么设置-百度经验jingyan.baidu.com