Cacti (home)ForumsDocumentation

Differences

This shows you the differences between two versions of the page.

manual:088:1_installation.3_upgrading [2013/01/30 22:37]
BSOD2600 windows command cleanup
manual:088:1_installation.3_upgrading [2019/10/29 15:16] (current)
Line 53: Line 53:
 <note>You will probably have to specify the -u and -p flags for the MySQL username and password. This user must have permission to read from Cacti's database or you will end up with an empty backup.</note> <note>You will probably have to specify the -u and -p flags for the MySQL username and password. This user must have permission to read from Cacti's database or you will end up with an empty backup.</note>
   - Backup the old Cacti directory.<code>   - Backup the old Cacti directory.<code>
-C:\> move cacti cacti_old+C:\> XCOPY /S cacti cacti_old 
 </code> </code>
   - Extract the distribution zip file using your favorite unzipping tool.   - Extract the distribution zip file using your favorite unzipping tool.
-  - Rename the new Cacti directory to match the old one.<code> +  - Rename the new Cacti directory to match the old one
-C:\> move cacti-version cacti+  - Overwrite the existing Cacti directories and files with the new distribution. <code> 
 +C:\> MOVE cacti-version cacti
 </code> </code>
   - Edit "include/config.php" and specify the database name, host, user and password for your Cacti configuration.   - Edit "include/config.php" and specify the database name, host, user and password for your Cacti configuration.
   - Copy the *.rrd files from the old Cacti directory.<code>   - Copy the *.rrd files from the old Cacti directory.<code>
-C:\> copy cacti_old/rra/* cacti/rra/+C:\> XCOPY \cacti_old\rra\*.rrd \cacti\rra\
 </code> </code>
   - Copy any relevant custom scripts from the old Cacti directory. Some script are updated between versions. Therefore, make sure you only over write if the scripts either don't exist or are newer than the distribution's.<code>   - Copy any relevant custom scripts from the old Cacti directory. Some script are updated between versions. Therefore, make sure you only over write if the scripts either don't exist or are newer than the distribution's.<code>
-C:\> xcopy /D /S cacti_old/scripts/* cacti/scripts/+C:\> xcopy /D /S \cacti_old\scripts\\cacti\scripts\
 </code> </code>
   - Copy any relevant custom resource XML files from the old Cacti directory. Some resource XML files are updated between versions. Therefore, make sure you only over write if the XML files either don't exist or are newer than the distribution's.<code>   - Copy any relevant custom resource XML files from the old Cacti directory. Some resource XML files are updated between versions. Therefore, make sure you only over write if the XML files either don't exist or are newer than the distribution's.<code>
-C:\>  xcopy /D /S cacti_old/resource/* cacti/resource/+C:\>  xcopy /D /S \cacti_old\resource\\cacti\resource\
 </code> </code>
   - Apply patches for [[1_installation.2_install_windows.9_apply_patches|Windows]]   - Apply patches for [[1_installation.2_install_windows.9_apply_patches|Windows]]
Line 74: Line 75:
 http://your-server/cacti/</code> http://your-server/cacti/</code>
   - Follow the on-screen instructions so your database can be updated to the new version.   - Follow the on-screen instructions so your database can be updated to the new version.
- 





Personal Tools