Saturday, 26th October 2024

Getting Docker on Arch Linux My old Gist is still relevant: https://gist.github.com/bartprokop/15b07ec2502c59cf8020b1541ad57d5c but be comfortable to switch to volumes for data persistence. pacman -S docker systemctl start docker.service docker info I will need genfstab - https://wiki.archlinux.org/title/Genfstab # mount root BTRFS volume and create Docker dedicated subvolume mkdir /mnt/sda2 mount /dev/sda2 /mnt/sda2 cd /mnt/sda2 btrfs subvolume create svols/docker pacman -S arch-install-scripts mkdir /var/lib/docker mount -o subvol=/svols/docker /dev/sda2 /var/lib/docker genfstab / /dev/sda2 /var/lib/docker btrfs rw,noatime,ssd,discard=async,space_cache=v2,subvol=/svols/docker 0 0 # Reboot and ensure all filesystems are mounted as expected....

October 26, 2024 · 4 min · Bart Prokop

Kopia remote backup

I lease Kimsufi dedicated server. It has large enough HDD to use it as offsite backup. https://kopia.io/ is the new backup tool, I want to try out. Prerequisites Remote server I want a new kopia regular user account that will allow SFTP access and will be locked otherwise. The scponly pseudo-shell can be used to achieve that. sudo pacman -S scponly sudo useradd -m -s /usr/bin/scponly kopia sudo mkdir /home/kopia/.ssh sudo chown kopia:kopia /home/kopia/....

December 27, 2022 · 2 min · Bart Prokop