Restore webmail database
This commit is contained in:
parent
c0d51f2544
commit
86bea36678
|
@ -7291,6 +7291,12 @@ To restore yesterday's friendica backup:
|
|||
mysql -u root -p friendica -o < /var/backups/friendica_daily.sql
|
||||
#+END_SRC
|
||||
|
||||
To restore the webmail database:
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
mysql -u root -p roundcubemail -o < /var/backups/roundcubemail_daily.sql
|
||||
#+END_SRC
|
||||
|
||||
To restore yesterday's Red Matrix backup:
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
|
@ -7332,6 +7338,7 @@ CREATE USER 'roundcube'@'localhost' IDENTIFIED BY 'roundcubepassword';
|
|||
GRANT ALL PRIVILEGES ON roundcubemail.* TO 'roundcube'@'localhost';
|
||||
quit
|
||||
mysql -u root -p friendica -o < /var/backups/friendica_daily.sql
|
||||
mysql -u root -p roundcubemail -o < /var/backups/roundcubemail_daily.sql
|
||||
#+END_SRC
|
||||
|
||||
And if you previously had Red Matrix installed:
|
||||
|
|
Loading…
Reference in New Issue