Restore webmail database

This commit is contained in:
Bob Mottram 2014-08-04 20:20:18 +01:00
parent c0d51f2544
commit 86bea36678
1 changed files with 7 additions and 0 deletions

View File

@ -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: