memos icon indicating copy to clipboard operation
memos copied to clipboard

上传的文件是否可以考虑存储在db之外?

Open i-iooi-i opened this issue 2 years ago • 11 comments

Is your feature request related to a problem?

image

  • 现在比较困扰的是,文件会默认存储在db里面,这样带来一个问题,随着上传的 图片 视频 音频 越来越大,db文件也会越来越臃肿。

  • 另外,不方便将数据定期做自动化备份,比如加密备份到其他网盘。

  • 若是文件独立外db之外,那么只要定期做增量备份,定期将新添加的文件备份到网盘即可。

Describe the solution you'd like

image image

希望可以考虑将文件分门别类的存储在不同的文件夹,这样即方便自动化备份,也方便管理,也能解决db臃肿的问题。

Additional context

No response

i-iooi-i avatar Jan 16 '23 14:01 i-iooi-i

Issue is not in English. It has been translated automatically.


Title: Can the uploaded file be considered to be stored outside the db?

Issues-translate-bot avatar Jan 16 '23 14:01 Issues-translate-bot

用久了,sqlite越来越大,如果能存到DB外面挺好的

lhuanyun avatar Jan 17 '23 12:01 lhuanyun

Issue is not in English. It has been translated automatically.


After using it for a long time, sqlite is getting bigger and bigger. It would be great if it can be stored outside the DB

Issues-translate-bot avatar Jan 17 '23 12:01 Issues-translate-bot

~~I believe @boojack is working on this already?~~

Correction: it's in the backlog, aka already planned to be done.

jxpsert avatar Jan 18 '23 00:01 jxpsert

image

New updates in 0.10.3: now you can upload outside resources with a link into memos.

boojack avatar Feb 11 '23 07:02 boojack

image

New updates in 0.10.3: now you can upload outside resources with a link into memos.

Thank you very much. I use Docker. How do I map these file paths?

i-iooi-i avatar Feb 11 '23 07:02 i-iooi-i

image

New updates in 0.10.3: now you can upload outside resources with a link into memos.

Or, how do I refer to the absolute path of the file, for example, the file is in the Memos directory instead of the image link with the domain name. (Because the domain name may be changed in the future) 😂

i-iooi-i avatar Feb 11 '23 08:02 i-iooi-i

确实,增量备份要好很多

liu7526539 avatar Feb 25 '23 14:02 liu7526539

Issue is not in English. It has been translated automatically.


Indeed, incremental backups are much better

Issues-translate-bot avatar Feb 25 '23 14:02 Issues-translate-bot

目前一个月大概文件增加100多M,定期备份文件到nas

liu7526539 avatar Mar 08 '23 07:03 liu7526539

Issue is not in English. It has been translated automatically.


At present, the files increase by more than 100 M in a month, and the files are regularly backed up to the nas

Issues-translate-bot avatar Mar 08 '23 07:03 Issues-translate-bot

目前一个月大概文件增加100多M,定期备份文件到nas

怎么还原呢?

woshichenghaibo avatar Aug 16 '23 12:08 woshichenghaibo

Issue is not in English. It has been translated automatically.


At present, the files increase by more than 100 M in a month, and the files are regularly backed up to the nas

How to restore it?

Issues-translate-bot avatar Aug 16 '23 12:08 Issues-translate-bot