You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using Version: v0.23.1 since a month or so by deploying it as container.
OS is ubuntu Jammy. Web server is Nginx.
During SSL installation for this container app, the setting procedure was helped with Gmini, I have changed default nginx conf file and that installation was successful.
But my data has been lost. Data restoring from volume was not successful nor data restoring from manually backed-up file.
What I had done for retoring from manually backe-up file is as follows
docker stop memos
docker rm memos
ls -lt ~/.memos
:~/.memos$ ls -lt
total 15824
-rw-r--r-- 1 nobby nobby 2793472 Feb 4 05:36 memos_prod.db
-rw-r--r-- 1 nobby nobby 32768 Feb 3 20:44 memos_prod.db-shm
-rw-r--r-- 1 nobby nobby 0 Feb 3 20:12 memos_prod.db-wal
drwxrwxr-x 2 nobby nobby 4096 Feb 3 20:08 2025-02-03backup
-rw-r--r-- 1 nobby nobby 2793472 Feb 3 19:38 memos_prod.db.org
-rw-r--r-- 1 nobby nobby 2793472 Jan 3 16:04 memos_prod.db.bak
-rw-r--r-- 1 nobby nobby 2793472 Sep 27 17:54 memos_prod.db.bak2
-rw-r--r-- 1 nobby nobby 2793472 Jul 27 2024 memos_prod.db.bak1
-rw-r--r-- 1 root root 2199552 May 22 2024 memos_prod.bak1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been using Version: v0.23.1 since a month or so by deploying it as container.
OS is ubuntu Jammy. Web server is Nginx.
During SSL installation for this container app, the setting procedure was helped with Gmini, I have changed default nginx conf file and that installation was successful.
But my data has been lost. Data restoring from volume was not successful nor data restoring from manually backed-up file.
What I had done for retoring from manually backe-up file is as follows
docker stop memos
docker rm memos
ls -lt ~/.memos
:~/.memos$ ls -lt
total 15824
-rw-r--r-- 1 nobby nobby 2793472 Feb 4 05:36 memos_prod.db
-rw-r--r-- 1 nobby nobby 32768 Feb 3 20:44 memos_prod.db-shm
-rw-r--r-- 1 nobby nobby 0 Feb 3 20:12 memos_prod.db-wal
drwxrwxr-x 2 nobby nobby 4096 Feb 3 20:08 2025-02-03backup
-rw-r--r-- 1 nobby nobby 2793472 Feb 3 19:38 memos_prod.db.org
-rw-r--r-- 1 nobby nobby 2793472 Jan 3 16:04 memos_prod.db.bak
-rw-r--r-- 1 nobby nobby 2793472 Sep 27 17:54 memos_prod.db.bak2
-rw-r--r-- 1 nobby nobby 2793472 Jul 27 2024 memos_prod.db.bak1
-rw-r--r-- 1 root root 2199552 May 22 2024 memos_prod.bak1
cp ~/.memos/memos_prod.db.bak2 ~/.memos/memos_prod.db
docker run -d
-p 5231:5230
-v memos_data:/var/opt/memos
--name memos
neosmemo/memos:stable
Result was not successful inspite having db data at most 2793472 Bytes in the server.
Please give suggestion or hint to recove the backup data.
Beta Was this translation helpful? Give feedback.
All reactions