diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 23:24:57 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 23:24:57 +0200 |
commit | 664d26949e40574c5c601dec908f22dc4245a964 (patch) | |
tree | 3e2f8e52143546a2a3d71a8d35b1b8f9b606166a | |
parent | style(modules/serverphone): Correct syntax and format (diff) | |
download | nixos-config-664d26949e40574c5c601dec908f22dc4245a964.tar.gz nixos-config-664d26949e40574c5c601dec908f22dc4245a964.zip |
style(notes/backup_disk): Format
-rw-r--r-- | notes/backup_disk.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/notes/backup_disk.md b/notes/backup_disk.md index d6c0f0cb..363bae11 100644 --- a/notes/backup_disk.md +++ b/notes/backup_disk.md @@ -1,5 +1,7 @@ # How to create a backup disk (for `soispha.services.backup`) + ## Find the disk + ```bash lsblk -o "NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID" # or @@ -7,6 +9,7 @@ sudo fdisk -l ``` ## Check it + ```bash sudo smartctl --test=short /dev/disk # or better: @@ -17,7 +20,9 @@ sudo watch --differences --interval 60 smartctl --log=selftest /dev/disk ``` ## Add it + ``` sudo mkfs.btrfs /dev/disk --label backup ``` + And change the `backupUuid` to the uuid of the new disk. |