Added Faq

This commit is contained in:
Arunavo Ray
2025-11-10 10:49:34 +05:30
parent ff44f0e537
commit 6531a9325d
7 changed files with 459 additions and 68 deletions

View File

@@ -9,8 +9,8 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/mdx": "^4.3.7", "@astrojs/mdx": "^4.3.10",
"@astrojs/react": "^4.4.0", "@astrojs/react": "^4.4.2",
"@radix-ui/react-icons": "^1.3.2", "@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-slot": "^1.2.3", "@radix-ui/react-slot": "^1.2.3",
"@splinetool/react-spline": "^4.1.0", "@splinetool/react-spline": "^4.1.0",
@@ -19,7 +19,7 @@
"@types/canvas-confetti": "^1.9.0", "@types/canvas-confetti": "^1.9.0",
"@types/react": "^19.2.2", "@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2", "@types/react-dom": "^19.2.2",
"astro": "^5.14.8", "astro": "^5.15.4",
"canvas-confetti": "^1.9.3", "canvas-confetti": "^1.9.3",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",

70
www/pnpm-lock.yaml generated
View File

@@ -9,11 +9,11 @@ importers:
.: .:
dependencies: dependencies:
'@astrojs/mdx': '@astrojs/mdx':
specifier: ^4.3.7 specifier: ^4.3.10
version: 4.3.7(astro@5.14.8(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3)) version: 4.3.10(astro@5.15.4(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3))
'@astrojs/react': '@astrojs/react':
specifier: ^4.4.0 specifier: ^4.4.2
version: 4.4.0(@types/node@24.7.1)(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) version: 4.4.2(@types/node@24.7.1)(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
'@radix-ui/react-icons': '@radix-ui/react-icons':
specifier: ^1.3.2 specifier: ^1.3.2
version: 1.3.2(react@19.2.0) version: 1.3.2(react@19.2.0)
@@ -28,7 +28,7 @@ importers:
version: 1.10.85 version: 1.10.85
'@tailwindcss/vite': '@tailwindcss/vite':
specifier: ^4.1.15 specifier: ^4.1.15
version: 4.1.15(vite@6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)) version: 4.1.15(vite@6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2))
'@types/canvas-confetti': '@types/canvas-confetti':
specifier: ^1.9.0 specifier: ^1.9.0
version: 1.9.0 version: 1.9.0
@@ -39,8 +39,8 @@ importers:
specifier: ^19.2.2 specifier: ^19.2.2
version: 19.2.2(@types/react@19.2.2) version: 19.2.2(@types/react@19.2.2)
astro: astro:
specifier: ^5.14.8 specifier: ^5.15.4
version: 5.14.8(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3) version: 5.15.4(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3)
canvas-confetti: canvas-confetti:
specifier: ^1.9.3 specifier: ^1.9.3
version: 1.9.3 version: 1.9.3
@@ -85,8 +85,8 @@ packages:
'@astrojs/markdown-remark@6.3.8': '@astrojs/markdown-remark@6.3.8':
resolution: {integrity: sha512-uFNyFWadnULWK2cOw4n0hLKeu+xaVWeuECdP10cQ3K2fkybtTlhb7J7TcScdjmS8Yps7oje9S/ehYMfZrhrgCg==} resolution: {integrity: sha512-uFNyFWadnULWK2cOw4n0hLKeu+xaVWeuECdP10cQ3K2fkybtTlhb7J7TcScdjmS8Yps7oje9S/ehYMfZrhrgCg==}
'@astrojs/mdx@4.3.7': '@astrojs/mdx@4.3.10':
resolution: {integrity: sha512-5SRmvMyT/UMWaU2eoD+htnXtE2mUZZEH2K/nEzhuEy+iCsOSuS/DUry59WuKUJRQETi1mgJFdNR4dZLJHYVuRA==} resolution: {integrity: sha512-2T5+XIr7PMqMeXhRofXY5NlY4lA0Km+wkfsqmr9lq5KXUHpGlKPQ9dlDZJP9E/CtljJyEBNS17zq66LrIJ1tiQ==}
engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0}
peerDependencies: peerDependencies:
astro: ^5.0.0 astro: ^5.0.0
@@ -95,8 +95,8 @@ packages:
resolution: {integrity: sha512-q8VwfU/fDZNoDOf+r7jUnMC2//H2l0TuQ6FkGJL8vD8nw/q5KiL3DS1KKBI3QhI9UQhpJ5dc7AtqfbXWuOgLCQ==} resolution: {integrity: sha512-q8VwfU/fDZNoDOf+r7jUnMC2//H2l0TuQ6FkGJL8vD8nw/q5KiL3DS1KKBI3QhI9UQhpJ5dc7AtqfbXWuOgLCQ==}
engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0}
'@astrojs/react@4.4.0': '@astrojs/react@4.4.2':
resolution: {integrity: sha512-RzblkVImAFdV1C0AWsSWzS70Z0FMtW2p0XXkNYu3QePfyVJta3JIy8m8jY8271etaCZtpFjsE2UaiHGZIBm6nw==} resolution: {integrity: sha512-1tl95bpGfuaDMDn8O3x/5Dxii1HPvzjvpL2YTuqOOrQehs60I2DKiDgh1jrKc7G8lv+LQT5H15V6QONQ+9waeQ==}
engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0}
peerDependencies: peerDependencies:
'@types/react': ^17.0.50 || ^18.0.21 || ^19.0.0 '@types/react': ^17.0.50 || ^18.0.21 || ^19.0.0
@@ -886,8 +886,8 @@ packages:
resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==} resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==}
hasBin: true hasBin: true
astro@5.14.8: astro@5.15.4:
resolution: {integrity: sha512-nKqCLs7BFvGQL9QWQOUqxHhlHtV0UMLXz1ANJygozvjcexBWS7FYkWI2LzRPMNYmbW4msIWNWnX2RvLdvI5Cnw==} resolution: {integrity: sha512-0g/68hLHEJZF2nYUcZM5O0kOnzCsCIf8eA9+0jfBAxp4ycujrIHRgIOdZCFKL9GoTsn8AypWbziypH5aEIF+aA==}
engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'}
hasBin: true hasBin: true
@@ -1281,10 +1281,6 @@ packages:
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
engines: {node: '>=6'} engines: {node: '>=6'}
kleur@4.1.5:
resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}
engines: {node: '>=6'}
lightningcss-android-arm64@1.30.2: lightningcss-android-arm64@1.30.2:
resolution: {integrity: sha512-BH9sEdOCahSgmkVhBLeU7Hc9DWeZ1Eb6wNS6Da8igvUwAe0sqROHddIlvU06q3WyXVEOYDZ6ykBZQnjTbmo4+A==} resolution: {integrity: sha512-BH9sEdOCahSgmkVhBLeU7Hc9DWeZ1Eb6wNS6Da8igvUwAe0sqROHddIlvU06q3WyXVEOYDZ6ykBZQnjTbmo4+A==}
engines: {node: '>= 12.0.0'} engines: {node: '>= 12.0.0'}
@@ -1996,8 +1992,8 @@ packages:
vfile@6.0.3: vfile@6.0.3:
resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}
vite@6.3.6: vite@6.4.1:
resolution: {integrity: sha512-0msEVHJEScQbhkbVTb/4iHZdJ6SXp/AvxL2sjwYQFfBqleHtnCqv1J3sa9zbWz/6kW1m9Tfzn92vW+kZ1WV6QA==} resolution: {integrity: sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@@ -2135,16 +2131,16 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@astrojs/mdx@4.3.7(astro@5.14.8(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3))': '@astrojs/mdx@4.3.10(astro@5.15.4(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3))':
dependencies: dependencies:
'@astrojs/markdown-remark': 6.3.8 '@astrojs/markdown-remark': 6.3.8
'@mdx-js/mdx': 3.1.1 '@mdx-js/mdx': 3.1.1
acorn: 8.15.0 acorn: 8.15.0
astro: 5.14.8(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3) astro: 5.15.4(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3)
es-module-lexer: 1.7.0 es-module-lexer: 1.7.0
estree-util-visit: 2.0.0 estree-util-visit: 2.0.0
hast-util-to-html: 9.0.5 hast-util-to-html: 9.0.5
kleur: 4.1.5 picocolors: 1.1.1
rehype-raw: 7.0.0 rehype-raw: 7.0.0
remark-gfm: 4.0.1 remark-gfm: 4.0.1
remark-smartypants: 3.0.2 remark-smartypants: 3.0.2
@@ -2158,15 +2154,15 @@ snapshots:
dependencies: dependencies:
prismjs: 1.30.0 prismjs: 1.30.0
'@astrojs/react@4.4.0(@types/node@24.7.1)(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)': '@astrojs/react@4.4.2(@types/node@24.7.1)(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)':
dependencies: dependencies:
'@types/react': 19.2.2 '@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/react@19.2.2) '@types/react-dom': 19.2.2(@types/react@19.2.2)
'@vitejs/plugin-react': 4.7.0(vite@6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)) '@vitejs/plugin-react': 4.7.0(vite@6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2))
react: 19.2.0 react: 19.2.0
react-dom: 19.2.0(react@19.2.0) react-dom: 19.2.0(react@19.2.0)
ultrahtml: 1.6.0 ultrahtml: 1.6.0
vite: 6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2) vite: 6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- jiti - jiti
@@ -2738,12 +2734,12 @@ snapshots:
'@tailwindcss/oxide-win32-arm64-msvc': 4.1.15 '@tailwindcss/oxide-win32-arm64-msvc': 4.1.15
'@tailwindcss/oxide-win32-x64-msvc': 4.1.15 '@tailwindcss/oxide-win32-x64-msvc': 4.1.15
'@tailwindcss/vite@4.1.15(vite@6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2))': '@tailwindcss/vite@4.1.15(vite@6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2))':
dependencies: dependencies:
'@tailwindcss/node': 4.1.15 '@tailwindcss/node': 4.1.15
'@tailwindcss/oxide': 4.1.15 '@tailwindcss/oxide': 4.1.15
tailwindcss: 4.1.15 tailwindcss: 4.1.15
vite: 6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2) vite: 6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)
'@types/babel__core@7.20.5': '@types/babel__core@7.20.5':
dependencies: dependencies:
@@ -2816,7 +2812,7 @@ snapshots:
'@ungap/structured-clone@1.3.0': {} '@ungap/structured-clone@1.3.0': {}
'@vitejs/plugin-react@4.7.0(vite@6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2))': '@vitejs/plugin-react@4.7.0(vite@6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2))':
dependencies: dependencies:
'@babel/core': 7.28.0 '@babel/core': 7.28.0
'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.0) '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.0)
@@ -2824,7 +2820,7 @@ snapshots:
'@rolldown/pluginutils': 1.0.0-beta.27 '@rolldown/pluginutils': 1.0.0-beta.27
'@types/babel__core': 7.20.5 '@types/babel__core': 7.20.5
react-refresh: 0.17.0 react-refresh: 0.17.0
vite: 6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2) vite: 6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@@ -2857,7 +2853,7 @@ snapshots:
astring@1.9.0: {} astring@1.9.0: {}
astro@5.14.8(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3): astro@5.15.4(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.52.4)(typescript@5.8.3):
dependencies: dependencies:
'@astrojs/compiler': 2.13.0 '@astrojs/compiler': 2.13.0
'@astrojs/internal-helpers': 0.7.4 '@astrojs/internal-helpers': 0.7.4
@@ -2891,7 +2887,6 @@ snapshots:
http-cache-semantics: 4.2.0 http-cache-semantics: 4.2.0
import-meta-resolve: 4.2.0 import-meta-resolve: 4.2.0
js-yaml: 4.1.0 js-yaml: 4.1.0
kleur: 4.1.5
magic-string: 0.30.19 magic-string: 0.30.19
magicast: 0.3.5 magicast: 0.3.5
mrmime: 2.0.1 mrmime: 2.0.1
@@ -2899,6 +2894,7 @@ snapshots:
p-limit: 6.2.0 p-limit: 6.2.0
p-queue: 8.1.1 p-queue: 8.1.1
package-manager-detector: 1.4.0 package-manager-detector: 1.4.0
picocolors: 1.1.1
picomatch: 4.0.3 picomatch: 4.0.3
prompts: 2.4.2 prompts: 2.4.2
rehype: 13.0.2 rehype: 13.0.2
@@ -2913,8 +2909,8 @@ snapshots:
unist-util-visit: 5.0.0 unist-util-visit: 5.0.0
unstorage: 1.17.1 unstorage: 1.17.1
vfile: 6.0.3 vfile: 6.0.3
vite: 6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2) vite: 6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)
vitefu: 1.1.1(vite@6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)) vitefu: 1.1.1(vite@6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2))
xxhash-wasm: 1.1.0 xxhash-wasm: 1.1.0
yargs-parser: 21.1.1 yargs-parser: 21.1.1
yocto-spinner: 0.2.3 yocto-spinner: 0.2.3
@@ -3411,8 +3407,6 @@ snapshots:
kleur@3.0.3: {} kleur@3.0.3: {}
kleur@4.1.5: {}
lightningcss-android-arm64@1.30.2: lightningcss-android-arm64@1.30.2:
optional: true optional: true
@@ -4452,7 +4446,7 @@ snapshots:
'@types/unist': 3.0.3 '@types/unist': 3.0.3
vfile-message: 4.0.3 vfile-message: 4.0.3
vite@6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2): vite@6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2):
dependencies: dependencies:
esbuild: 0.25.10 esbuild: 0.25.10
fdir: 6.5.0(picomatch@4.0.3) fdir: 6.5.0(picomatch@4.0.3)
@@ -4466,9 +4460,9 @@ snapshots:
jiti: 2.6.1 jiti: 2.6.1
lightningcss: 1.30.2 lightningcss: 1.30.2
vitefu@1.1.1(vite@6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)): vitefu@1.1.1(vite@6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)):
optionalDependencies: optionalDependencies:
vite: 6.3.6(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2) vite: 6.4.1(@types/node@24.7.1)(jiti@2.6.1)(lightningcss@1.30.2)
web-namespaces@2.0.1: {} web-namespaces@2.0.1: {}

View File

@@ -0,0 +1,138 @@
---
import { HelpCircle } from 'lucide-react';
const faqs = [
{
question: "What is Gitea Mirror and why do I need it?",
answer: "Gitea Mirror is a self-hosted tool that automatically backs up your GitHub repositories to your own Gitea server. You need it because GitHub outages, account issues, or policy changes can lock you out of your code. With Gitea Mirror, you own your backups completely—no monthly fees, no third-party storage, just full control over your repository history, issues, pull requests, and releases."
},
{
question: "How is this different from BackHub or Rewind?",
answer: "BackHub and Rewind are cloud services that cost $600-2400/year and store your code on their servers. Gitea Mirror is free, open source, and runs on your own infrastructure. You pay $0/month and have complete data ownership. The tradeoff: you manage the infrastructure yourself, while cloud services are fully managed."
},
{
question: "Does Gitea Mirror backup issues, pull requests, and releases?",
answer: "Yes! Enable 'Mirror metadata' in settings to backup issues with comments, labels, and assignees. Pull requests are mirrored as enriched issues with full metadata, commit history, and file changes (Gitea's API doesn't support creating PRs from external sources). Releases, including binary assets, and wiki pages are also backed up when enabled."
},
{
question: "How long does setup take?",
answer: "15-20 minutes with Docker. Run 'docker compose -f docker-compose.alt.yml up -d', visit localhost:4321, create an account, paste your GitHub and Gitea tokens, select repos to backup—done. The Proxmox LXC one-liner is even faster. No complex configuration files or manual scripting required."
},
{
question: "What happens if GitHub goes down or I lose access?",
answer: "You can immediately clone from your Gitea server instead. Your local backups include full commit history, branches, tags, issues, releases—everything. Recovery time is typically under 2 minutes (just point git to your Gitea URL). This is why it's called disaster recovery, not just mirroring."
},
{
question: "How often does it sync with GitHub?",
answer: "Configurable from every 15 minutes to once per day (or longer). Most users choose 1-8 hours based on how fresh they want backups. The scheduler auto-discovers new repos and respects per-repo intervals, unlike Gitea's built-in mirroring which defaults to 24 hours."
},
{
question: "Can I backup starred repositories?",
answer: "Yes! Gitea Mirror can automatically backup all your GitHub stars into a dedicated Gitea organization. Perfect for preserving important open source projects before they disappear (projects get deleted, renamed, or removed all the time)."
},
{
question: "What are the system requirements?",
answer: "Minimal: 2 vCPU, 2GB RAM, 5-10GB storage (grows with repo count). Runs on Docker, Kubernetes, Proxmox LXC, or bare metal. Works on AMD64 and ARM64 (Raspberry Pi compatible). A small homelab server or cheap VPS is plenty for personal use."
},
{
question: "Is my GitHub token stored securely?",
answer: "Yes. All GitHub and Gitea tokens are encrypted at rest using AES-256-GCM. Even if someone gains access to the SQLite database, they can't read your tokens without the encryption key. Use the ENCRYPTION_SECRET environment variable for additional security."
},
{
question: "Can I backup private repositories?",
answer: "Absolutely. Just use a GitHub personal access token (classic) with 'repo' scope enabled. Gitea Mirror will backup all repositories you have access to—public, private, and internal."
},
{
question: "What if I have multiple GitHub organizations?",
answer: "Gitea Mirror supports multiple organizations with flexible destination strategies: preserve GitHub structure in Gitea, consolidate into a single org, or use mixed mode (personal repos in one place, org repos preserve structure). Edit individual organization destinations via the dashboard."
},
{
question: "Does it support Git LFS (large files)?",
answer: "Yes! Enable 'Mirror LFS' in settings. Make sure your Gitea server has LFS enabled (LFS_START_SERVER = true) and Git v2.1.2+. Large assets like videos, datasets, and binaries are backed up alongside your code."
},
{
question: "How do I restore from backup?",
answer: "Simple: 'git clone https://your-gitea-server/owner/repo.git'. Your full history, branches, and tags are there. For issues/PRs/releases, they're already in Gitea's web interface. For complete disaster recovery, restore the data volume to a fresh Gitea Mirror instance—everything (config, sync history) is preserved."
},
{
question: "Can I run this alongside a cloud backup service?",
answer: "Yes! Many users run Gitea Mirror for local/warm backups while using cloud services for offsite redundancy. Best of both worlds: instant local recovery and geographic disaster protection. Totally compatible."
},
{
question: "Is this enterprise-ready with SLA guarantees?",
answer: "No. Gitea Mirror is a community open source project—no 24/7 support, no compliance certifications, no guaranteed uptime. It's perfect for homelabs, indie developers, and small teams comfortable with self-hosting. If you need enterprise SLAs, consider commercial solutions like BackHub or GitHub Enterprise Backup."
}
];
// Generate FAQ schema for SEO
const faqSchema = {
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": faqs.map(faq => ({
"@type": "Question",
"name": faq.question,
"acceptedAnswer": {
"@type": "Answer",
"text": faq.answer
}
}))
};
---
<section id="faq" class="py-16 sm:py-24 px-4 sm:px-6 lg:px-8 bg-muted/30">
<div class="max-w-4xl mx-auto">
<div class="text-center mb-12 sm:mb-16">
<span class="inline-flex items-center gap-2 rounded-full border px-3 py-1 text-xs font-semibold uppercase tracking-widest text-muted-foreground mb-4">
<HelpCircle className="w-4 h-4" />
FAQ
</span>
<h2 class="text-2xl sm:text-3xl md:text-4xl font-bold tracking-tight">
Common Questions About GitHub Backups
</h2>
<p class="mt-4 text-base sm:text-lg text-muted-foreground">
Everything you need to know about self-hosted repository backups with Gitea Mirror.
</p>
</div>
<div class="space-y-4">
{faqs.map((faq, index) => (
<details class="group rounded-xl border bg-background/80 p-6 shadow-sm transition-all hover:shadow-md open:ring-1 open:ring-primary/20">
<summary class="flex cursor-pointer items-start justify-between gap-4 font-semibold text-foreground list-none">
<span class="text-left">{faq.question}</span>
<svg
class="h-5 w-5 flex-shrink-0 text-muted-foreground transition-transform group-open:rotate-180"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7" />
</svg>
</summary>
<p class="mt-4 text-sm sm:text-base text-muted-foreground leading-relaxed">
{faq.answer}
</p>
</details>
))}
</div>
<div class="mt-12 text-center">
<p class="text-sm text-muted-foreground">
Still have questions?
<a href="https://github.com/RayLabsHQ/gitea-mirror/discussions" class="text-primary hover:text-primary/80 font-medium transition-colors ml-1">
Ask in our GitHub Discussions
</a>
</p>
</div>
</div>
</section>
<!-- FAQ Schema for SEO -->
<script type="application/ld+json" set:html={JSON.stringify(faqSchema)} />
<style>
details summary::-webkit-details-marker {
display: none;
}
</style>

View File

@@ -1,5 +1,5 @@
import { Button } from "./ui/button"; import { Button } from "./ui/button";
import { ArrowRight, Shield, RefreshCw } from "lucide-react"; import { ArrowRight, Shield, RefreshCw, HardDrive } from "lucide-react";
import { GitHubLogoIcon } from "@radix-ui/react-icons"; import { GitHubLogoIcon } from "@radix-ui/react-icons";
import React, { Suspense } from 'react'; import React, { Suspense } from 'react';
@@ -39,31 +39,30 @@ export function Hero() {
<div className="clip-avoid w-full h-[16rem] md:h-[20rem] lg:h-[12rem] 2xl:h-[16rem]" aria-hidden="true"></div> <div className="clip-avoid w-full h-[16rem] md:h-[20rem] lg:h-[12rem] 2xl:h-[16rem]" aria-hidden="true"></div>
<div className="max-w-7xl mx-auto pb-20 lg:pb-60 xl:pb-24 text-center w-full"> <div className="max-w-7xl mx-auto pb-20 lg:pb-60 xl:pb-24 text-center w-full">
<h1 className="pt-10 2xl:pt-20 text-3xl xs:text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight leading-tight"> <h1 className="pt-10 2xl:pt-20 text-3xl xs:text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight leading-tight">
<span className="text-foreground">Keep Your Code</span> <span className="text-foreground">Backup Your GitHub</span>
<br /> <br />
<span className="text-gradient from-primary via-accent to-accent-purple"> <span className="text-gradient from-primary via-accent to-accent-purple">
Safe & Synced To Self-Hosted Gitea
</span> </span>
</h1> </h1>
<p className="mt-4 sm:mt-6 text-base sm:text-lg md:text-xl text-muted-foreground max-w-3xl mx-auto px-4 z-20"> <p className="mt-4 sm:mt-6 text-base sm:text-lg md:text-xl text-muted-foreground max-w-3xl mx-auto px-4 z-20">
Automatically mirror your GitHub repositories to self-hosted Gitea. Automatic, private, and free. Own your code history forever.
Never lose access to your code with continuous backup and Preserve issues, PRs, releases, and wiki in your own Gitea server.
synchronization.
</p> </p>
<div className="mt-6 sm:mt-8 flex flex-wrap items-center justify-center gap-3 text-xs sm:text-sm text-muted-foreground px-4 z-20"> <div className="mt-6 sm:mt-8 flex flex-wrap items-center justify-center gap-3 text-xs sm:text-sm text-muted-foreground px-4 z-20">
<div className="flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 text-primary"> <div className="flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 text-primary">
<Shield className="w-3 h-3 sm:w-4 sm:h-4" /> <HardDrive className="w-3 h-3 sm:w-4 sm:h-4" />
<span className="font-medium">Self-Hosted</span> <span className="font-medium">Self-Hosted Backup</span>
</div> </div>
<div className="flex items-center gap-2 px-3 py-1 rounded-full bg-accent/10 text-accent"> <div className="flex items-center gap-2 px-3 py-1 rounded-full bg-accent/10 text-accent">
<RefreshCw className="w-3 h-3 sm:w-4 sm:h-4" /> <RefreshCw className="w-3 h-3 sm:w-4 sm:h-4" />
<span className="font-medium">Auto-Sync</span> <span className="font-medium">Automated Syncing</span>
</div> </div>
<div className="flex items-center gap-2 px-3 py-1 rounded-full bg-accent-purple/10 text-accent-purple"> <div className="flex items-center gap-2 px-3 py-1 rounded-full bg-accent-purple/10 text-accent-purple">
<GitHubLogoIcon className="w-3 h-3 sm:w-4 sm:h-4" /> <Shield className="w-3 h-3 sm:w-4 sm:h-4" />
<span className="font-medium">Open Source</span> <span className="font-medium">$0/month</span>
</div> </div>
</div> </div>

View File

@@ -0,0 +1,254 @@
---
layout: ../../layouts/UseCaseLayout.astro
title: "GitHub Backup Tools Compared: Self-Hosted vs Cloud Solutions"
description: "Compare Gitea Mirror with BackHub, Rewind, GitHub Enterprise Backup, and manual scripts. Choose the best GitHub backup solution for your needs."
canonical: "https://gitea-mirror.com/comparison/github-backup-tools/"
---
# GitHub Backup Tools Compared: Finding the Right Solution
## Why GitHub backups matter
GitHub hosts millions of repositories, but relying on a single platform comes with risks:
- **Outages**: GitHub experiences downtime (most recent: November 2024, October 2024, August 2024)
- **Account issues**: DMCA takedowns, TOS violations, or account suspensions can lock you out
- **Accidental deletions**: One wrong click and your repo history vanishes
- **Company changes**: Microsoft's acquisition led to policy shifts many developers disagreed with
- **Data sovereignty**: GDPR, HIPAA, or internal policies may require local data control
The question isn't *if* you need backups—it's *which solution* fits your workflow and budget.
## Comparison at a glance
| Feature | Gitea Mirror | BackHub | Rewind Backups | GitHub Enterprise Backup | Manual Scripts |
|---------|--------------|---------|----------------|-------------------------|----------------|
| **Cost/Year** | $0 | $600+ | $240+ | $21,000+ | $0 |
| **Self-Hosted** | ✅ | ❌ | ❌ | Optional | ✅ |
| **Setup Time** | 15 min | 5 min | 5 min | Days | 2+ hours |
| **Metadata (Issues/PRs)** | ✅ | ✅ | ✅ | ✅ | ❌ |
| **Releases & Assets** | ✅ | ✅ | ✅ | ✅ | Partial |
| **Wiki Backup** | ✅ | ✅ | ✅ | ✅ | Partial |
| **Git LFS Support** | ✅ | ✅ | ✅ | ✅ | Manual |
| **Auto-Discovery** | ✅ | ✅ | ✅ | ✅ | ❌ |
| **Scheduled Syncing** | ✅ | ✅ | ✅ | ✅ | Cron-based |
| **Data Ownership** | ✅ Full | ❌ | ❌ | ✅ | ✅ Full |
| **Restore Complexity** | Low | Medium | Medium | Low | High |
| **Multi-Org Support** | ✅ | ✅ | ✅ | ✅ | Manual |
| **Real-Time Dashboard** | ✅ | ✅ | ✅ | ✅ | ❌ |
## Solution breakdown
### Gitea Mirror (Self-Hosted, Free)
**Best for**: Homelab enthusiasts, indie developers, privacy-conscious teams, cost-sensitive startups
**How it works**: Automatically mirrors your GitHub repositories to your own Gitea server using scheduled syncs. Preserves full history, metadata (issues, PRs as enriched issues, labels, milestones), releases, and wiki content.
**Pros**:
- ✅ **Zero recurring costs** - Just your hosting/hardware
- ✅ **Complete data ownership** - Everything stays on your infrastructure
- ✅ **Privacy-first** - No third parties touch your code
- ✅ **Customizable** - Open source, fork it, extend it
- ✅ **Docker-friendly** - One command deployment
- ✅ **Multi-arch support** - AMD64 and ARM64 (Raspberry Pi compatible)
- ✅ **No vendor lock-in** - Standard Git repos, portable
**Cons**:
- ❌ You manage the infrastructure (server, backups, updates)
- ❌ Community support only (no SLA)
- ❌ Requires basic Docker/server knowledge
- ❌ You're responsible for Gitea security updates
**Ideal user**: "I run a homelab with Proxmox/Docker and want full control over my GitHub backups without paying monthly fees."
**Setup**:
```bash
docker compose -f docker-compose.alt.yml up -d
# Visit http://localhost:4321, create account, add tokens
```
### BackHub (Cloud, $50-200/month)
**Best for**: Teams wanting zero infrastructure management, compliance-focused organizations
**How it works**: SaaS platform that backs up GitHub orgs/repos to their cloud storage. Offers point-in-time recovery and compliance features.
**Pros**:
- ✅ Fully managed (zero infrastructure)
- ✅ SOC 2 compliant
- ✅ Easy restore interface
- ✅ Supports all GitHub features
**Cons**:
- ❌ $600-2400/year minimum
- ❌ Your code lives on their servers
- ❌ Vendor lock-in for restore process
- ❌ Pricing scales with repo count
- ❌ No self-hosted option
**Ideal user**: "I need GitHub backups with compliance guarantees and don't want to manage servers."
### Rewind Backups (Cloud, $20-100/month)
**Best for**: Small teams, agencies managing client repos
**How it works**: Cloud backup service that snapshots GitHub data daily/hourly with web-based restore.
**Pros**:
- ✅ Simple setup (OAuth connection)
- ✅ User-friendly restore UI
- ✅ Supports multiple SaaS platforms (not just GitHub)
**Cons**:
- ❌ $240-1200/year
- ❌ Cloud-only storage
- ❌ Restore requires their platform
- ❌ Limited to their backup schedule
- ❌ No local/offline access
**Ideal user**: "I backup multiple SaaS tools and want one dashboard for everything."
### GitHub Enterprise Backup Utilities (Self-Hosted, Requires GHE)
**Best for**: Large enterprises already on GitHub Enterprise
**How it works**: Official GitHub tool for backing up GitHub Enterprise Server instances. Creates encrypted backup snapshots.
**Pros**:
- ✅ Official GitHub tool
- ✅ Enterprise-grade
- ✅ Compliance-ready
**Cons**:
- ❌ Requires GitHub Enterprise license ($21k+/year for 10 users)
- ❌ Only works with Enterprise Server, not GitHub.com
- ❌ Complex setup and maintenance
- ❌ Overkill for small teams
**Ideal user**: "We're already paying for GitHub Enterprise and need official backup tooling."
### Manual Git Scripts (DIY, Free but Brittle)
**Best for**: Minimalists with few repos and technical expertise
**How it works**: Cron jobs that run `git clone --mirror` for each repo.
**Pros**:
- ✅ Zero cost
- ✅ Simple concept
- ✅ No third-party dependencies
**Cons**:
- ❌ No metadata backup (issues, PRs, releases lost)
- ❌ Manual discovery of new repos
- ❌ No LFS support without extra work
- ❌ Fails silently (no health checks)
- ❌ High maintenance overhead
- ❌ No organization/bulk operations
- ❌ Wiki requires separate cloning logic
**Ideal user**: "I have 2-3 repos and enjoy writing Bash scripts."
## Decision framework
### Choose Gitea Mirror if you:
- Want $0 recurring costs
- Run a homelab or have spare hardware
- Value data ownership and privacy
- Are comfortable with Docker/basic sysadmin tasks
- Need to back up personal repos or small org (&lt;50 repos)
- Want to learn self-hosting skills
### Choose BackHub if you:
- Have budget for managed services ($50-200/mo)
- Need SOC 2 compliance
- Want zero infrastructure management
- Back up 10+ organizations
- Require guaranteed SLA
### Choose Rewind if you:
- Back up multiple SaaS tools (not just GitHub)
- Have limited budget ($20-50/mo)
- Want dead-simple restore UX
- Don't need self-hosted storage
### Choose GitHub Enterprise Backup if you:
- Already have GitHub Enterprise Server
- Need official support contracts
- Operate at enterprise scale (hundreds of users)
- Have compliance requirements for official tooling
### Choose Manual Scripts if you:
- Have &lt;5 repos
- Don't care about metadata/issues/PRs
- Enjoy scripting and troubleshooting
- Have time to maintain cron jobs
## Real-world cost comparison (5-year total)
Assuming 50 repositories, 10 active contributors:
| Solution | Year 1 | Year 5 Total | Notes |
|----------|--------|--------------|-------|
| **Gitea Mirror** | $0-50 | $0-250 | Only hardware/hosting costs (VPS: ~$50/yr) |
| **BackHub** | $1,200 | $6,000 | Scales with repos |
| **Rewind** | $600 | $3,000 | Mid-tier plan |
| **GitHub Enterprise Backup** | $21,000+ | $105,000+ | Requires GHE license |
| **Manual Scripts** | $0 | $0 | Plus hundreds of hours maintaining |
## Migration paths
### From cloud backup to Gitea Mirror
1. Export backup data from your cloud provider (if supported)
2. Deploy Gitea Mirror following the [backup playbook](/use-cases/backup-github-repositories/)
3. Let Gitea Mirror rebuild from GitHub (preserves all metadata)
4. Cancel cloud subscription once validated
### From manual scripts to Gitea Mirror
1. Note your current repo list
2. Deploy Gitea Mirror and connect GitHub
3. Auto-import handles discovery
4. Delete cron jobs once sync confirmed
### From Gitea Mirror to other solutions
Your repos are standard Git mirrors—clone from Gitea and push to any other service. Zero lock-in.
## Frequently asked questions
### Can I use Gitea Mirror alongside a cloud backup service?
Absolutely! Gitea Mirror adds a self-hosted "warm backup" layer while cloud services provide offsite redundancy. Best of both worlds.
### What if my hardware fails?
Snapshot your Gitea Mirror data volume regularly using ZFS, Btrfs, or tools like Restic. Store snapshots offsite. The GitHub → Gitea Mirror sync is idempotent—spin up a new instance, restore data volume, and it resumes.
### How does Gitea Mirror compare for disaster recovery?
**RTO (Recovery Time Objective)**: Minutes—just `git clone` from your Gitea server.
**RPO (Recovery Point Objective)**: Depends on sync interval (15 min - 24 hours typical).
Cloud services have similar RPO but may have slower RTO if you need to restore hundreds of repos through a web UI.
### Can I try Gitea Mirror without committing?
Yes! The Docker setup takes 15 minutes. Test with a few repos, evaluate, then scale or remove with `docker compose down -v`.
### Does Gitea Mirror work with GitHub Enterprise Cloud?
Yes, as long as you have API access and a personal access token. The GitHub API endpoint is configurable.
## Next steps
- **Ready to self-host?** Follow the [GitHub backup playbook](/use-cases/backup-github-repositories/)
- **Need multi-tenant?** See [Proxmox LXC deployment](/use-cases/proxmox-lxc-homelab/) or [Kubernetes Helm chart](/use-cases/deploy-with-helm-chart/)
- **Questions?** [Open a GitHub discussion](https://github.com/RayLabsHQ/gitea-mirror/discussions)
## Honest assessment
Gitea Mirror is **not** enterprise SaaS. There's no 24/7 support, no compliance certifications, no guaranteed uptime. It's a well-maintained open source project built by and for developers who value ownership and cost-effectiveness.
If you need a pager number when things break, choose a commercial solution. If you enjoy owning your infrastructure and solving problems, Gitea Mirror saves thousands of dollars annually while giving you complete control.
The best backup solution is the one you'll actually use and test. Choose based on your skills, budget, and risk tolerance—not marketing promises.

View File

@@ -8,44 +8,47 @@ import UseCases from '../components/UseCases.astro';
import Screenshots from '../components/Screenshots.astro'; import Screenshots from '../components/Screenshots.astro';
import { Installation } from '../components/Installation'; import { Installation } from '../components/Installation';
import { CTA } from '../components/CTA'; import { CTA } from '../components/CTA';
import FAQ from '../components/FAQ.astro';
import Footer from '../components/Footer.astro'; import Footer from '../components/Footer.astro';
const siteUrl = 'https://gitea-mirror.com'; const siteUrl = 'https://gitea-mirror.com';
const title = 'Gitea Mirror - Automated GitHub to Gitea Repository Mirroring & Backup'; const title = 'GitHub Backup Tool | Self-Hosted Repository Backup to Gitea';
const description = 'Automatically mirror and backup your GitHub repositories to self-hosted Gitea. Keep your code safe with scheduled syncing, bulk operations, and real-time monitoring. Free and open source.'; const description = 'Automatically backup GitHub repos to your own Gitea server. Preserve issues, PRs, releases & wiki. Self-hosted, Docker-ready. Free alternative to cloud backup services.';
const keywords = 'github backup, gitea mirror, repository sync, github to gitea, git mirror, code backup, self-hosted git, repository migration, github mirror tool, gitea sync, automated backup, github repository backup, git repository mirror, self-hosted backup solution'; const keywords = 'github backup, github backup self hosted, github repository backup, backup github to nas, github disaster recovery, offline github backup, github backup docker, automatic github backup, github account backup, gitea mirror, self-hosted git backup, repository sync, github to gitea, git mirror, code backup, self-hosted backup solution';
// Structured data for SEO // Structured data for SEO
const structuredData = { const structuredData = {
"@context": "https://schema.org", "@context": "https://schema.org",
"@type": "SoftwareApplication", "@type": "SoftwareApplication",
"name": "Gitea Mirror", "name": "Gitea Mirror",
"applicationCategory": "DeveloperApplication", "applicationCategory": "BackupApplication",
"operatingSystem": "Linux, macOS, Windows", "operatingSystem": "Linux, macOS, Windows",
"offers": { "offers": {
"@type": "Offer", "@type": "Offer",
"price": "0", "price": "0",
"priceCurrency": "USD" "priceCurrency": "USD"
}, },
"description": description, "description": "Automatic GitHub repository backup to self-hosted Gitea. Preserves complete history, issues, PRs, and releases. Free alternative to cloud backup services.",
"url": siteUrl, "url": siteUrl,
"author": { "author": {
"@type": "Organization", "@type": "Organization",
"name": "RayLabs", "name": "RayLabs",
"url": "https://github.com/RayLabsHQ" "url": "https://github.com/RayLabsHQ"
}, },
"softwareVersion": "2.22.0", "softwareVersion": "3.9.2",
"screenshot": [ "screenshot": [
`${siteUrl}/assets/dashboard.png`, `${siteUrl}/assets/dashboard.png`,
`${siteUrl}/assets/repositories.png`, `${siteUrl}/assets/repositories.png`,
`${siteUrl}/assets/organisation.png` `${siteUrl}/assets/organisation.png`
], ],
"featureList": [ "featureList": [
"Automated repository mirroring", "Automated scheduled backups",
"Bulk organization sync", "Self-hosted (full data ownership)",
"Real-time monitoring", "Metadata preservation (issues, PRs, releases, wiki)",
"Self-hosted solution", "Docker support",
"Open source" "Multi-repository backup",
"Git LFS support",
"Free and open source"
], ],
"softwareRequirements": "Docker or Bun runtime" "softwareRequirements": "Docker or Bun runtime"
}; };
@@ -127,6 +130,7 @@ const structuredData = {
<UseCases /> <UseCases />
<Screenshots /> <Screenshots />
<Installation client:load /> <Installation client:load />
<FAQ />
<CTA client:load /> <CTA client:load />
</main> </main>

View File

@@ -1,15 +1,17 @@
--- ---
layout: ../../layouts/UseCaseLayout.astro layout: ../../layouts/UseCaseLayout.astro
title: "Run Gitea Mirror inside a Proxmox LXC" title: "Self-Hosted GitHub Backup on Proxmox LXC | Gitea Mirror Homelab Setup"
description: "Provision the community-maintained Proxmox VE LXC container for Gitea Mirror and wire it into your homelab backup workflow." description: "Deploy a dedicated GitHub backup appliance in your Proxmox homelab using the one-line LXC installer. Automatic syncing, snapshot-ready, homelab-optimized."
canonical: "https://gitea-mirror.com/use-cases/proxmox-lxc-homelab/" canonical: "https://gitea-mirror.com/use-cases/proxmox-lxc-homelab/"
--- ---
# Run Gitea Mirror inside a Proxmox LXC # Self-Hosted GitHub Backup on Proxmox LXC
## Why run it on Proxmox ## The Homelab GitHub Backup Appliance
When most of your homelab lives in Proxmox VE, the community LXC script is the fastest path from zero to a managed Gitea Mirror node. It handles Bun, systemd, persistent storage, and future upgrades so you can focus on keeping Git backups fresh. Running GitHub backups in your homelab means **complete data ownership** without monthly SaaS fees. When most of your infrastructure lives in Proxmox VE, the community LXC script is the fastest path from zero to a dedicated backup appliance.
It handles Bun runtime, systemd services, persistent storage, and future upgrades—so you can focus on keeping your GitHub history safe and synced locally. Perfect for homelabbers who want the peace of mind of offline backups without cloud dependencies.
## Requirements ## Requirements