Uživatelské nástroje

Nástroje pro tento web


en_installation:backup

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

en_installation:backup [2022/03/07 14:07] – vytvořeno kozaken_installation:backup [2022/03/07 14:08] (aktuální) kozak
Řádek 19: Řádek 19:
       * ''/var/elachain/apps/admin/mongo''       * ''/var/elachain/apps/admin/mongo''
         * The database is used at the user level. To restore all things created in the Admin application, it is necessary to have this db. It is possible to back up only the dump or the whole directory. In the case of a full directory backup, the database keys stored in the ''/usr/local/NODE_CONTROL/scripts/apps/admin/.env''  file must also be backed up. The database dump can be done using the command (assuming the container with the db is OK)         * The database is used at the user level. To restore all things created in the Admin application, it is necessary to have this db. It is possible to back up only the dump or the whole directory. In the case of a full directory backup, the database keys stored in the ''/usr/local/NODE_CONTROL/scripts/apps/admin/.env''  file must also be backed up. The database dump can be done using the command (assuming the container with the db is OK)
-          *+        The dump will be saved in the directory ''/var/elachain/apps/admin/mongo_dump'' 
 <code> <code>
 source /usr/local/NODE_CONTROL/scripts/apps/admin/.env && docker exec apps-admin-mongo bash -c „mongodump –username=${mongo_username} –password=${mongo_password} –authenticationDatabase=admin –db=blockchain -o=/data/dump“ source /usr/local/NODE_CONTROL/scripts/apps/admin/.env && docker exec apps-admin-mongo bash -c „mongodump –username=${mongo_username} –password=${mongo_password} –authenticationDatabase=admin –db=blockchain -o=/data/dump“
  
 </code> </code>
-        * The dump will be saved in the directory ''/var/elachain/apps/admin/mongo_dump'' 
  
   * What you don't need to back up:   * What you don't need to back up:
en_installation/backup.1646658427.txt.gz · Poslední úprava: 2022/03/07 14:07 autor: kozak