Skip to content

The repo consists scripts for archiving old files stored by Telnyx

Notifications You must be signed in to change notification settings

team-telnyx/ArchivingFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Archiving Files

This repository contains scripts for archiving old files (such as recordings or faxes) stored by Telnyx.

Archiving Old Faxes

Telnyx retains files sent or received via its Programmable Faxes service for 30 days, after which they are automatically deleted. To preserve these files, the repository provides a script (fax_archiving_script.py) to archive them from Telnyx storage.

Preparation Steps

Before using the script, follow these steps:

  1. API Key Configuration:

Provide your Telnyx API key in the script on line 8. Refer to the Telnyx API documentation for instructions on how to obtain your API key.

  1. Bucket Setup:

Set up a bucket in Telnyx's distributed storage to hold the archived files. Follow the Telnyx Cloud Storage Quick Start Guide for detailed instructions.

  1. Bucket Configuration:

In the script, specify the following details:

  • bucket name (line 9)
  • and region (line 10)
  1. Install Dependencies:

Install the required boto3 library using pip:  

  pip install boto3

Running the Script

To run the script, use the following command:

python3 fax_archiving_script.py

About

The repo consists scripts for archiving old files stored by Telnyx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages