The complete folder structure has been changed or updated
This commit is contained in:
parent
796473a8c9
commit
1f0d1613a5
@ -1,62 +0,0 @@
|
||||
@ECHO OFF
|
||||
TITLE DIGITAL DATA - SQL-Sicherungstask
|
||||
|
||||
ECHO Stapelverarbeitungsprogramm
|
||||
ECHO SQL-Sicherungstask
|
||||
ECHO -
|
||||
ECHO Digital Data
|
||||
ECHO Ludwig-Rinn-Strasse 16
|
||||
ECHO 35452 Heuchelheim
|
||||
ECHO Tel.: 0641 / 202360
|
||||
ECHO E-Mail: info@didalog.de
|
||||
ECHO -
|
||||
ECHO Version 1.1
|
||||
ECHO Letzte Aktualisierung: 14.01.2014
|
||||
ECHO -
|
||||
ECHO Programmstart am %date% um %time:~0,8% auf %computername%.
|
||||
|
||||
REM --------------------------------------------------------------
|
||||
REM Definition der Variablen.
|
||||
|
||||
SET Server=localhost
|
||||
SET temppfad=E:\DB\Microsoft SQL Server 2008 R2\MSSQL10_50.MSSQLSERVER\MSSQL\Backup
|
||||
SET finalerpfad=\\APPEL-NAS02\appel\Sicherung\appel-DB01\SQL-Datenbanken
|
||||
SET SicherungsLaufwerk=S:
|
||||
SET LaufwerkBenutzer=domain\Username
|
||||
SET LaufwerkPasswort=aPassword
|
||||
SET Aufbewahrungszeit=14
|
||||
|
||||
REM --------------------------------------------------------------
|
||||
|
||||
ECHO -
|
||||
ECHO Beginne Laufwerksmapping (CMD Befehl forfiles arbeitet nicht mit UNC Pfaden).
|
||||
IF EXIST %SicherungsLaufwerk% (net use %SicherungsLaufwerk% /delete /yes)
|
||||
net use %SicherungsLaufwerk% %finalerpfad% %LaufwerkPasswort% /user:%LaufwerkBenutzer%
|
||||
|
||||
ECHO -
|
||||
ECHO Entferne Log-Dateien die aelter sind als %Aufbewahrungszeit% aus Pfad: %temppfad%.
|
||||
C:\Windows\System32\forfiles /P "%temppfad%" /M *.log /C "cmd /c if @isdir==FALSE del @file" /D -%Aufbewahrungszeit%
|
||||
|
||||
ECHO -
|
||||
ECHO Erstelle Datenbank Sicherung in temporären Pfad: %temppfad%.
|
||||
SQLCMD -E -S %Server% -i "%temppfad%\SQL-Sicherungstask.SQL" -o "%temppfad%\SQL-Sicherungstask_Schritt_2_von_2_%date:~-10,2%%date:~-7,2%%date:~-4,4%_%time:~-11,2%%time:~-8,2%%time:~-5,2%%time:~-2,2%.log"
|
||||
|
||||
ECHO -
|
||||
ECHO Kopiere Datenbank Sicherung in finalen Pfad (Von %temppfad% nach %finalerpfad% )
|
||||
copy "%temppfad%\*.bak" %finalerpfad%
|
||||
|
||||
ECHO -
|
||||
ECHO Entferne Datenbank Sicherung aus temporären Pfad: %temppfad%.
|
||||
del "%temppfad%\*.bak"
|
||||
|
||||
ECHO -
|
||||
ECHO Entferne Backup-Dateien die aelter sind als %Aufbewahrungszeit% Tage aus %finalerpfad%.
|
||||
C:\Windows\System32\forfiles /P %SicherungsLaufwerk% /M *.bak /C "cmd /c if @isdir==FALSE del @file" /D -%Aufbewahrungszeit%
|
||||
|
||||
ECHO -
|
||||
ECHO Laufwerksmapping wird wieder entfernt.
|
||||
net use %SicherungsLaufwerk% /delete /yes
|
||||
|
||||
ECHO -
|
||||
ECHO Alle Aufgaben wurden abgeschlossen. Beende Programm.
|
||||
exit
|
||||
@ -1,9 +0,0 @@
|
||||
declare @file nvarchar(255)
|
||||
|
||||
SELECT @file = N'E:\DB\Microsoft SQL Server 2008 R2\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\' + REPLACE(convert(varchar,GEtDate(),102),'.','_') + N'_appel_msnav.bak'
|
||||
|
||||
BACKUP DATABASE [appel_msnav]
|
||||
TO DISK = @file
|
||||
WITH INIT,
|
||||
NAME = N'appel_msnav-Vollständig Datenbank Sichern'
|
||||
GO
|
||||
Binary file not shown.
Binary file not shown.
21
current/DD-Core/Backup-xwiki/Backup-xwiki_History.txt
Normal file
21
current/DD-Core/Backup-xwiki/Backup-xwiki_History.txt
Normal file
@ -0,0 +1,21 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.0 - 09.07.2021
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
-------------------------------------legend------------------------------------
|
||||
NEW: = Added a new functionality
|
||||
FIX: = Fixed a Issue with existing functionality
|
||||
CHG: = Changed a existing functionality
|
||||
REM: = Removed a functionality
|
||||
-------------------------------------------------------------------------------
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.0 - 01.11.2019
|
||||
Version 1.0.0.0 - 22.07.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: -
|
||||
Binary file not shown.
Binary file not shown.
@ -1,15 +1,14 @@
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.1.0 - 26.11.2024
|
||||
Version 1.0.0.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Now script can only be executed with admin rights
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.0 - 21.11.2024
|
||||
Version 1.0.0.0 - 30.11.2023
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: -
|
||||
@ -13,7 +13,7 @@
|
||||
# Example: E:\LogFiles\<ScriptName> #
|
||||
# FailSafe Setting is: <ScriptPath>\Logs #
|
||||
####################################################################################################
|
||||
LogPath = E:\LogFiles\Import-FileContentToDB
|
||||
LogPath =
|
||||
|
||||
####################################################################################################
|
||||
# Numerical value how long (in days) log files will be kept. ValidateRange is 0 - 1000 #
|
||||
Binary file not shown.
@ -1,5 +1,13 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 2.3.2.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 2.3.2.0 - 26.02.2025
|
||||
NEW: -
|
||||
FIX: - Fixed issues with removing TempFile in CSV Import methode
|
||||
@ -82,7 +82,7 @@ LogFileKeepTime = 30
|
||||
# Seventh Parameter: <ServiceUserName> #
|
||||
# Set the username which should run this service. #
|
||||
# Can only used in combination with <ServiceUserPassword>. #
|
||||
# By keeping this parameter emtpy, the local system account will run the service. #
|
||||
# By keeping this parameter empty, the local system account will run the service. #
|
||||
# Example: UserAccount #
|
||||
# Example: Administrator #
|
||||
# Example: domain\UserAccount #
|
||||
@ -91,7 +91,7 @@ LogFileKeepTime = 30
|
||||
# Eight Parameter: <ServiceUserPassword> #
|
||||
# Set the password which should run this service. #
|
||||
# Can only used in combination with <ServiceUserName>. #
|
||||
# By keeping this parameter emtpy, the local system account will run the service. #
|
||||
# By keeping this parameter empty, the local system account will run the service. #
|
||||
# Example: 12345 #
|
||||
# Example: password #
|
||||
# Example: securepassword #
|
||||
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.1.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.1.0 - 26.11.2024
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Now script can only be executed with admin rights
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.0 - 21.11.2024
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
-------------------------------------legend------------------------------------
|
||||
NEW: = Added a new functionality
|
||||
FIX: = Fixed a Issue with existing functionality
|
||||
CHG: = Changed a existing functionality
|
||||
REM: = Removed a functionality
|
||||
-------------------------------------------------------------------------------
|
||||
10
current/DD-Core/Maintain-Windows/Maintain-Windows.cmd
Normal file
10
current/DD-Core/Maintain-Windows/Maintain-Windows.cmd
Normal file
@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
|
||||
Dism /Online /Cleanup-Image /ScanHealth
|
||||
Dism /Online /Cleanup-Image /CheckHealth
|
||||
Dism /Online /Cleanup-Image /RestoreHealth
|
||||
sfc /scannow
|
||||
|
||||
Dism /online /Cleanup-Image /StartComponentCleanup
|
||||
Dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
|
||||
cleanmgr
|
||||
Binary file not shown.
@ -0,0 +1,22 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.0 - 01.11.2019
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
-------------------------------------legend------------------------------------
|
||||
NEW: = Added a new functionality
|
||||
FIX: = Fixed a Issue with existing functionality
|
||||
CHG: = Changed a existing functionality
|
||||
REM: = Removed a functionality
|
||||
-------------------------------------------------------------------------------
|
||||
@ -21,7 +21,7 @@ Function Remove-Item-withLogging {
|
||||
Write-LogFile
|
||||
|
||||
.VERSION
|
||||
Number: 1.1.1.1 / Date: 25.04.2017
|
||||
Number: 1.2.0.0 / Date: 25.06.2025
|
||||
|
||||
.PARAMETER Path
|
||||
Give the Full Path, where the Item(s) located, which should be deleted.
|
||||
@ -74,21 +74,17 @@ Function Remove-Item-withLogging {
|
||||
Write-Logfile -LogLine "Found no old Files."
|
||||
Return $False
|
||||
|
||||
} #end if
|
||||
|
||||
ELSE {
|
||||
} ELSE {
|
||||
|
||||
Write-Logfile -LogLine "Deleting old Files (Found: $($Items.count)) :"
|
||||
|
||||
Try {
|
||||
|
||||
$Items | Remove-Item -Path $Item -Force -Verbose -ErrorAction Stop
|
||||
$Items | Remove-Item -Force -Verbose -ErrorAction Stop
|
||||
Write-Logfile -LogLine "Files were removed!"
|
||||
Return $True
|
||||
|
||||
} #end try
|
||||
|
||||
Catch {
|
||||
} Catch {
|
||||
|
||||
Write-Logfile -LogLine "Cannot remove Files!"
|
||||
Write-Logfile -LogLine "Please check your privileges!"
|
||||
@ -98,18 +94,14 @@ Function Remove-Item-withLogging {
|
||||
|
||||
} #end else
|
||||
|
||||
} #end if
|
||||
|
||||
ELSE {
|
||||
} ELSE {
|
||||
|
||||
Write-Logfile -LogLine "You disabled File deletion, they all will be kept."
|
||||
Return $False
|
||||
|
||||
} #end else
|
||||
|
||||
} #end if
|
||||
|
||||
ELSE {
|
||||
} ELSE {
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "DEBUG Info: Write-LogFile - Module does not exist!"
|
||||
Binary file not shown.
@ -1,4 +1,13 @@
|
||||
Version 1.5.2.0 - 09.11.2024
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.5.2.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Version 1.5.2.0 - 09.11.2024
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Updated Module loader to current "Import-CustomModule"
|
||||
@ -32,7 +41,7 @@ REM: -
|
||||
|
||||
Version 1.3.2.0 - 08.07.2021
|
||||
NEW: -
|
||||
FIX: - Fehler beim L<EFBFBD>schen von Logs behoben.
|
||||
FIX: - Fehler beim L schen von Logs behoben.
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
@ -42,14 +51,14 @@ Version 1.3.1.0 - 30.04.2021
|
||||
NEW: -
|
||||
FIX: - Fehler in File Collector Funktion behoben.
|
||||
- Fehler in Zielpfadbestimmung behoben, wenn Datei Attribute ausgelesen wurden.
|
||||
CHG: - File Collector listet nun vorab nicht mehr alle Dateien auf (machte das Skript zu langsam und die Logs zu gro<EFBFBD>).
|
||||
CHG: - File Collector listet nun vorab nicht mehr alle Dateien auf (machte das Skript zu langsam und die Logs zu gro ).
|
||||
REM: -
|
||||
|
||||
-----------------------------------------------------------
|
||||
|
||||
Version 1.3.0.0 - 22.04.2021
|
||||
NEW: - Neuer Parameter f<EFBFBD>r Profile, es muss nun bestimmt werden, ob auch Unterverzeichnisse durchsucht werden (ReclusiveSwitch).
|
||||
- Neuer Parameter f<EFBFBD>r Profile, es muss nun bestimmt werden, wie eine Datei vor der Verarbeitung gepr<70>ft wird (filechecktyp).
|
||||
NEW: - Neuer Parameter f r Profile, es muss nun bestimmt werden, ob auch Unterverzeichnisse durchsucht werden (ReclusiveSwitch).
|
||||
- Neuer Parameter f r Profile, es muss nun bestimmt werden, wie eine Datei vor der Verarbeitung gepr ft wird (filechecktyp).
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
@ -57,7 +66,7 @@ REM: -
|
||||
-----------------------------------------------------------
|
||||
|
||||
Version 1.2.0.0 - 20.04.2021
|
||||
NEW: - Diverse Datumsplatzhalter f<EFBFBD>r den Zielpfad eingef<65>gt (z.b.: %CreationTimeYear%, ...)
|
||||
NEW: - Diverse Datumsplatzhalter f r den Zielpfad eingef gt (z.b.: %CreationTimeYear%, ...)
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
@ -81,7 +90,7 @@ REM: -
|
||||
-----------------------------------------------------------
|
||||
|
||||
Version 1.1.2.0 - 28.02.2019
|
||||
NEW: - %date% Variable hinzugef<EFBFBD>gt
|
||||
NEW: - %date% Variable hinzugef gt
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
@ -90,7 +99,7 @@ REM: -
|
||||
|
||||
Version 1.1.1.0 - 24.02.2017
|
||||
NEW: -
|
||||
FIX: - Fehler in Schleifenz<EFBFBD>hler korrigiert.
|
||||
FIX: - Fehler in Schleifenz hler korrigiert.
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
@ -98,14 +107,14 @@ REM: -
|
||||
|
||||
Version 1.1.0.1 - 01.08.2016
|
||||
NEW: -
|
||||
FIX: - Variablen Bereinigung vervollst<EFBFBD>ndigt.
|
||||
FIX: - Variablen Bereinigung vervollst ndigt.
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
-----------------------------------------------------------
|
||||
|
||||
Version 1.1.0.0 - 29.07.2016
|
||||
NEW: - Neue optionale Parameter verf<EFBFBD>gbar: %RegExGroup and %Replace.
|
||||
NEW: - Neue optionale Parameter verf gbar: %RegExGroup and %Replace.
|
||||
FIX: -
|
||||
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
||||
REM: -
|
||||
@ -114,7 +123,7 @@ REM: -
|
||||
|
||||
|
||||
Version 1.0.1.2 - 07.02.2016
|
||||
NEW: - Aufrufparameter nun verf<EFBFBD>gbar.
|
||||
NEW: - Aufrufparameter nun verf gbar.
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
@ -136,8 +145,8 @@ CHG: -
|
||||
REM: -
|
||||
|
||||
--------------------------Legende--------------------------
|
||||
NEW: = Hinzuf<EFBFBD>gen einer neuen Funktion
|
||||
NEW: = Hinzuf gen einer neuen Funktion
|
||||
FIX: = Korrektur einer vorhandenen Funktion
|
||||
CHG: = <EFBFBD>nderung oder Erweiterung einer vorhandenen Funktion
|
||||
CHG: = nderung oder Erweiterung einer vorhandenen Funktion
|
||||
REM: = Entfernen einer Funktion
|
||||
-----------------------------------------------------------
|
||||
Binary file not shown.
@ -1,5 +1,13 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.1.0.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.1.0.0 - 24.03.2019
|
||||
NEW: - Selectable FileSystem Attribute
|
||||
- Add Argument call
|
||||
Binary file not shown.
@ -0,0 +1,21 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.0.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Version 1.0.0.0 - 04.10.2017
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
-------------------------------------legend------------------------------------
|
||||
NEW: = Added a new functionality
|
||||
FIX: = Fixed a Issue with existing functionality
|
||||
CHG: = Changed a existing functionality
|
||||
REM: = Removed a functionality
|
||||
-------------------------------------------------------------------------------
|
||||
Binary file not shown.
@ -1,5 +1,13 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.1.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.1.0 - 26.04.2017
|
||||
NEW: -
|
||||
FIX: -
|
||||
Binary file not shown.
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.1.1 - 18.08.2025
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: - Script accepts only one config file now
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 1.0.1.0 - 15.02.2017
|
||||
NEW: -
|
||||
FIX: -
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user