-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmigration.example.yaml
More file actions
28 lines (25 loc) · 1.13 KB
/
Copy pathmigration.example.yaml
File metadata and controls
28 lines (25 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ==============================================================================
# LunarDump Live DB Migration Configuration File Example
# Documentation: https://lunardump.readthedocs.io
# ==============================================================================
version: "1.0"
backup:
name: "live-db-migration"
# 1. SOURCE DATABASE (Server A - Database Asal)
database:
type: "postgres" # Options: postgres | mysql | mongo
host: "192.168.1.10"
port: 5432
name: "production_db"
user: "postgres"
password_env: "SOURCE_DB_PASS" # Nama Environment Variable yang menyimpan password Source DB
# 2. TARGET DATABASE (Server B - Database Tujuan)
target_database:
type: "postgres" # Options: postgres | mysql | mongo
host: "192.168.1.20"
port: 5432
name: "destination_db"
user: "postgres"
password_env: "TARGET_DB_PASS" # Nama Environment Variable yang menyimpan password Target DB
# Catatan: Atribut 'security' dan 'storage' bersifat opsional untuk fitur migration.
# Data dialirkan langsung (Zero-Disk) dari Server A ke Server B tanpa disimpan ke cloud/local storage.