44 lines
1.7 KiB
Bash
Executable File
44 lines
1.7 KiB
Bash
Executable File
#!/bin/bash
|
|
# ==========================================================
|
|
# 🔱 Rite of Data Preservation 🔱
|
|
# In the name of the Omnissiah, may the Machine Spirit bless this transfer.
|
|
# ==========================================================
|
|
|
|
echo ""
|
|
echo "⚙️ [Rite Initiated] Beginning sanctified data synchronization..."
|
|
echo "=========================================================="
|
|
sleep 1
|
|
|
|
# Function for stylized echo
|
|
bless_echo() {
|
|
echo ""
|
|
echo "🕯️ >>> ${1}"
|
|
echo "----------------------------------------------------------"
|
|
}
|
|
|
|
# Gitea
|
|
bless_echo "Invoking the Gitea spirit... transferring codex repositories."
|
|
sudo rsync -avh --progress /home/aetos/gitea/ /mnt/omnissiah-vault/configs/gitea/
|
|
|
|
# Drone
|
|
bless_echo "Summoning the Servo-Drone... replicating mission logs and build data."
|
|
sudo rsync -avh --progress /home/aetos/drone/ /mnt/omnissiah-vault/configs/drone/
|
|
|
|
# Registry
|
|
bless_echo "Opening the Vault of Data... syncing Docker image reliquaries."
|
|
sudo rsync -avh --progress /home/aetos/registry/ /mnt/omnissiah-vault/data/registry/
|
|
|
|
# Auth
|
|
bless_echo "Transmitting sacred credentials from the Auth Shrine."
|
|
sudo rsync -avh --progress /home/aetos/registry/auth/ /mnt/omnissiah-vault/configs/auth/
|
|
|
|
# Certs
|
|
bless_echo "Sanctifying certificates... copying holy encryption seals."
|
|
sudo rsync -avh --progress /home/aetos/certs/ /mnt/omnissiah-vault/configs/certs/
|
|
|
|
echo ""
|
|
echo "=========================================================="
|
|
echo "✅ [Rite Complete] The Machine Spirit rests content."
|
|
echo "May your data remain pure, your syncs uncorrupted, and your drives eternal."
|
|
echo "=========================================================="
|