Compare commits

...

3 Commits
v0.6 ... master

Author SHA1 Message Date
mshillam 159b500053 Change schedule download code 2024-03-22 15:28:38 +00:00
mshillam 4e98506825 Change SFTP port to 2122 2024-03-22 14:35:54 +00:00
mshillam 6f1ab625d1 upgrade duplicati to 2.0.7.1_beta 2024-03-22 10:54:21 +00:00
9 changed files with 9 additions and 9 deletions

0
7zSD.sfx Executable file → Normal file
View File

4
config.txt Executable file → Normal file
View File

@ -1,5 +1,5 @@
;!@Install@!UTF-8!
Title="My Dental Backup Installer (t00t)"
BeginPrompt="Run Mats Mad cool setup script?"
Title="My Dental Backup Installer"
BeginPrompt="Run setup script?"
ExecuteFile="setup_duplicati.bat"
;!@InstallEnd@!

4
create_zip.bat Executable file → Normal file
View File

@ -5,7 +5,7 @@ cls
:START
echo.
echo Copyright -- Matthew Shillam -- 2018
echo Copyright -- Matthew Shillam -- 2021
echo.
echo ---------------------------------------------------------------------------
echo %date% %time% - Install started
@ -17,7 +17,7 @@ start /wait 7z.exe a archived_files.7z .\duplicati_install_script\* -r -x!*.git
echo.
echo Archived all files now creating the installer....
echo.
copy /b 7zSD.sfx + config.txt + archived_files.7z Duplicati_installer_v0.4.exe
copy /b 7zSD.sfx + config.txt + archived_files.7z Duplicati_installer_v0.8.exe
echo.
echo All done!

0
duplicati_install_script/bin/WinSCP.com Executable file → Normal file
View File

0
duplicati_install_script/bin/WinSCP.exe Executable file → Normal file
View File

0
duplicati_install_script/bin/duplicati_client.exe Executable file → Normal file
View File

View File

@ -6,7 +6,7 @@ cls
:START
echo.
echo Copyright -- Matthew Shillam -- 2018
echo Copyright -- Matthew Shillam -- 2021
echo.
echo ---------------------------------------------------------------------------
echo %date% %time% - Duplicati Install started
@ -73,7 +73,7 @@ cls
echo Installing duplicati binary...
echo Ensure that you deselect run at startup to ensure service works proper!
echo Also! Ensure you do not run duplicati after install has completed!!
start /wait msiexec /i "%~dp0bin\duplicati-2.0.4.30_canary_2019-09-20-x64.msi"
start /wait msiexec /i "%~dp0bin\duplicati-2.0.7.1_beta_2023-05-25-x64.msi"
goto GETPROGRAMPATH
@ -147,9 +147,9 @@ cls
set FILEDOCUMENTS="schedule-documents-%CLIENTNAME%.json"
set LOCATION="%~dp0bin"
"%~dp0bin\winscp.com" /ini=nul /command ^
"open sftp://mrdownloader@mydentalbackup.co.uk:5349/ -hostkey=""ssh-ed25519 256 PTL6imOWXdhJQEuBThd8yfozcuOtOxpKEZs0hOGZh3c="" -privatekey=""%~dp0bin\id_deployer2.ppk""" ^
"cd /home/mydentalbackup.co.uk/files" ^
"%~dp0bin\winscp.com" /ini=nul /command ^
"open sftp://deployer@mydentalbackup.co.uk:2122/ -hostkey=""ssh-ed25519 256 c3Vk9bRNCbt1GtuJLi1sGbixUAza34dTo/4Bcy31XOk="" -privatekey=""%~dp0bin\id_deployer2.ppk""" ^
"cd www/mydentalbackup.co.uk/files" ^
"lcd C:\" ^
"get %FILEDATABASE%" "get %FILEDOCUMENTS%" "get %FILEXRAYS%" ^
"close" ^