Forgot to adjust log rotator
This commit is contained in:
parent
19fee0ef87
commit
9806dfb726
@ -3,7 +3,7 @@
|
|||||||
:::::::::::::: CONFIG ::::::::::::::::::
|
:::::::::::::: CONFIG ::::::::::::::::::
|
||||||
|
|
||||||
:: Set your Arma3 Epoch Base installation directory. LEAVE OFF THE ENDING \
|
:: Set your Arma3 Epoch Base installation directory. LEAVE OFF THE ENDING \
|
||||||
set arma3srvpath=C:\Program Files (x86)\Steam\SteamApps\common\Arma 3
|
set arma3srvpath=F:\GameServers\Arma3\arma3epoch
|
||||||
|
|
||||||
:: Set your Default server profile name. This is the name of the directory that stores your server.cfg
|
:: Set your Default server profile name. This is the name of the directory that stores your server.cfg
|
||||||
:: This will be used in the case that you don't launch this script without the server param.
|
:: This will be used in the case that you don't launch this script without the server param.
|
||||||
@ -88,6 +88,7 @@ copy "%arma3srvpath%\%servername%\BattlEye\mpeventhandler.log" "%arma3srvpath%\%
|
|||||||
copy "%arma3srvpath%\DB\dump.rdb" "%arma3srvpath%\DBbackups\RotatedLogs\%dtStamp%\DBbackups\dump.rdb"
|
copy "%arma3srvpath%\DB\dump.rdb" "%arma3srvpath%\DBbackups\RotatedLogs\%dtStamp%\DBbackups\dump.rdb"
|
||||||
copy "%arma3srvpath%\%servername%\A3Master_*.log" "%arma3srvpath%\%servername%\RotatedLogs\%dtStamp%\A3Master_*.log"
|
copy "%arma3srvpath%\%servername%\A3Master_*.log" "%arma3srvpath%\%servername%\RotatedLogs\%dtStamp%\A3Master_*.log"
|
||||||
copy "%arma3srvpath%\%servername%\arma3server_*.rpt" "%arma3srvpath%\%servername%\RotatedLogs\%dtStamp%\arma3server_*.rpt"
|
copy "%arma3srvpath%\%servername%\arma3server_*.rpt" "%arma3srvpath%\%servername%\RotatedLogs\%dtStamp%\arma3server_*.rpt"
|
||||||
|
copy "%arma3srvpath%\%servername%\Epochserver_*.rpt" "%arma3srvpath%\%servername%\RotatedLogs\%dtStamp%\arma3server_*.rpt"
|
||||||
|
|
||||||
|
|
||||||
echo (%date%) (%time%) Logs are backed up now...
|
echo (%date%) (%time%) Logs are backed up now...
|
||||||
@ -108,6 +109,7 @@ del /Q /F "%arma3srvpath%\%servername%\BattlEye\mpeventhandler.log"
|
|||||||
del /Q /F "%arma3srvpath%\%servername%\BattlEye\setdamage.log"
|
del /Q /F "%arma3srvpath%\%servername%\BattlEye\setdamage.log"
|
||||||
del /Q /F "%arma3srvpath%\%servername%\A3Master_*.log"
|
del /Q /F "%arma3srvpath%\%servername%\A3Master_*.log"
|
||||||
del /Q /F "%arma3srvpath%\%servername%\arma3server_*.rpt"
|
del /Q /F "%arma3srvpath%\%servername%\arma3server_*.rpt"
|
||||||
|
del /Q /F "%arma3srvpath%\%servername%\Epochserver_*.rpt"
|
||||||
|
|
||||||
if %debug% == 1 (
|
if %debug% == 1 (
|
||||||
timeout %dbsecs%
|
timeout %dbsecs%
|
||||||
|
Loading…
Reference in New Issue
Block a user