Обновить restic_backup.md

This commit is contained in:
2026-11-24 18:47:38 +00:00
parent 1260594190
commit 591ad067ff
+2 -2
View File
@@ -215,7 +215,7 @@ export RESTIC_REPOSITORY="rest:http://restic:PASS@d.1concept.ru:8000/vds2.botboo
export RESTIC_PASSWORD_FILE="/root/.restic_password"
# 2. Директория для временных дампов
DUMP_DIR="/tmp/restic_dumps"
DUMP_DIR="/restic/restic_dumps"
mkdir -p "$DUMP_DIR"
DATE_TAG="$(date +%F)"
@@ -256,7 +256,7 @@ restic backup \
"$DUMP_DIR" \
--exclude="**/node_modules" \
--exclude="**/cache" \
--exclude="**/tmp"
--exclude="**/tmp" \
--exclude="**/.cache"
echo "🧹 Очистка старых снапшотов и мусора..."