Move Borg repo to local backups and remove JuiceFS
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 1s
Nix Format Check / check-format (push) Failing after 1s
Python Lint Check / check-python (push) Failing after 1s

Use /mnt/borg-backups in place of /mnt/object_storage for Borg.

Remove JuiceFS and Redis artifacts (tasks, templates, service configs)
and delete borg-local-sync tooling. Update borg-backup service
ReadWritePaths, remove Plex slow tvshows mount, add system sysctl
performance tunings, and apply minor code and flake.lock updates.
This commit is contained in:
2025-12-11 11:45:54 +01:00
parent 94f9fbb0e2
commit a987adb86b
16 changed files with 165 additions and 810 deletions

View File

@@ -2,10 +2,10 @@
"""Manage Docker services."""
import os
import sys
import subprocess
import argparse
import os
import subprocess
import sys
# Import helper functions
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
@@ -14,7 +14,7 @@ from helpers.functions import printfe, println
# Base directory for Docker services $HOME/services
SERVICES_DIR = os.path.join(os.path.expanduser("~"), ".services")
# Protected services that should never be stopped
PROTECTED_SERVICES = ["juicefs-redis"]
PROTECTED_SERVICES = []
def get_service_path(service_name):

View File

@@ -3,8 +3,8 @@
"""Generate export commands for Borg environment variables."""
import os
import sys
import subprocess
import sys
# Add the bin directory to the path
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
@@ -45,7 +45,7 @@ def main():
# Generate the export commands
exports = [
'export BORG_REPO="/mnt/object_storage/borg-repo"',
'export BORG_REPO="/mnt/borg-backups"',
f'export BORG_PASSPHRASE="{passphrase}"',
'export BORG_CACHE_DIR="/home/menno/.config/borg/cache"',
'export BORG_CONFIG_DIR="/home/menno/.config/borg/config"',