Backing up When Running PrintPoint as a Service Tutorial
I would like to give a big Thank You to Rodney Olesak.
Rodney is one of the IT people for one of our users. He was instrumental in
creating the necessary batch files you'll see in the below steps
- Create
a file to stop the PrintPoint service
NET STOP "4D Server: PrintPoint_5091_cs"
Note: The "5091_cs" will be different depending on your version
of the PrintPoint Server Application
-
Namethe file “stop_printpoint_service.bat”
- Create
a file that will create the backup folder
MKDIR "D:\PrintPoint_Data_Folder
Note: In this sample I'm backing up to the "D" drive. You will
need to change this to match you system
- Name
the file “create_data_folder”
- Create
a file to copy the data files (this will make a backup copy)
First the Data File
COPY "C:\PrintPoint_Data_Folder\Your_Data_File.4DD"
"D:\PrintPoint_Data_Folder\%date%\"
Then the Config. File
COPY "C:\PrintPoint_Data_Folder\Your_Data_File.4DR"
"D:\PrintPoint_Data_Folder\%date%\"
Note: If you change the regional options in the control panel so that the
date uses "-" instead of "/" it will organize the
folders better.
- Name
the file “backup_data_file.bat”
- Create
a file to re-start the service
NET START "4D Server: PrintPoint_5091_cs"
Note: the "5091_cs" will be different depending on your version
of the PrintPoint Server Application
- Name
the file “start_printpoint_service.bat”
- Click Start > Programs > Accessories > System Tools > Scheduled Task
The Scheduled Task window is displayed
- Double click Add Scheduled Task
The Scheduled Task Wizard is displayed
- Complete the Task Wizard selecting the files you just created and selecting an accurate backup time
Example: Setup the scheduled tasks so that at 2:00am it will stop the service, 2:10am it will perform the copy, and 4:00am it will start the service