다음 표에서는 인프라 데이터를 Migration Center에 업로드하는 데 사용할 수 있는 파일 템플릿을 제공합니다.
이 템플릿에는 테이블에 입력하는 방법을 제안하기 위한 샘플 데이터가 포함되어 있습니다.
필요한 데이터 형식에 대한 자세한 내용은 가져오기 파일 사양을 참조하세요.
파일을 업로드한 후 파일이 공식적으로 올바른지 Migration Center에서 검사합니다. 검증이 성공하면 Migration Center는 데이터를 처리하여 새 애셋을 만들거나 기존 애셋을 업데이트합니다. Google Cloud 콘솔에서 업로드 작업 상태를 확인할 수 있습니다.
업로드 작업 상태를 검토하려면 다음 단계를 수행합니다.
데이터 가져오기 페이지로 이동한 후 파일 업로드를 클릭합니다.
파일 가져오기 목록에서 검토하려는 업로드를 선택합니다.
파일 업로드 페이지의 데이터 가져오기 진행 상황에서 업로드된 파일의 상태를 검토합니다.
파일이 다음과 같은 상태 중 하나로 표시될 수 있습니다.
상태 목록
완료됨. 파일 가져오기에 성공했습니다.
준비됨. 파일 검증을 통과하여 파일을 가져올 준비가 되었습니다.
대기 중. 파일이 다른 파일의 처리가 완료될 때까지 기다리는 중입니다.
실행 중. 파일을 처리하는 중입니다.
유효성 검사 중. 파일이 검증 단계에 있습니다.
검증 실패. 파일에 오류가 있습니다. 오류를 해결한 후 파일을 다시 업로드하세요.
실패. 파일을 가져올 수 없습니다.
오류 세부정보 검토
파일을 가져온 후 오류가 발생하면 Google Cloud 콘솔에서 직접 오류 메시지를 검토할 수 있습니다.
업로드 작업 오류를 검토하려면 다음 단계를 수행합니다.
데이터 가져오기 페이지로 이동한 후 파일 업로드를 클릭합니다.
경고 또는 오류가 표시된 가져오기 파일을 클릭합니다.
가져오기 파일 세부정보 페이지에 전체 오류 목록이 표시됩니다.
가져오기 파일 세부정보 페이지에서 오류를 일으킨 애셋 및 데이터 필드를 검토하고 오류에 대한 설명을 볼 수 있습니다.
파일 가져오기 작업에 오류가 발생하면 Migration Center에서 새 애셋을 만들지 않거나 새 변경사항으로 기존 애셋을 업데이트하지 못할 수 있습니다.
오류를 해결하려면 파일을 수정하고 새 파일 가져오기 작업을 만들어 다시 업로드합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-21(UTC)"],[],[],null,["# Manually create and upload data tables\n\nMigration Center lets you upload tables of data that you fill in\nmanually using the templates provided.\nThis is useful if your infrastructure has a limited\nnumber of assets and you want to manually create the data.\n\nTo manually create and upload data tables, follow these steps:\n\n1. Download the templates from the [list of available templates](#available_data_templates).\n2. Manually fill in the tables with the data from your infrastructure.\n3. [Upload the tables](#upload_the_tables) to Migration Center.\n\nLimitations\n-----------\n\n- The maximum size for a file upload is 100 Mb.\n\nAvailable data templates\n------------------------\n\nThe following table provides you with the file templates that you can use to\nupload your infrastructure data to Migration Center.\nThe templates contain sample data as a suggestion on how to fill in the table.\nFor a detailed description of the required data format, see\n[Import files specifications](#specs).\n\nFor more information about the specifications for each file, see\n[Import files specifications](#specs).\n\nUpload the tables\n-----------------\n\nTo upload the files, follow these steps: \n\n### Console\n\n1. Go to the **Data import** page.\n\n [Go to Data import](https://console.cloud.google.com/migration/discovery/dataImport)\n2. Click **Add data \\\u003e Upload files**.\n\n3. In the **Set up file upload** section, enter the name of the file upload.\n\n4.\n From the **File format** list, select **Manually populated CSV templates**.\n\n5. Click **Select files to upload**, then select all the files that you\n want to upload.\n\n \u003cbr /\u003e\n\n6. To confirm and start uploading the files, click **Upload files**.\n\n7. If the files are validated correctly, to create the assets from the\n files, click **Import data** , then click **Confirm**.\n\n### API\n\n1. Create an import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs?importJobId=IMPORT_JOB_ID\n\n {\n \"asset_source\": \"projects/PROJECT_ID/locations/REGION/sources/SOURCE_ID\"\n }\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: ID of the project to create the import job.\n - \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: Region to create the import job.\n - \u003cvar translate=\"no\"\u003eIMPORT_JOB_ID\u003c/var\u003e: ID of the new import job.\n - \u003cvar translate=\"no\"\u003eSOURCE_ID\u003c/var\u003e: ID of an **existing** source to be associated with the import job.\n2. Optional: To confirm that the import job was correctly created,\n get the import job.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID\n ```\n3. Create a import data file attached to the import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles?import_data_file_id=DATA_FILE_ID\n\n {\n \"format\": \"IMPORT_JOB_FORMAT\"\n }\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDATA_FILE_ID\u003c/var\u003e: ID of the new data file\n - \u003cvar translate=\"no\"\u003eIMPORT_JOB_FORMAT\u003c/var\u003e: `IMPORT_JOB_FORMAT_MANUAL_CSV`\n4. Get the data file.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles/DATA_FILE_ID\n ```\n5. Copy the URL from the `signedUrl` field from the response.\n\n6. Upload a file to the copied URL.\n\n ```\n PUT -H 'Content-Type: application/octet-stream' --upload-file UPLOAD_FILE_PATH 'COPIED_URL'\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eUPLOAD_FILE_PATH\u003c/var\u003e: The local path of the file that is uploaded.\n - \u003cvar translate=\"no\"\u003eCOPIED_URL\u003c/var\u003e: The copied signed URL from the previews steps.\n7. Optional: Repeat steps 3-6 to create more data files under the same\n import job.\n\n8. Optional: Get all data files of an import job.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles\n ```\n9. Validate the import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID:validate\n ```\n10. Get the import job and view the validation report.\n If the state is `READY`, it is possible to continue to the next steps.\n Otherwise, you need to fix the job or specific files, this might require\n deleting files or uploading new ones.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID\n ```\n11. Run the import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID:run\n ```\n12. Get the import job and view the execution report.\n If the state is `COMPLETED`, the job was executed successfully.\n Otherwise, if the job failed and in a terminal state, the execution report\n includes the errors.\n Create a new import job and apply the required changes.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID\n ```\n\nIf you experience problems with your file upload, see how to\n[troubleshoot common error messages](/migration-center/docs/troubleshooting/file-import-errors).\n\nReview the upload\n-----------------\n\nAfter you upload your files, Migration Center validates them\nto check if they are formally correct. If the validation is successful,\nMigration Center then processes the data to create new assets,\nor update existing ones. You can check the status of your upload jobs\nfrom the Google Cloud console.\n\nTo review the status of your upload job, follow these steps:\n\n1. Go to the **Data import** page, then click **File uploads**.\n2. From the list of file imports, select the upload you want to review.\n3. On the file upload page, under **Data import progress** , review the **Status** for your uploaded files.\n\nYou can see your files in one of the following statuses.\n\n### List of statuses\n\n- **Completed**. The import of your file was successful.\n- **Ready**. Your file passed validation, and is ready to be imported.\n- **Pending**. Your file is waiting for another file to finish processing.\n- **Running**. Your file is processing.\n- **Validating**. Your file is in the validation stage.\n- **Failed validation**. Your file contains some errors. Fix the errors then try to upload your file again.\n- **Failed**. Your file couldn't be imported.\n\n### Review error details\n\nIf you encounter errors after importing your files, you can review\nthe error message directly in the Google Cloud console.\n\nTo review the errors of your upload job, follow these steps:\n\n1. Go to the **Data import** page, then click **File uploads**.\n2. Click the import file that shows a warning or error. The import file details page shows the complete list of errors.\n\nOn the import file details page, you can review the assets and data fields\nthat cause the errors, and view a description of the error.\nErrors in the file import job might prevent Migration Center from\ncreating new assets or update existing ones with the new changes.\nTo fix the error, edit your files and create a new file import job to upload\nthem again.\n\nFor more information about the possible error messages, see\n[Troubleshoot file import errors](/migration-center/docs/troubleshooting/file-import-errors).\n\nImport files specifications\n---------------------------\n\nThe following tables show the technical specifications for the template files\nused for manual import.\n\n### `vmInfo` file\n\n### `diskInfo` file\n\n### perfInfo file\n\n### tagInfo file\n\nWhat's next\n-----------\n\n- Learn more about [Migration Center collection methods](/migration-center/docs/start-asset-discovery#collection_methods).\n- Learn how to [manage your file uploads](/migration-center/docs/manage-file-uploads)."]]