Skip to main content

crmkit-backup

Export an entire crmkit workspace to JSON with a paging script - contacts, companies, deals, and activities. Use for backups, data portability, offsite archives, or before a risky bulk change. Cron-able.

설치로 이동

소스 정보

저장소
sahit-sai/saviaa
최근 소스 활동
2026년 7월 18일 11:03
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
crmkit-backup
description
Export an entire crmkit workspace to JSON with a paging script - contacts, companies, deals, and activities. Use for backups, data portability, offsite archives, or before a risky bulk change. Cron-able.
A runnable recipe: snapshot the whole CRM to JSON files. Needs `CRMKIT_BASE_URL` and a `CRMKIT_TOKEN` (a crmkit bearer token - get one via the email login: `POST /auth/request` → `POST /auth/verify`). ## What it does Pages through each collection with crmkit's keyset cursor (so it captures everything, not just the first page) and writes one JSON array per entity: ``` crmkit-backup-20260605-1400/ contacts.json companies.json deals.json activities.json ``` Requires `curl` and `jq`. The script lives beside this file as `backup.sh`. ## Run it ```bash export CRMKIT_BASE_URL=https://api.crmkit.ai export CRMKIT_TOKEN=ck_... # a crmkit bearer token (POST /auth/verify) ./backup.sh # -> ./crmkit-backup-<timestamp>/ ./backup.sh /backups/crmkit # or pick the output dir ``` ## Automate / adapt it - **Cron** a nightly backup, then sync the folder to S3/Backblaze/etc.: ```cron 30 2 * * * CRMKIT_BASE_URL=… CRMKIT_TOKEN=… /path/backup.sh /backups/crmkit-$(date +\%F) ``` - Pipe a JSON file through `jq -r` to make a CSV for a spreadsheet. - Scope the workspace by using a token minted for it (see the manual's workspace tokens). Activities are pulled up to the server's max page; widen if needed.
GitHub에서 보기