📞 PBX System
📚 Archive
☁️ Archive Files to Google Cloud Storage

☁️ Archive Files to Google Cloud Storage

IZT Cloud Voice supports archiving the system's call recordings and backup files to Google Cloud Storage, either on a regular interval or any given time you want. This topic describes how to add Google Cloud Storage bucket as an archive server and schedule tasks to archive the desired files.

Requirements and Restrictions

Requirements

  • PBX Firmware: Version 84.15.0.2 or later
  • PBX Plan: Ultimate Plan

Restrictions

  • Archive Server: 10
  • Archive Task: 200

Introduction

To enable archiving of call recordings and backup files to a specific bucket in Google Cloud Storage, you need to complete the following steps:

  1. Prepare an eligible account and create buckets on Google Cloud.
  2. Use IAM to create users with access permissions.
  3. Configure the Google Cloud Storage bucket as an archive server on the PBX.
  4. Create and schedule archive tasks to automatically transfer files from PBX to Google Cloud.

Step 1: Create a Service Account on Google Cloud

  1. Log in to Google Cloud Console.
  2. Create a new project or select an existing one.
Google Cloud Select Project
  1. In the top search bar, search for and select Service Accounts.
Search Service Accounts
  1. In the top pane, click CREATE SERVICE ACCOUNT.
Create Service Account
  1. In the Service account details section, enter a name in the Service account name field to help you identify the account, then click CREATE AND CONTINUE.
Service Account Details
  1. Grant roles to the service account:
  • Select the Storage Admin role from the drop-down.
Grant Role to Service Account
  1. Click CREATE KEY and select JSON as the key type, then click CREATE.
Create Key JSON
  1. The access key is created and automatically downloaded to your computer as a JSON file. Click CLOSE to close the pop-up window.
Download JSON Key

🔔 Note: The key will be needed when setting up Google Cloud Storage bucket as archive server on PBX.

Step 2: Create a Bucket on Google Cloud Storage

  1. In the top search bar, search for and select Cloud Storage.
Search Cloud Storage
  1. On the Buckets page, click CREATE.
Google Cloud Create Storage
  1. Enter a name for the bucket to help you identify it, then click CONTINUE.
Google Cloud Bucket Created
  1. In the Choose where to store your data section, select the region in which you want to create a bucket, then click CREATE.
Choose Storage Settings

🔔 Note: If you want to group the archived PBX files in Google Cloud Storage, you can create folders in the bucket. This way, you can specify PBX files to be archived to the designated folders in the following settings.

Step 3: Add Google Cloud Storage Bucket as Archive Server on PBX

  1. Log in to the PBX web portal, go to System > Archive.
  2. Under the Archive Task tab, click Archive Server.
Click Archive Server
  1. Click Add.
  2. In the pop-up window, complete the following settings:
Google Cloud Server Setting
SettingDescription
NameEnter a name to help you identify the server.
Server TypeSelect Google Cloud Storage.
Private Key/JSON KeyBrowse to and upload the JSON file that you have obtained in Google Cloud.
Bucket NameEnter the name of your created bucket.
  1. Click Save.

Step 4: Create a Task to Archive Files to Google Cloud Storage on PBX

  1. Under the Archive Task tab, click Add Task.
  2. Create a one-time or recurring archive task:
Create Archive Task for Google
SettingDescription
NameEnter a name to help you identify the task.
File TypeSelect Recording Files & Backup Files as needed.
TimeSpecify a date and time for this task.
Sync FrequencyChoose between Once, Daily, or Weekly and set the respective frequency and timescales where appropriate.
Archive ServerSelect the Google Cloud Storage bucket that you have added.
Select Folder/PathSpecify the bucket or folder in which you want to store archived files. The system automatically adds the folder in the bucket based on the task.
  1. Click Save.

Result

The specified files will be archived to the designated bucket or folder in your Google Cloud Storage immediately or at the scheduled time.

  • Scheduled Execution: The system executes only one task at a time to avoid affecting system performance. If there are multiple tasks, they will be queued up one after another.
  • Archive Result: You can check the archive result on PBX or directly on Google Cloud Storage:

🔍 Note: If the task is failed, the Failed to Archive File(s) event will be triggered. You can click Retry to retry the task.

Check the Archive Result on PBX

  1. Go to PBX web portal > Archive > Archival Logs.
  2. If the Result column for the task shows Succeeded, it indicates that the archive was successful.
Archival Logs for Google

Check the Archive Result on Google Cloud Storage

  1. On Google Cloud Console, go to the created Storage bucket.
  2. If the specified files appear in the bucket, it indicates that the archive is successful.
Recording Files on Google