Skip to main content

Sauvegarde & Restauration des paramètres Lightroom Classic (Windows)

🔹 Étape 1 — Sauvegarder

  1. Crée le script PowerShell suivant
    → Nom suggéré : Lightroom-Backup.ps1

    # Minimal Lightroom Classic settings backup (clean and without redundancy)
    
    # Force UTF-8 output encoding
    $OutputEncoding = [Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()
    
    # Set paths
    $UserProfile = $env:USERPROFILE
    $DesktopPath = Join-Path $UserProfile "Desktop"
    $BackupRoot = Join-Path $DesktopPath "Lightroom_Backup"
    
    # Create backup directory
    Try {
        New-Item -ItemType Directory -Path $BackupRoot -Force | Out-Null
        Write-Host "`n=== Lightroom Classic Minimal Backup ===`n"
        Write-Host "Destination: $BackupRoot`n"
    } Catch {
        Write-Error "❌ Cannot create backup folder at: $BackupRoot"
        Write-Error $_.Exception.Message
        exit
    }
    
    # Define essential folders only
    $Paths = @{
        "Lightroom_Preferences" = "$UserProfile\AppData\Roaming\Adobe\Lightroom"
        "CameraRaw_Profiles"    = "$UserProfile\AppData\Roaming\Adobe\CameraRaw"
    }
    
    # Function to copy folders
    function Copy-With-Log {
        param (
            [string]$Source,
            [string]$Destination
        )
        if (Test-Path $Source) {
            Write-Host ">> Copying: $Source"
            Copy-Item -Path $Source -Destination $Destination -Recurse -Force
        } else {
            Write-Host "!! Not found: $Source"
        }
    }
    
    # Copy each folder
    foreach ($key in $Paths.Keys) {
        $SourcePath = $Paths[$key]
        $TargetPath = Join-Path $BackupRoot $key
        Copy-With-Log -Source $SourcePath -Destination $TargetPath
    }
    
    # Create README with clear restore instructions
    $ReadmePath = Join-Path $BackupRoot "README.txt"
    $ReadmeContent = @"
    LIGHTROOM CLASSIC - SETTINGS BACKUP (MINIMAL)
    
    This backup includes:
    
    - Lightroom preferences, presets, and plugin configurations
    - CameraRaw profiles (used in Develop module)
    
    To restore on a new machine:
    
    1. Copy 'Lightroom_Preferences' to:
       C:\Users\<your-username>\AppData\Roaming\Adobe\Lightroom
    
    2. Copy 'CameraRaw_Profiles' to:
       C:\Users\<your-username>\AppData\Roaming\Adobe\CameraRaw
    
    NOTE:
    - Replace <your-username> with your actual Windows username
    - You can quickly open AppData\Roaming using Win + R then type: %APPDATA%
    
    This backup does NOT include your catalog (.lrcat), previews, or actual photos.
    "@
    
    Set-Content -Path $ReadmePath -Value $ReadmeContent -Encoding UTF8
    
    Write-Host "`nâś… Backup complete. Instructions saved in README.txt"
    Pause
    
  2. Double-clique sur le fichier ou fais clic droit → Exécuter avec PowerShell
    (si ça ne fonctionne pas, ouvre PowerShell manuellement et exécute :
    .\Lightroom-Backup.ps1)

  3. Le script va créer un dossier sur ton Bureau :
    Lightroom_Backup

  4. Ce dossier contient :

    • Lightroom_Preferences → tes presets, prĂ©fĂ©rences, plugins

    • CameraRaw_Profiles → les profils Camera Raw (utile pour DĂ©veloppement)

    • README.txt → les instructions pour restaurer


🔹 Étape 2 — Restaurer sur un autre PC

  1. Copie le dossier Lightroom_Backup sur une clé USB, un cloud ou via le réseau.

  2. Sur le nouvel ordinateur :

    • Ouvre l’explorateur et entre dans la barre d’adresse :

      %APPDATA%\Adobe
    • Copie le contenu de :

      Source (backup) Destination (nouveau PC)
      Lightroom_Preferences %APPDATA%\Adobe\Lightroom
      CameraRaw_Profiles %APPDATA%\Adobe\CameraRaw

    Remplace les dossiers existants si demandé ✅

  3. (Ré)ouvre Lightroom Classic → tes réglages, presets, plugins seront là.


đź’ˇ Remarques

  • Ce tuto ne sauvegarde pas ton catalogue .lrcat, ni tes photos.

  • Si tu veux sauvegarder le catalogue aussi → fais-le manuellement depuis Images\Lightroom.