https://tossolution.com/2019/03/movebaktos3/
Scheduling an job to move the .bak file from AWS EC2 box to S3 using an simple script and Task Scheduler