Weekly
Back up your index every week
Every week a fresh backup of your index is created and you get an email with its ID.
- Runs
- Weekly
- Apps
- Pinecone
- AI
- Not needed
- Access
- API key
Send this to your assistant
Create a ClickRuntime automation: every Sunday at 3am, create a backup of my Pinecone index docs-search and email me the backup ID and record count.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Teams often treat a vector index as disposable until it is not. Rebuilding embeddings for hundreds of thousands of records costs money and hours, and a mistaken deletion, a bad migration or a corrupted namespace can wipe out work that took weeks. Many teams realize they never made a backup only on the day they need one.
Once a week, a backup of the Pinecone index is created. Optionally, backups older than a retention period are pruned so storage does not grow without limit. When it finishes, an email confirms that the backup exists, so you know the safety net was made without logging into the console to check. Engineers on small teams, who cannot dedicate time to storage routines, benefit most from a backup that simply happens.
It suits anyone with an index that holds expensive embeddings or records that cannot easily be regenerated.
What you get out of it
Recovery without rebuilding
If an index is damaged, a backup lets you restore it rather than re-embedding every record. That saves the cost of the embedding calls and the days spent re-ingesting. That difference can be thousands of embedding calls and several lost working days.
Confirmation that it really ran
A backup you assume exists is not a backup. The weekly email shows that it was made, and a missing email is a signal to look into why. That small signal catches the failure mode where a job stopped months ago and nobody noticed.
Protection from human error
The most common cause of data loss is a person running the wrong command. A recent backup turns that mistake from a disaster into an inconvenience. Recovering from a bad command in minutes is a far better story to tell the team than rebuilding for days.
Controlled storage over time
Pruning old backups keeps the number of snapshots manageable. You retain a useful history without paying to keep every copy from the past year. Predictable costs and a clean list of snapshots also make it easier to know which one to restore.
Evidence for compliance questions
Customers or auditors sometimes ask how you protect data. A record of weekly backups gives you a straightforward answer, with dated emails to show it. Written proof of a regular routine is far more convincing than a verbal assurance.
How it works
What happens, step by step
Once a week, ClickRuntime asks Pinecone to back up your index and names the backup with today's date.
Pinecone creates the backup.
You get an email with the backup ID and how many records it holds.
Before it runs live
- Connect Pinecone
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Pinecone steps into one automation
Under the hood
The code that runs this automation
from datetime import date
from clickruntime import on_trigger, credentials, notify, http
@on_trigger
def run(event):
resp = http.post("https://api.pinecone.io/indexes/docs-search/backups",
headers={"Api-Key": credentials.secret("PINECONE_API_KEY"), "X-Pinecone-API-Version": "2025-04"},
json={"name": f"docs-search-{date.today()}"})
resp.raise_for_status()
backup = resp.json()
notify.email_me("Pinecone backup created",
f"Backup {backup['backup_id']} of docs-search, {backup.get('record_count', 'pending')} records.")
return {"backup_id": backup["backup_id"]}FAQ
Common questions
How long does a backup take?
Can I restore from the email?
How many backups does it keep?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Keep your index in sync with your website
Every week new and edited pages are re-added, removed pages are deleted, and you get an email with the counts.
See how it worksGet warned if your index loses records
If your vector count falls below a floor or drops sharply since yesterday, you hear about it in Slack within the hour.
See how it worksKnow the moment your website goes down
Your team hears in Slack when the site stops responding or slows down, and again when it's back.
See how it worksKeep exploring
Set up “Back up your index every week” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.