# enrique-ramirez-it/backup-automation-uranium architecture

> Architecture diagram of the GitHub repository enrique-ramirez-it/backup-automation-uranium, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/enrique-ramirez-it/backup-automation-uranium
- Repository: https://github.com/enrique-ramirez-it/backup-automation-uranium

## Overview

This repository is a runbook and one setup script for scheduled Windows backups to a WD NAS, not a backup engine. The documented workflow is to create a dedicated service account, configure Uranium Backup to run as that account and write to UNC paths, retain daily file backups and weekly system images, then shut down Windows after completion. Separate recovery guidance covers file-level and bare-metal restoration. Relationships are based on the README; no source excerpts were available, so the graph does not infer internal Uranium behavior.

Main entry points: [`README.md`](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md) (WD My Cloud NAS), [`scripts/setup-backup-service-user.ps1`](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/scripts/setup-backup-service-user.ps1) (Account setup script)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_deployment["Service setup"]
  node_setup_script["Account setup script"]
  node_service_account["Backup service account<br/>[README.md]"]
  node_windows_service["Uranium Backup Service"]
  node_manual["Uranium configuration manual"]
end

subgraph group_backup["Backup plan"]
  node_windows_pc["Windows workstation<br/>[README.md]"]
  node_backup_config["Backup schedules<br/>[README.md]"]
  node_daily_backup["Daily file backups<br/>[README.md]"]
  node_system_image["Weekly system image<br/>[README.md]"]
  node_nas[("WD My Cloud NAS<br/>[README.md]")]
  node_shutdown["Automatic shutdown<br/>[README.md]"]
end

subgraph group_recovery["Recovery"]
  node_file_restore["File and image restore<br/>[README.md]"]
  node_bare_metal["Bare-metal recovery<br/>[README.md]"]
  node_recovery_media["Windows recovery media"]
end

node_admin(("Administrator"))

node_admin -->|"runs"| node_setup_script
node_setup_script -->|"creates"| node_service_account
node_admin -->|"configures login"| node_windows_service
node_service_account -->|"service identity"| node_windows_service
node_admin -->|"configures"| node_backup_config
node_backup_config -->|"schedules"| node_windows_service
node_windows_service -->|"runs weekdays"| node_daily_backup
node_windows_service -->|"runs Fridays"| node_system_image
node_windows_pc -->|"provides files"| node_daily_backup
node_windows_pc -->|"provides volumes"| node_system_image
node_daily_backup -->|"writes via UNC"| node_nas
node_system_image -->|"writes via UNC"| node_nas
node_windows_service -->|"shuts down after"| node_shutdown
node_admin -->|"restores from"| node_file_restore
node_nas -->|"provides VHDX"| node_file_restore
node_admin -->|"performs"| node_bare_metal
node_recovery_media -->|"boots recovery"| node_bare_metal
node_nas -->|"provides image"| node_bare_metal

click node_setup_script "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/scripts/setup-backup-service-user.ps1"
click node_service_account "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_windows_pc "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_backup_config "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_daily_backup "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_system_image "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_nas "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_shutdown "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_file_restore "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_bare_metal "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md"
click node_manual "https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/docs/Manual_Configuracion_Uranium_Backup.pdf"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_setup_script,node_service_account,node_windows_service,node_manual toneBlue
class node_windows_pc,node_backup_config,node_daily_backup,node_system_image,node_nas,node_shutdown toneAmber
class node_file_restore,node_bare_metal,node_recovery_media toneMint
class node_admin toneIndigo
```

## Components

### Service setup

- [Account setup script](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/scripts/setup-backup-service-user.ps1): `scripts/setup-backup-service-user.ps1`
- [Backup service account](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- **Uranium Backup Service**
- [Uranium configuration manual](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/docs/Manual_Configuracion_Uranium_Backup.pdf): `docs/Manual_Configuracion_Uranium_Backup.pdf`

### Backup plan

- [Windows workstation](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- [Backup schedules](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- [Daily file backups](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- [Weekly system image](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- [WD My Cloud NAS](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- [Automatic shutdown](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`

### Recovery

- [File and image restore](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- [Bare-metal recovery](https://github.com/enrique-ramirez-it/backup-automation-uranium/blob/main/README.md): `README.md`
- **Windows recovery media**

### Other components

- **Administrator**

## Connections

- Administrator → Account setup script: runs (evidence: `README.md`)
- Account setup script → Backup service account: creates (evidence: `README.md`)
- Administrator → Uranium Backup Service: configures login (evidence: `README.md`)
- Backup service account → Uranium Backup Service: service identity (evidence: `README.md`)
- Administrator → Backup schedules: configures (evidence: `README.md`)
- Backup schedules → Uranium Backup Service: schedules (evidence: `README.md`)
- Uranium Backup Service → Daily file backups: runs weekdays (evidence: `README.md`)
- Uranium Backup Service → Weekly system image: runs Fridays (evidence: `README.md`)
- Windows workstation → Daily file backups: provides files (evidence: `README.md`)
- Windows workstation → Weekly system image: provides volumes (evidence: `README.md`)
- Daily file backups → WD My Cloud NAS: writes via UNC (evidence: `README.md`)
- Weekly system image → WD My Cloud NAS: writes via UNC (evidence: `README.md`)
- Uranium Backup Service → Automatic shutdown: shuts down after (evidence: `README.md`)
- Administrator → File and image restore: restores from (evidence: `README.md`)
- WD My Cloud NAS → File and image restore: provides VHDX (evidence: `README.md`)
- Administrator → Bare-metal recovery: performs (evidence: `README.md`)
- Windows recovery media → Bare-metal recovery: boots recovery (evidence: `README.md`)
- WD My Cloud NAS → Bare-metal recovery: provides image (evidence: `README.md`)
