nixos/scripts/migrate-gitea-to-forgejo.env.example

19 lines
618 B
Text

# Gitea to Forgejo Migration - Environment Configuration
#
# Copy this file to migrate-gitea-to-forgejo.env and adjust values.
# Then run: ./scripts/migrate-gitea-to-forgejo.sh
#
# IMPORTANT: Ensure Gitea is stopped before running migration.
# Source (Gitea) - READ ONLY, never modified
# This is the original Gitea data directory
SOURCE_DATA=/var/lib/gitea
# Target (Forgejo) - where data will be copied
# Must be on a filesystem with enough space (1.2x source size)
TARGET_DATA=/var/lib/forgejo
# User/group for target files
# These should match your Forgejo service user
TARGET_USER=forgejo
TARGET_GROUP=forgejo