hcengineering / huly-selfhost

Huly for Self Hosting
Eclipse Public License 2.0
1.71k stars 132 forks source link

Any tool to backup data? #62

Open V-E-O opened 1 month ago

V-E-O commented 1 month ago

Any tool to backup data?

aonnikov commented 1 month ago

@V-E-O Yes, we have couple of options for performing data backup.

  1. If you use desktop application, then there is a Backup option in the app menu. You have to be the workspace owner in order to be able to perform backup.
  2. Tooling Docker container that allows to perform backup and restore. Example of usage:
    docker run \
    --network=huly-selfhost_default \
    -e SERVER_SECRET="secret" \
    -e ACCOUNTS_URL="https://account:3000/" \
    -e TRANSACTOR_URL="ws://transactor:3333/" \
    -e MONGO_URL="mongodb://mongodb:27017" \
    -e STORAGE_CONFIG="minio|minio?accessKey=minioadmin&secretKey=minioadmin" \
    -v /media/backup/huly:/backup \
    hardcoreeng/tool:v0.6.295 \
    -- bundle.js backup /backup ws1