請先完成下列步驟,再建立、排定或還原備份。
啟用 API
啟用 Filestore 和 Backup and DR Service API。
必要的角色
如要取得建立進階備份所需的權限,請要求管理員在專案中授予您下列 IAM 角色:
-
使用備份與 DR 服務建立及管理備份:
備份與 DR 備份使用者 (
roles/backupdr.backupUser) -
建立及管理 Filestore 執行個體:
Cloud Filestore 編輯者 (
roles/file.editor) -
只能使用 Cloud Key Management Service 資源進行加密和解密作業:
Cloud Key Management Service CryptoKey 加密者/解密者 (
roles/cloudkms.cryptoKeyEncrypterDecrypter)
如要進一步瞭解如何授予角色,請參閱「管理專案、資料夾和組織的存取權」。
這些預先定義的角色具備建立進階級備份所需的權限。如要查看確切的必要權限,請展開「Required permissions」(必要權限) 部分:
所需權限
如要建立進階備份,必須具備下列權限:
-
backupdr.backupPlans.list -
backupdr.backupPlanAssociations.createForFilestoreInstance -
backupdr.backupPlanAssociations.list -
backupdr.backupPlanAssociations.get -
backupdr.backupPlanAssociations.triggerBackupForFilestoreInstance -
backupdr.backupPlanAssociations.deleteForFilestoreInstance -
backupdr.backupPlans.useForFilestoreInstance -
backupdr.locations.list -
backupdr.operations.get -
cloudasset.assets.searchAllResources