Skip to content

shared storage #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 84 additions & 12 deletions apps/docs/content/features/backup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,90 @@ Whether a service supports backups is specified on the documentation page of eac

## 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:

### In GUI

Following changes are available in Zerops GUI. Go to the service detail and choose **Backups List & Configuration** section in the left menu.

- do a one-time backup of your data
- change time of your automatic backup
- turn off backing up your data completely
- view all of your backups
- download a backup
- delete a backup
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.

### Managing Backups in GUI

To manage backups, go to the service detail and choose **Backups List & Configuration** section in the left menu.

#### Configure Backup Settings

From this section, you can:
- Do a one-time backup of your data
- Change the frequency of your automatic backups
- Turn off backing up your data completely

<p align="center">
<img
src="/img/screenshots/backup_frequency.png"
alt="Backup frequency configuration"
width="90%"
height="auto"
/>
</p>

#### Backup Frequency Options

You can configure backups with several preset schedules:
- **No backups**: Disable automatic backups (not recommended)
- **Once a day**: Daily backups at the specified time
- **Once a week**: Weekly backups on the specified day and time
- **Once a month**: Monthly backups on the specified day and time
- **Custom CRON**: Define a custom schedule using CRON syntax

For the Custom CRON option, you can use the following syntax:

<table className="w-full">
<thead>
<tr>
<th className="whitespace-nowrap w-fit">Field name</th>
<th className="w-full">Allowed values</th>
</tr>
</thead>
<tbody>
<tr className="text-left">
<td className="w-fit">Minute</td>
<td className="w-fit">0-59</td>
</tr>
<tr className="text-left">
<td className="w-fit">Hour</td>
<td className="w-fit">0-23</td>
</tr>
<tr className="text-left">
<td className="w-fit">Day</td>
<td className="w-fit">1-31</td>
</tr>
<tr className="text-left">
<td className="w-fit">Month</td>
<td className="w-fit">1-12</td>
</tr>
<tr className="text-left">
<td className="w-fit">Week Day</td>
<td className="w-fit">0–7; both 0 and 7 represent Sunday</td>
</tr>
</tbody>
</table>

Examples:
- `0 2 * * *` - Every day at 2:00 AM
- `0 4 * * 0` - Every Sunday at 4:00 AM
- `0 0 1 * *` - First day of every month at midnight

#### View and Manage Backup Files

In the same section, you can:
- View all of your backups
- Download a backup
- Delete a backup

<p align="center">
<img
src="/img/screenshots/list_of_backups.png"
alt="List of backups"
width="90%"
height="auto"
/>
</p>

### Limits

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/mariadb/how-to/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Vertical auto scaling has following default configuration:

<ResourceTable resources={{
ram: {
min: '0.250 GB',
min: '0.25 GB',
}
}} />

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/mariadb/how-to/scale.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Vertical auto scaling has following default configuration:

<ResourceTable resources={{
ram: {
min: '0.250 GB',
min: '0.25 GB',
}
}} />

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/postgresql/how-to/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Vertical auto-scaling has the following default configuration:

<ResourceTable resources={{
ram: {
min: '0.250 GB',
min: '0.25 GB',
}
}} />

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/postgresql/how-to/scale.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Vertical auto scaling has following default configuration:

<ResourceTable resources={{
ram: {
min: '0.250 GB',
min: '0.25 GB',
}
}} />

Expand Down
Loading