

Xcopy /syf C:\Apps\xampp-old\apache\conf\ssl.key\* C:\Apps\xampp\apache\conf\ssl.key\ xcopy /syf C:\Apps\xampp-old\apache\conf\ssl.crt\* C:\Apps\xampp\apache\conf\ssl.crt\ Once installed (and before starting any modules), copy theĬonfiguration.

Get the version of XAMPP to be installed from the Apache Friends "C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\windows\system32\drivers\etc\hosts" Install new version "C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\Apps\xampp\php\ext\php_xdebug-*"

"C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\apps\xampp\php\php.ini"

"C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\Apps\xampp\mysql\bin\my.ini" "C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\apps\xampp\apache\conf\extra\nf" "C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\apps\xampp\apache\conf\ssl.key\" "C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\apps\xampp\apache\conf\ssl.crt\" "C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\apps\xampp\apache\conf\.rnd" "C:\Program Files\7-zip\7z.exe" a -tZip -spf -y "D:\My Backups\XAMPP.zip" "C:\apps\xampp\apache\conf\create_certs.cmd" I backup my XAMPP environment with the following script – notĪll of these files may be present in your environment. Stop all modules in the XAMPP Control Panel and Quit. My XAMPP is installed into C:\Apps\xampp\ – adjust for your ownĮnsure that MySQL is running in the XAMPP Control Panelīackup the MySQL databases using C:\Apps\xampp\mysql\bin\mysqldump -user=root -all-databases >"D:\My Backups\all_databases.sql" Backup Configuration Situation may be different and require additional processes. Primarily using this for WordPress website development, so I am onlyĬoncerned about the MySQL and Apache Server configuration – your This is how I migrate from one version of XAMPP to another. Install a new version of XAMPP for Windows and migrate yourįor many years now I have been using the excellent XAMPPĭevelopment environment from Apache Friends on my Windows machines.
