Setup a backup infrastructure

This commit is contained in:
Ohad Livne 2025-06-04 22:44:52 +03:00
parent c15d9f5ebf
commit 4f268ea778
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
3 changed files with 10 additions and 0 deletions

View file

@ -2,6 +2,7 @@
DEB_PKGS="\
audacity \
borgbackup \
direnv \
docker.io \
emacs-mozc \

View file

@ -0,0 +1,7 @@
#! /usr/bin/sh
sudo mkdir -p "${BORG_REPO}"
sudo chown "${USER}":"${USER}" "${BORG_REPO}"
sudo chmod 700 "${BORG_REPO}"
borg init --encryption=repokey