E2E 連線能力 - 如何手動將裝置資料匯出至 A1

Summary: 概觀: 在重新部署的情況下,客戶可能會遇到無法存取 SCG UI,而且無法從「裝置管理」頁面匯出裝置資料的情況。但是,仍可透過 CLI 使用下面概述的程序,手動匯出裝置資料

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

指示:

  1. 使用 SSH 用戶端 (例如 PuTTY) 以根登入資料登入 SCG。
  1. 執行下列命令以存取裝置清單:

 

  • docker exec -it esrsde-app bash
    psql -d vapp -U postgres 
     select * from device_management;

 

自動產生帶有白色文字描述的黑色螢幕

  1. 執行以下命令將裝置清單匯出到 .CSV 檔案:
  • COPY device_management TO '/tmp/devices.csv' DELIMITER ',' CSV HEADER;
    exit
    exit

 

自動產生的電腦描述的螢幕截圖

 

  1. 裝置資料現在儲存在 .名為 devices.csv 的 CSV 檔案。若要在 Docker 容器中尋找此檔案,請執行下列命令:

 

  • find /var -type f -iname devices.csv

 

命令輸出

  1. 複製從上一個命令返回的檔案路徑。然後,使用檔案傳輸用戶端 (例如 WinSCP 或 FileZilla) 連線至 SCG。將檔案路徑貼到位址列中,或在 WinSCP 中使用「開啟目錄」選項。

自動產生的電腦螢幕擷取畫面說明

 

  1. 找到devices.csv檔並將其複製到本地電腦。

 

自動產生的電腦螢幕擷取畫面說明

 

Affected Products

Secure Connect Gateway - Virtual Edition
Article Properties
Article Number: 000273682
Article Type: How To
Last Modified: 29 Mar 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.