It’s time for me to systematize my backup strategy for my primary personal workstation. I’d like some guidance from this community about a reasonable approach. I apologize if this is inappropriate for this forum, and if so then I invite recommendations for more appropriate sources.
I appreciate your attention!
My plan is to use AWS S3 for offsite storage. I have a reasonable internet connection with the following performance (according to speedtest
):
Download
: 971 Mbps
Upload
: 87 Mbps
UPDATE: I just looked carefully at the upload rate, and realize that if my numbers are correct, it translates to 25 hours per TB – about a week for the entire ~6.5 TB of my system.
I anticipate using the aws cli tool for uploading and downloading. That tool offers both “sync” and “cp” operations to and from arbitrary s3 buckets.
This is for disaster recovery – I don’t anticipate needing to restore specific files or directories. I want to be able to, for example, recover my world after a failed dnf update
.
Here are some specific questions I have:
- Does it makes sense to backup individual disks?
- What, if any, special attention is needed to backup and restore things like
/boot
,/boot/efi
,[SWAP]
, and so on? - Is it safe to assume that I do not need or want to backup
[SWAP]
? - What is a reasonable backup frequency? How is this affected by the choice I make in item 1?
Here is the local storage I need to back up (according to lsblk
):
Disks (all SSDs):
sda
: 931.5 G
sdb
: 1.8 T
sdc
: 3.7 T
Here are the partitions and their types and mountpoints (where applicable) on sda
.
sda1
: ntfs, 450 M (“Recovery”)
sda2
: vfat, 99 M, /boot/efi
sda3
: 16 M (“Microsoft reserved partition”)
sda4
: ntfs, 100.4 G (“Basic data partition”)
sda5
: xfs, 1 G, /boot
sda6
: LVM2_member, 829.6 G
UPDATE: I used blkid
to establish that the several unmounted partitions of sda
are leftover from the transition to Rocky Linux from the original state as delivered by the system supplier. As delivered, this was Windows 10 Pro system. I’ve added the types and labels to the above information.
Here are the lvm
partitions and mountpoints for sda6
:
r1-root
: 70 G, /
r1-swap
: 15.7 G, [SWAP]
r1-home
: 743.9 G, /home
Here are the partitions and mountpoints for sdb
and sdc
:
sdb1
: xfs, 1.8 T, /mnt/internalhd0
sdc1
: xfs, 3.7 T, /mnt/internalhd1