This script is used to install a backup as described in Create the scheduled backup task. The pibackup.bat script performs the actual backup of PI Data Archive and calls the pisitebackup.bat script after backing up. When the backup task runs, the pibackuptask.bat script is called directly, which itself then calls pibackup.bat.

The pibackup.bat script starts the backup of PI Data Archive by running a single piartool -backup command.

After you run pibackup.bat to set up the backup service, you do not need to run it directly again. To launch a backup prior to its scheduled time, open the Scheduled Tasks Windows control panel and run the PI Server Backup scheduled task from there. To run a manual backup (one that does not change the last backup time for your scheduled backups) use the Backups tool in PI SMT. For more information, see Perform an on-demand PI Data Archive backup.

Note: Do not directly customize the pibackup.bat script. This script is overwritten on PI Data Archive upgrades.