Only backs up the record data, table schemas and attachments.
Does not back up interfaces and automations.
To run this you need:
- Python 3
python-dotenv
modulepyairtable
modulerequests
module
Installed by running python -m pip install python-dotenv requests pyairtable
- Go to https://airtable.com/create/tokens
- Create an API token with the scopes:
data.records:read
schema.bases:read
- Create a
.env
file in the base directory - Add the line
AIRTABLE_ACCESS_TOKEN=<paste your token in replace of this>
Run python airtable_backup.py
in the root directory.
Once it is done, you can zip and upload your backup to wherever you would like to keep it.