mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-26 03:39:20 -07:00
Updated Using the MySQL Backend (markdown)
@@ -57,4 +57,5 @@ FLUSH PRIVILEGES;
|
|||||||
NB: On Debian (Buster), you'll need to install sqlite3 for this
|
NB: On Debian (Buster), you'll need to install sqlite3 for this
|
||||||
6. Drop schema creation and diesel metadata from your dump, leaving only your actual data: ```grep "INSERT INTO" sqlitedump.sql | grep -v "__diesel_schema_migrations" > mysqldump.sql```
|
6. Drop schema creation and diesel metadata from your dump, leaving only your actual data: ```grep "INSERT INTO" sqlitedump.sql | grep -v "__diesel_schema_migrations" > mysqldump.sql```
|
||||||
7. Load your MySQL dump: ```mysql -ubitwarden_rs -pyourpassword < mysqldump.sql```
|
7. Load your MySQL dump: ```mysql -ubitwarden_rs -pyourpassword < mysqldump.sql```
|
||||||
|
NB: You might want to use ```--show-warnings```
|
||||||
8. Start bitwarden_rs.
|
8. Start bitwarden_rs.
|
||||||
|
|||||||
Reference in New Issue
Block a user