Browse Source

Restore webmail database

Bob Mottram 10 years ago
parent
commit
86bea36678
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      beaglebone.txt

+ 7
- 0
beaglebone.txt View File

@@ -7291,6 +7291,12 @@ To restore yesterday's friendica backup:
7291 7291
 mysql -u root -p friendica -o < /var/backups/friendica_daily.sql
7292 7292
 #+END_SRC
7293 7293
 
7294
+To restore the webmail database:
7295
+
7296
+#+BEGIN_SRC: bash
7297
+mysql -u root -p roundcubemail -o < /var/backups/roundcubemail_daily.sql
7298
+#+END_SRC
7299
+
7294 7300
 To restore yesterday's Red Matrix backup:
7295 7301
 
7296 7302
 #+BEGIN_SRC: bash
@@ -7332,6 +7338,7 @@ CREATE USER 'roundcube'@'localhost' IDENTIFIED BY 'roundcubepassword';
7332 7338
 GRANT ALL PRIVILEGES ON roundcubemail.* TO 'roundcube'@'localhost';
7333 7339
 quit
7334 7340
 mysql -u root -p friendica -o < /var/backups/friendica_daily.sql
7341
+mysql -u root -p roundcubemail -o < /var/backups/roundcubemail_daily.sql
7335 7342
 #+END_SRC
7336 7343
 
7337 7344
 And if you previously had Red Matrix installed: