From 3bdacc82e60e128d494fbec2de495cf5eb54c377 Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Thu, 6 May 2021 13:53:02 +0900 Subject: [PATCH] chore: update article --- source/_posts/2021/installing-arch-linux.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/_posts/2021/installing-arch-linux.md b/source/_posts/2021/installing-arch-linux.md index 5e7f1a9..2574fc2 100644 --- a/source/_posts/2021/installing-arch-linux.md +++ b/source/_posts/2021/installing-arch-linux.md @@ -263,9 +263,11 @@ nvidia-smi # test runtime ## docker +https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/arch-overview.html + ```bash pacman -S docker docker-compose -yay -S nvidia-container-runtime-bin +yay -S nvidia-container-runtime ``` ```json /etc/docker/daemon.json @@ -427,7 +429,7 @@ sleep 5 # # Script configuration # -export BORG_PASSPHRASE="" +export BORG_PASSPHRASE="" MOUNTPOINT=/mnt/backup TARGET=$MOUNTPOINT/borg @@ -473,7 +475,7 @@ borg create $BORG_OPTS \ /mnt/data /mnt/ftl echo "Start pruning" -BORG_PRUNE_OPTS="--list --stats --keep-daily 7 --keep-weekly 5 --keep-monthly 3" +BORG_PRUNE_OPTS="--list --stats --keep-daily 7 --keep-weekly 3 --keep-monthly 3" borg prune $BORG_PRUNE_OPTS --prefix '{hostname}-system-' $TARGET borg prune $BORG_PRUNE_OPTS --prefix '{hostname}-data-' $TARGET