备份和恢复AEN (AEN 4.1.3)#

创建AEN备份

  1. 使用mongodump工具备份和测试AEN数据库:

    mongodump -o wakari_dump > wakari_backup.log
    tar cvf wakari_backup.tar ./wakari_dump
    
  2. 备份位于/projects/\*中的项目文件。

  3. 备份配置文件。

    • /opt/wakari/wakari-server/etc/\*
    • /opt/wakari/wakari-gateway/etc/\*
    • /opt/wakari/wakari-compute/etc/\*

恢复AEN备份

  1. Re-install AEN.
  2. 停止AEN进程.
  3. Restore the database using the mongorestore utility.
  4. Restore the /projects/\* backup.
  5. Verify the permissions of the directories and files in /projects.
  6. Restore the configuration file backups.
  7. 启动AEN进程.