Backup Vault

Integrate Backup Vault in minutes — REST API, WordPress plugin, and embed widgets.

https://backup.api.jetweb.appREST APIEU-hosted

ခြုံငုံသုံးသပ်ချက်

Backup Vault သည် သင့်ဖိုင်များနှင့် ဒေတာဘေ့စ်များ၏ ကုဒ်ဝှက်ထားသော snapshot များကိုယူကာ Frankfurt တွင်သိမ်းဆည်းပြီး ယခင်အချက်တစ်ခုခုကို တစ်ချက်နှိပ်ရုံဖြင့် ပြန်လည်ရယူနိုင်သည်။ ဖိုင်များသည် သင့်ဆာဗာမှမထွက်ခွာမီ ကုဒ်ဝှက်ထားသည် — Jetweb သည် ၎င်းတို့၏အကြောင်းအရာကိုဖတ်၍မရပါ။

အမြန်စတင်ခြင်း

သင်အရန်ကူးလိုသော အမျိုးအစားများပါသော ဆိုက် URL တစ်ခုကို POST လုပ်ပါ။ API သည် သင်အခြေအနေစစ်ဆေးနိုင်သော job ID တစ်ခုကို ပြန်ပေးသည်။

bash
curl -X POST https://backup.api.jetweb.app/api/backups \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "site_url": "https://example.com",
    "include_db": true,
    "include_files": true
  }'

Authentication

API endpoint တိုင်းတွင် Bearer token လိုအပ်ပါသည်။ သက်ဆိုင်ရာ ထုတ်ကုန်အတွက် Dashboard ရှိ "API Keys" အောက်တွင် token တစ်ခုကို ထုတ်လုပ်ပါ။ Token များကို server-side တွင် သိမ်းဆည်းပါ — public repositories များသို့ commit လုပ်ခြင်း သို့မဟုတ် frontend bundles များတွင် ထည့်သွင်းခြင်းကို ရှောင်ကြဉ်ပါ။

bash
Authorization: Bearer YOUR_API_KEY

Endpoints

Base URL: https://backup.api.jetweb.app

POST
/api/backups
အရန်ကူးလုပ်ငန်းအသစ်တစ်ခုကို စတင်ပါ။ site_url, include_db, include_files ကိုလက်ခံသည်။
GET
/api/backups
အကောင့်အတွက် ရှိပြီးသား အရန်ကူးများကို စာရင်းပြုစုပါ။
POST
/api/backups/:id/restore
Restore a backup by its id to the original site or a new destination.
DELETE
/api/backups/:id
Delete a backup permanently from cold storage.
GET
/api/usage
အကောင့်အတွက် လက်ရှိအသုံးပြုခွင့် quota နှင့် ကျန်ရှိသော allowance ကို ပြန်ပေးသည်။

Integrations

The WordPress plugin schedules daily backups automatically. Plesk users can install the Jetweb Backup extension; headless projects call the REST API from cron or CI.