# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Backrest
spec:
    description: |
        Backrest is a web UI for restic backup management. It provides a visual interface to schedule, monitor, and restore backups with an embedded database — no external dependencies required.
    coverImage: https://avatars.githubusercontent.com/u/8403284?v=4
    icon: https://avatars.githubusercontent.com/u/8403284?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Backrest
    tags:
        - Tool
        - Backup
    readme: |
        # Backrest

        A web-based UI for restic backup management. Schedule, monitor, and restore backups with a clean dashboard and embedded database.

        ## What You Can Do After Deployment

        1. **Visit your domain** — open the Backrest web UI
        2. **Add repositories** — configure restic backup repositories
        3. **Create backup plans** — set up scheduled backups with retention policies
        4. **Monitor operations** — view backup status and history in the dashboard
        5. **Restore files** — browse snapshots and restore individual files or folders

        ## Key Features

        - Visual web UI for restic backup management
        - Scheduled backups with cron expressions
        - Backup retention policies
        - Snapshot browsing and file restore
        - Operation history and logging
        - Embedded database (no external DB required)

        ## License

        GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
    services:
        - name: backrest
          icon: https://avatars.githubusercontent.com/u/8403284?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: garethgeorge/backrest:v1.12.1
            ports:
                - id: web
                  port: 9898
                  type: HTTP
            volumes:
                - id: backrest-data
                  dir: /data
                - id: backrest-config
                  dir: /config
                - id: backrest-repos
                  dir: /repos
            env:
                BACKREST_CONFIG:
                    default: /config/config.json
                BACKREST_DATA:
                    default: /data
                XDG_CACHE_HOME:
                    default: /data/cache
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Backrest es una interfaz web para la gestion de copias de seguridad con restic. Programa, supervisa y restaura copias con una base de datos integrada, sin dependencias externas.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Backrest
        readme: |
            # Backrest

            Interfaz web para gestion de copias de seguridad con restic. Programa, supervisa y restaura copias desde un panel limpio.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — abre la interfaz de Backrest
            2. **Agrega repositorios** — configura repositorios de respaldo restic
            3. **Crea planes de respaldo** — programa copias con politicas de retencion
            4. **Supervisa operaciones** — consulta el estado e historial de copias
            5. **Restaura archivos** — explora instantaneas y restaura archivos individuales

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
    id-ID:
        description: |
            Backrest adalah UI web untuk manajemen backup restic. Jadwalkan, pantau, dan pulihkan backup dengan database bawaan tanpa dependensi eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Backrest
        readme: |
            # Backrest

            UI web untuk manajemen backup restic. Jadwalkan, pantau, dan pulihkan backup dari dasbor yang bersih.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — buka antarmuka Backrest
            2. **Tambah repositori** — konfigurasi repositori backup restic
            3. **Buat rencana backup** — atur jadwal backup dan kebijakan retensi
            4. **Pantau operasi** — lihat status dan riwayat backup di dasbor
            5. **Pulihkan file** — telusuri snapshot dan pulihkan file individual

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
    ja-JP:
        description: |
            Backrest は restic バックアップ管理の Web UI です。スケジュール、監視、リストアを視覚的に操作でき、組み込みデータベースで外部依存なし。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Backrest にアクセスするためのドメイン
        readme: |
            # Backrest

            restic バックアップ管理の Web UI。ダッシュボードでスケジュール、監視、リストアを管理。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — Backrest の管理画面を開く
            2. **リポジトリを追加** — restic バックアップリポジトリを設定
            3. **バックアップ計画を作成** — スケジュールと保持ポリシーを設定
            4. **操作を監視** — ダッシュボードでバックアップ状態と履歴を確認
            5. **ファイルをリストア** — スナップショットを参照してファイルを復元

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
    ko-KR:
        description: |
            Backrest는 restic 백업 관리를 위한 Web UI입니다. 스케줄링, 모니터링, 복원을 시각적으로 관리하며 내장 데이터베이스로 외부 의존성이 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Backrest에 접속할 도메인
        readme: |
            # Backrest

            restic 백업 관리를 위한 Web UI. 대시보드에서 스케줄링, 모니터링, 복원을 관리합니다.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — Backrest 관리 화면 열기
            2. **저장소 추가** — restic 백업 저장소 설정
            3. **백업 계획 생성** — 스케줄 백업 및 보존 정책 설정
            4. **작업 모니터링** — 대시보드에서 백업 상태 및 이력 확인
            5. **파일 복원** — 스냅샷 탐색 후 파일 복원

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
    th-TH:
        description: |
            Backrest เป็น Web UI สำหรับจัดการสำรองข้อมูล restic กำหนดเวลา ติดตาม และกู้คืนข้อมูลด้วยฐานข้อมูลในตัว ไม่ต้องพึ่งพาภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Backrest
        readme: |
            # Backrest

            Web UI สำหรับจัดการสำรองข้อมูล restic กำหนดเวลา ติดตาม และกู้คืนข้อมูลจากแดชบอร์ด

            ## สิ่งที่ทำได้หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** — เปิดหน้าจัดการ Backrest
            2. **เพิ่มที่เก็บข้อมูล** — ตั้งค่าที่เก็บสำรองข้อมูล restic
            3. **สร้างแผนสำรองข้อมูล** — ตั้งเวลาสำรองและนโยบายการเก็บรักษา
            4. **ติดตามการทำงาน** — ดูสถานะและประวัติการสำรองข้อมูลในแดชบอร์ด
            5. **กู้คืนไฟล์** — เรียกดูสแนปช็อตและกู้คืนไฟล์

            ## สัญญาอนุญาต

            GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
    zh-CN:
        description: |
            Backrest 是 restic 备份管理的 Web UI。提供可视化界面来调度、监控和恢复备份，内嵌数据库，无需外部依赖。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Backrest 的域名
        readme: |
            # Backrest

            restic 备份管理的 Web UI。通过简洁的仪表板调度、监控和恢复备份，内嵌数据库。

            ## 部署后可以做什么

            1. **打开域名** — 打开 Backrest 管理界面
            2. **添加仓库** — 配置 restic 备份仓库
            3. **创建备份计划** — 设置定时备份与保留策略
            4. **监控操作** — 在仪表板查看备份状态与历史
            5. **恢复文件** — 浏览快照并恢复单个文件或文件夹

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
    zh-TW:
        description: |
            Backrest 是 restic 備份管理的 Web UI。提供視覺化介面來排程、監控和還原備份，內建資料庫，無需外部依賴。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Backrest 的網域
        readme: |
            # Backrest

            restic 備份管理的 Web UI。透過簡潔的儀表板排程、監控和還原備份，內建資料庫。

            ## 部署後可以做什麼

            1. **開啟網域** — 開啟 Backrest 管理介面
            2. **新增儲存庫** — 設定 restic 備份儲存庫
            3. **建立備份計劃** — 設定排程備份與保留策略
            4. **監控操作** — 在儀表板檢視備份狀態與歷史
            5. **還原檔案** — 瀏覽快照並還原個別檔案或資料夾

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/garethgeorge/backrest)
