Skip to content

Instantly share code, notes, and snippets.

View MahdadGhasemian's full-sized avatar

Mahdad Ghasemian MahdadGhasemian

View GitHub Profile
@MahdadGhasemian
MahdadGhasemian / DetermineAvailableDiskSpaceOnHetznerVolume.md
Last active July 22, 2024 08:33
Determine Available Disk Space on Hetzner Volume (K3S)

This guide will help you determine the available disk space on a Hetzner volume assigned to a K3S node.

1- Find Volume ID

  • Using hcloud CLI:

Run the following command to list your volumes:

hcloud volume list
@MahdadGhasemian
MahdadGhasemian / longhorn_restore_guide.md
Last active July 22, 2024 08:28
Steps to restore backed-up data using Longhorn, with a PostgreSQL example.

Restore Backup with Longhorn

Instructions for restoring data using Longhorn backup and restore features.

Restore Backup

Example: Restoring PostgreSQL Data

  1. Scale Down the PostgreSQL StatefulSet: