pisitebackup.bat
- Last UpdatedOct 02, 2024
- 1 minute read
After the backup of Data Archive has completed, pibackup.bat calls pisitebackup.bat, provided that pisitebackup.bat exists.
The pisitebackup.bat script can be used to:
-
Back up site-specific files.
-
Copy files from the backup directory to a safe location. This should be done only if a third-party backup program is not available.
-
Trigger a backup of the backup directory with a third-party backup program.
The pisitebackup.bat does not exist by default. However, Data Archive installs the pisitebackup.bat.example file to the PI\adm\ folder. By simply removing the .example extension, the script backs up all files ending in .bat, .log, .ini, .txt, and .sql under the 32-bit and 64-bit PIPC home directories. If you want to backup any other files or do any other task, you must customize the script. Customization instructions are in the pisitebackup.bat.example file itself.
Note: The pisitebackup.bat script is not overwritten when Data Archive is upgraded.