diff --git a/actualbudget/README.md b/actualbudget/README.md deleted file mode 100644 index 37ba160..0000000 --- a/actualbudget/README.md +++ /dev/null @@ -1,18 +0,0 @@ - -# 📊 ActualBudget - -## 🛠️ Environment Setup -`.env` file: - -``` -HOST='' -ACTUAL_HTTPS_KEY='' -ACTUAL_HTTPS_CERT='' -``` - -## Future improvements - -### 🔒 HTTPS Configuration with Tailscale - -References: -- [Tailscale HTTPS Setup Guide](https://tailscale.com/kb/1153/enabling-https) \ No newline at end of file diff --git a/docs/encryption.md b/docs/encryption.md deleted file mode 100644 index a9ed711..0000000 --- a/docs/encryption.md +++ /dev/null @@ -1,3 +0,0 @@ -# Encryption - -https://wilw.dev/notes/volume-encryption \ No newline at end of file diff --git a/docs/mounting-new-volumes.md b/docs/mounting-new-volumes.md deleted file mode 100644 index d5db90f..0000000 --- a/docs/mounting-new-volumes.md +++ /dev/null @@ -1,48 +0,0 @@ -# Mounting new volumes - -1. ssh to storagebox - -``` -ssh -p23 u382808@u382808.your-storagebox.de -``` - -2. Create a new directory - -``` -mkdir photoprism_import_data -``` - -3. Navigate to [Hetzner cloud storage](https://robot.hetzner.com/storage). Create a new sub-account. Allow Samba, SSH, external reachability. - -4. ssh to server - -5. Create new credentials in `/etc/secure_config`: - -``` -username=(storagebox username) -password=(storagebox password) -``` - -6. Make mount directory - -``` -sudo mkdir /mnt/photoprism_import_data -``` - -6. Update /etc/fstab - -``` -//u382808-sub3.your-storagebox.de/u382808-sub3 /mnt/photoprism_import_data cifs seal,vers=3,iocharset=utf8,rw,credentials=/etc/secure_config/.cifs-credentials-photoprism-import.txt,uid=1000,gid=1001,forceuid,forcegid,file_mode=0770,dir_mode=0770 0 0 -``` - -7. Mount - -``` -mount -a -``` - -8. Verify that the storage box is mounted correctly: - -``` -df -h -``` diff --git a/docs/vpn.md b/docs/vpn.md deleted file mode 100644 index 363c49e..0000000 --- a/docs/vpn.md +++ /dev/null @@ -1,8 +0,0 @@ -# VPN - -Tailscale - -https://login.tailscale.com/admin/dns -magicdns -stork-vibe.ts.net -https://tailscale.com/kb/1081/magicdns \ No newline at end of file diff --git a/gitea/README.md b/gitea/README.md deleted file mode 100644 index b4e9ca1..0000000 --- a/gitea/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Gitea - -Set up env - -``` -DB_USER='' -DB_PASSWORD='' -``` \ No newline at end of file diff --git a/nextcloud/README.md b/nextcloud/README.md deleted file mode 100644 index a4d7005..0000000 --- a/nextcloud/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# nextcloud - -To be added \ No newline at end of file diff --git a/photoprism/README.md b/photoprism/README.md index 75d568f..6ac259b 100644 --- a/photoprism/README.md +++ b/photoprism/README.md @@ -1,23 +1,10 @@ # photoprism -## Configuration - -Setup `.env`: - -``` -PHOTOPRISM_DATABASE_PASSWORD='' -`` - ## Troubleshooting Mariadb refuses access to photoprism - https://github.com/photoprism/photoprism/issues/1173 -``` - -``` - ## PhotoSync Server: 100.104.163.2 @@ -27,4 +14,4 @@ Password: Directory: originals Use SSL: off -Setup an Autotransfer trigger in PhotoSync to automatically upload new photos and videos when I attach charger \ No newline at end of file +Setup an Autotransfer trigger in PhotoSync to automatically upload new photos and videos when I attach charger. \ No newline at end of file diff --git a/restic/README.md b/restic/README.md index 27723b1..cabaa3c 100644 --- a/restic/README.md +++ b/restic/README.md @@ -1,37 +1,43 @@ -# restic +# Restic Backup and Restore Guide -## Future improvements -- Set up with Docker secrets -- Add notification +## 📚 Useful Commands -## Useful commands +### 🔄 Restoring Files from a Running Docker Compose Container -Restoring files on a host where the container is already running via Docker Compose: +**1. Identify Latest Snapshot for the Host:** Execute the following command to find the latest snapshot for the current host and note down the ID. ``` # Find the latest snapshot for the current host (note the ID) docker-compose exec app restic snapshots -H -# Restore the given file on the host +``` + +**2. Restore Specific File:** Use the snapshot ID to restore the desired file on the host. + +``` docker-compose exec app restic restore --include /path/to/file ``` -List snapshots +### 📋 Listing Snapshots ``` docker compose run --rm backup snapshots ``` -View files uploaded in Backblaze +### 🌐 Accessing Backblaze Files Locally + +In local, download via `brew install b2-tools` -- In local, download via `brew install b2-tools` -- In server ## Known issues + +### 🚫 Ciphertext Verification Failure ``` Fatal: config or key 2327d55bb96f4cab846b07cc8ffe5906c88c3e657f326a506ccfcf95cd8fd1e7 is damaged: ciphertext verification failed ``` [Related issue](https://github.com/djmaze/resticker/issues/48) +### ⚠️ Pruning and Backup Operations + Do not run both prune and backup at the same time. When initializing, need to run individually. ``` diff --git a/traefik/README.md b/traefik/README.md index c33afb5..7d2c26d 100644 --- a/traefik/README.md +++ b/traefik/README.md @@ -1,5 +1,7 @@ # Traefik +## Create Docker network + ``` docker network create \ --driver=bridge \ @@ -7,5 +9,3 @@ docker network create \ --internal=false \ traefik_network ``` - -Add test 1wehbesg \ No newline at end of file