浏览代码

Restore webmail database

Bob Mottram 11 年前
父节点
当前提交
86bea36678
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      beaglebone.txt

+ 7
- 0
beaglebone.txt 查看文件

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