<# .SYNOPSIS Makes a full copy of the Monize data folder on Windows, or puts one back. .DESCRIPTION A full backup is everything the Windows app keeps: the PostgreSQL database (pgdata), attachments, the automatic backups folder, logs, config.json and the key file Windows uses to unlock config.json (shell\Local State). It is the whole instance, every user on it included, exactly as it was. PostgreSQL's files are only consistent while the server is stopped, so the script quits Monize first (Monize.exe --quit), checks that the database shut down cleanly, copies the folder, checks the copy, and starts Monize again if it was running. A full backup restores only on the same Windows account that made it. The passwords in config.json are locked to that account by Windows (DPAPI). On a new PC or a new Windows account, install Monize, sign up, and restore an in-app backup instead (Settings > Backup & Restore); the guide's Windows page explains both. Runs in Windows PowerShell 5.1 (built into Windows) and PowerShell 7. .PARAMETER Destination Backup mode: the folder to put the backup in. The backup is a new folder inside it named Monize-backup--