mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-04-30 22:54:33 +02:00
Updated Using the MySQL Backend (markdown)
parent
872bbce6a4
commit
ce88baebe4
@ -57,10 +57,11 @@ 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: Using ```--show-warnings``` will highlight that the datetime fields are getting truncated during the import which **seems** to be okay.
|
8. Start bitwarden_rs.
|
||||||
|
|
||||||
|
*Note: Loading your MySQL dump with ```--show-warnings``` will highlight that the datetime fields are getting truncated during the import which **seems** to be okay.
|
||||||
```
|
```
|
||||||
Note (Code 1265): Data truncated for column 'created_at' at row 1
|
Note (Code 1265): Data truncated for column 'created_at' at row 1
|
||||||
Note (Code 1265): Data truncated for column 'updated_at' at row 1
|
Note (Code 1265): Data truncated for column 'updated_at' at row 1
|
||||||
```
|
```
|
||||||
*
|
*
|
||||||
8. Start bitwarden_rs.
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user