From a99583996d5916751920575f517aecddfc850a1a Mon Sep 17 00:00:00 2001 From: Michael Bell Date: Fri, 6 Jan 2017 16:56:21 +0100 Subject: [PATCH 1/2] Added in Region for S3 Sync I noticed the sync script was not working correctly when testing in Frankfurt / Europe. It requires a specific `--region REGION` Great work by the way! --- scripts/ec2gaming.bat.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ec2gaming.bat.template b/scripts/ec2gaming.bat.template index 39ba28c..02015df 100644 --- a/scripts/ec2gaming.bat.template +++ b/scripts/ec2gaming.bat.template @@ -3,6 +3,6 @@ rmdir /Q /S "C:\Program Files (x86)\Steam\steamapps" md Z:\SteamLibrary\steamapps cmd /c mklink /j "C:\Program Files (x86)\Steam\steamapps" Z:\SteamLibrary\steamapps md Z:\Documents -aws s3 sync Z:\Documents s3://BUCKET/Documents +aws s3 sync Z:\Documents s3://BUCKET/Documents --region REGION if %errorlevel% neq 0 exit /b %errorlevel% schtasks /Create /RU USERNAME /RP PASSWORD /F /SC MINUTE /MO 1 /TN "Sync Documents with S3" /TR "aws s3 sync Z:\Documents s3://ec2gaming-639801188054/Documents --delete" From 97f38bc49bb43f1d86f10b7f8c5a0b9ae8db2c66 Mon Sep 17 00:00:00 2001 From: Michael Bell Date: Sat, 7 Jan 2017 07:57:13 +0100 Subject: [PATCH 2/2] Update ec2gaming.bat.template --- scripts/ec2gaming.bat.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ec2gaming.bat.template b/scripts/ec2gaming.bat.template index 02015df..da77a63 100644 --- a/scripts/ec2gaming.bat.template +++ b/scripts/ec2gaming.bat.template @@ -5,4 +5,4 @@ cmd /c mklink /j "C:\Program Files (x86)\Steam\steamapps" Z:\SteamLibrary\steama md Z:\Documents aws s3 sync Z:\Documents s3://BUCKET/Documents --region REGION if %errorlevel% neq 0 exit /b %errorlevel% -schtasks /Create /RU USERNAME /RP PASSWORD /F /SC MINUTE /MO 1 /TN "Sync Documents with S3" /TR "aws s3 sync Z:\Documents s3://ec2gaming-639801188054/Documents --delete" +schtasks /Create /RU USERNAME /RP PASSWORD /F /SC MINUTE /MO 1 /TN "Sync Documents with S3" /TR "aws s3 sync Z:\Documents s3://ec2gaming-639801188054/Documents --delete --region REGION"