备份/恢复 (AEN 4.1.2)#

备份

使用您的标准备份程序备份以下Anaconda Enterprise Notebooks文件和目录。

  • 使用mongodump工具备份Anaconda Enterprise Notebooks的数据库

    mongodump -o wakari_dump > wakari_backup.log
    tar cvf wakari_backup.tar ./wakari_dump
    
  • 备份 项目文件 在 /projects/*

  • 备份配置文件

    • The location of the config files depends on where Anaconda Enterprise Notebooks was installed on the system. The default locations are
      • /opt/wakari/wakari-server/etc/*
      • /opt/wakari/wakari-gateway/etc/*
      • /opt/wakari/wakari-compute/etc/*

恢复

  • Re-install Anaconda Enterprise Notebooks
  • Shutdown Anaconda Enterprise Notebooks processes - See the Startup and Shutdown section.
  • Restore the Database using the mongorestore utility
  • Restore the /projects/* backup
  • Verify the permissions of the directories and files in /projects.
  • Restore the config file backups.
  • Start Anaconda Enterprise Notebooks - See the Startup and Shutdown section.