I have two portable hard drives for backups. The older one is 1 terabyte and the newer one is 2 terabyte. At least one stays in my locker at work, and I swap them each day to keep a relatively up to date off-site backup. Which ever one I bring home gets backed up to after my computer use of the day and before running updates before going to bed. Both drives are LUKS encrypted containing an ext4 filesystem. A simple script I wrote is used to generate a list of my installed packages and then backup to the drive with rsync once I mount it. The encryption keys for the drives get stored automatically in Gnome Keyring so mounting is a simple one click operation.
My main PC is the central hub of my digital storage. Anything important gets put onto it and makes its way into the backups.
Here's my lsblk and df -h(the four blank sd* drives are from my multi-card reader):
Code: Select all
~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part /home
sdb 8:16 0 232.9G 0 disk
├─sdb1 8:17 0 1G 0 part /boot/efi
├─sdb2 8:18 0 8G 0 part [SWAP]
└─sdb3 8:19 0 223.9G 0 part /
sdc 8:32 1 0B 0 disk
sdd 8:48 1 0B 0 disk
sde 8:64 1 0B 0 disk
sdf 8:80 1 0B 0 disk
sdg 8:96 0 931.5G 0 disk
└─sdg1 8:97 0 931.5G 0 part
└─luks-9e2190b8-af83-48a0-9bd0-de969b1f0e4c
254:0 0 931.5G 0 crypt /run/media/<redacted>/BackupDrive
sr0 11:0 1 1024M 0 rom
~$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 28M 16G 1% /dev/shm
tmpfs 16G 1.3M 16G 1% /run
/dev/sdb3 220G 35G 174G 17% /
efivarfs 128K 88K 36K 72% /sys/firmware/efi/efivars
cgroup 16G 0 16G 0% /sys/fs/cgroup
/dev/sdb1 1022M 152K 1022M 1% /boot/efi
/dev/sda1 1.8T 464G 1.3T 27% /home
tmpfs 16G 1.9M 16G 1% /tmp
tmpfs 3.2G 9.2M 3.2G 1% /run/user/1000
/dev/dm-0 916G 464G 406G 54% /run/media/<redacted>/BackupDrive