updated backup script to include vendor directory

This commit is contained in:
Mark Gregory
2026-06-25 16:13:52 +01:00
parent ecff30a0af
commit d0edc5e8b6
+1 -3
View File
@@ -22,15 +22,13 @@ echo "Copying clean source..."
rsync -a \
--delete \
--exclude=".git/" \
--exclude="vendor/" \
--exclude="node_modules/" \
--exclude="storage/" \
--exclude="bootstrap/cache/" \
--exclude="provision/" \
--exclude="provisions/" \
"$SOURCE/" \
"$WORK_DIR/"
# --exclude="vendor/" \
echo "Recreating required empty Laravel directories..."
mkdir -p "$WORK_DIR/storage" "$WORK_DIR/bootstrap/cache"
touch "$WORK_DIR/storage/.gitkeep" "$WORK_DIR/bootstrap/cache/.gitkeep"