Initial commit: CloudRestoreAS v1.0.0 - Aplicación completa de restauración automática SQL Server

This commit is contained in:
2026-01-25 16:53:00 -07:00
commit 854ffa116f
43 changed files with 6357 additions and 0 deletions

47
start.ps1 Normal file
View File

@@ -0,0 +1,47 @@
# Script de inicio rápido para CloudRestoreAS
Write-Host ""
Write-Host "===============================================" -ForegroundColor Cyan
Write-Host "CloudRestoreAS - Iniciando..." -ForegroundColor Cyan
Write-Host "===============================================" -ForegroundColor Cyan
Write-Host ""
# Verificar entorno virtual
if (-not (Test-Path "venv\Scripts\python.exe")) {
Write-Host "ERROR: Entorno virtual no encontrado" -ForegroundColor Red
Write-Host ""
Write-Host "Ejecuta primero:" -ForegroundColor Yellow
Write-Host " .\install.ps1" -ForegroundColor White
Write-Host ""
Read-Host "Presiona Enter para salir..."
exit 1
}
# Ejecutar aplicación
Write-Host "Ejecutando CloudRestoreAS..." -ForegroundColor Green
Write-Host ""
try {
& ".\venv\Scripts\python.exe" runner.py
if ($LASTEXITCODE -ne 0) {
Write-Host ""
Write-Host "===============================================" -ForegroundColor Red
Write-Host "La aplicación se cerró con error: $LASTEXITCODE" -ForegroundColor Red
Write-Host "===============================================" -ForegroundColor Red
Write-Host ""
Write-Host "Revisa los logs en: logs\app.log" -ForegroundColor Yellow
Write-Host ""
Read-Host "Presiona Enter para salir..."
}
}
catch {
Write-Host ""
Write-Host "===============================================" -ForegroundColor Red
Write-Host "Error ejecutando la aplicación" -ForegroundColor Red
Write-Host "===============================================" -ForegroundColor Red
Write-Host ""
Write-Host $_.Exception.Message -ForegroundColor Yellow
Write-Host ""
Read-Host "Presiona Enter para salir..."
}