Skip to content

Commit 675b1ea

Browse files
authored
Update backup.bat
Stopping the additional Service Processer Management Service seems to be not necessary.
1 parent c30f0b0 commit 675b1ea

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

backup.bat

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@echo off
22

3+
REM Version 1.2
34
REM Adjust path for the below components. Projects, Libraries and Manager Data folders can be assigned to special locations! Major build number can change after updating BIMcloud! This example here
45
REM has the installation date 2022-01-10. You can copy this file and adjust the ServerInstallDate below a to create a another backup of another instance.
56

@@ -23,8 +24,7 @@ REM I added additonal services to the script to stop all Graphisoft Services
2324

2425
set Manager=PortalServerService-v26.0(Manager-%ServerInstallDate%)
2526
set Server=TeamworkApplicationServerMonitor-v26.0(Server-%ServerInstallDate%)
26-
set ServiceManager=TeamworkServiceProcessManagerAgent-v26.0(Manager-%ServerInstallDate%)
27-
set ServiceServer=TeamworkServiceProcessManagerAgent-v26.0(Manager-%ServerInstallDate%)
27+
2828

2929
REM set delay between Services stopping and starting. Depending on how fast our Server is and how fast it can robocopy the files to the backup destination
3030
set delay=60
@@ -74,11 +74,6 @@ ping localhost -n %delay% >nul
7474
sc stop "%Server%"
7575
ping localhost -n %delay% >nul
7676

77-
sc stop "%ServiceManager%"
78-
ping localhost -n %delay% >nul
79-
80-
sc stop "%ServiceServer%"
81-
ping localhost -n %delay% >nul
8277

8378

8479

@@ -107,10 +102,5 @@ ping localhost -n %delay% >nul
107102
sc start "%Server%"
108103
ping localhost -n %delay% >nul
109104

110-
sc start "%ServiceManager%"
111-
ping localhost -n %delay% >nul
112-
113-
sc start "%ServiceServer%"
114-
ping localhost -n %delay% >nul
115105

116106
:done

0 commit comments

Comments
 (0)