From 268b330ed1164f41916fd8784f6d86b904dc528a Mon Sep 17 00:00:00 2001 From: Devdock Date: Thu, 30 Jan 2025 05:46:25 +0530 Subject: [PATCH] chore: added missing sections --- apps/docs/content/features/backup.mdx | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/apps/docs/content/features/backup.mdx b/apps/docs/content/features/backup.mdx index f3e3c562..5f83eda3 100644 --- a/apps/docs/content/features/backup.mdx +++ b/apps/docs/content/features/backup.mdx @@ -6,6 +6,26 @@ Zerops provides data backup for certain services. Whether a service supports backups is specified on the documentation page of each service. Technical details about backup implementation for each service are also described on their respective service pages. +## Supported Services and Formats + +Zerops supports backups for these services with the following formats: + +- **MariaDB**: `.xb.zip` (using mariabackup with xbstream format) +- **PostgreSQL**: `.dump` (using pg_dump with custom format) +- **Qdrant**: `snapshot` +- **NATS**: `.tar.gz` +- **Elasticsearch**: `.gz` +- **Meilisearch**: `.dump` +- **Shared Storage**: `.tar.gz` + +## Backup File Naming + +Backup files follow a consistent naming convention: +`backup-{serviceName}-{dateTime}.{extension}` + +For example: +`backup-db-2024-11-04-120007.dump` + ## Frequency and volume By default, your data is backed up automatically **every day** between 00:00:00 UTC and 01:00:00 UTC, unless you update your settings: @@ -21,6 +41,16 @@ Following changes are available in Zerops GUI. Go to the service detail and choo - download a backup - delete a backup +### Using CLI + +You can also manage backups programmatically using the Zerops CLI: + +```bash +zcli backup serviceName +``` + +This command triggers a backup for the specified service and waits until the backup is either completed or fails. + ### Limits - Each backup is stored for a maximum period of **1 month**