What archive handling does
| Task | How it works |
|---|---|
| Convert archive formats | Send an archive to POST /api/convert and choose an archive output such as zip, tar, tgz, 7z, gz, bz2, or xz. |
| Process files inside ZIPs | Upload a ZIP and choose a non-archive output format to extract supported files and convert them as a batch. |
| Package generated files | Use createArchive=true on async jobs when your app wants one grouped download for the completed outputs. |
| Download saved files as an archive | In the dashboard file manager, users can archive selected stored files or folders. |
| Schedule recurring folder snapshots | Per-folder schedules via dashboard or POST /api/folder-archive-schedules. |
Archive conversion
Extract and convert a ZIP
When a ZIP is uploaded and the output format is not an archive, Convertly extracts supported files inside the ZIP and processes them individually.Async archive delivery
Use async jobs for larger archives or delivery bundles. Jobs are storage-backed so workers can process the source files safely.GET /api/jobs/{id} or listen for webhooks to retrieve the completed files and archive output.
Folder archive jobs (storage)
Large folder archives in Convertly Storage run asynchronously so the API returns immediately while workers package files in the background.| Field | Purpose |
|---|---|
folderId | Folder to archive (null for root-level selection with fileIds) |
fileIds | Optional explicit file list instead of a whole folder |
format | zip, tar, or tgz |
delivery | library saves the archive to storage; download returns a one-time download when complete |
GET /api/files/archive/{jobId} until the archive is ready. In the dashboard, Assets → Back up folder uses the same flow and saves completed snapshots to the Backups tab (/app/files?view=backups).
Scheduled folder snapshots
Each folder can have its own recurring snapshot schedule. Schedules are per folder — you can back up/client-a, /client-b, and /exports on different cadences, retention rules, and timezones.
Convertly runs due schedules automatically. You can manage them from the dashboard (Folder menu → Schedule snapshots) or entirely through the API with your Convertly API key.
Create a schedule
| Field | Purpose |
|---|---|
folderId | Required. The folder to snapshot. One schedule applies to one folder. |
name | Human-readable label for the schedule |
frequency | daily, weekly, or monthly |
hour, minute | Run time in the schedule timezone |
dayOfWeek | For weekly schedules. 0 = Sunday through 6 = Saturday |
dayOfMonth | For monthly schedules. 1–28 |
timezone | IANA timezone, e.g. UTC, Europe/London, America/Los_Angeles |
targetFolderId | Optional override for where the archive is stored. By default, library delivery saves snapshots to the workspace Backups bucket (mirroring the source folder), not inside the live Assets tree. |
retentionCount | Keep at most this many snapshots (default 7) |
retentionDays | Delete snapshots older than this many days (default 90) |
enabled | Pause or resume without deleting the schedule |
List schedules
folderId to list every schedule in the workspace.
Update or delete
How scheduled snapshots run
When a schedule is due, Convertly:- Creates an idempotent run record
- Starts the same async archive job used by
POST /api/files/archive - Saves the archive to your library with schedule metadata (
archive_schedule_id,archive_is_scheduled) - Applies retention — removes older snapshots beyond your count/day limits
- Disables the schedule after five consecutive failures until you re-enable it
Assets → Backups), grouped under their source folder.
Outsource on your own cron (optional)
If you prefer to trigger archives yourself instead of using Convertly schedules, callPOST /api/files/archive from your own scheduler (GitHub Actions, cron, Zapier, etc.) on whatever cadence you want. That path is fully API-driven and does not require Convertly schedule rows.
Use Convertly schedules when you want retention, run history, and managed execution. Use your own cron + /api/files/archive when you want full external control of timing and orchestration.
Supported archive outputs
zip, tar, tgz, 7z, rar, gz, bz2, and xz.
Single-file compression formats such as gz, bz2, and xz are best for one source file. Use zip, tar, tgz, or 7z for grouped output bundles.