Automated system to back up local Windows files to AWS S3 | AWS CLI | Task Scheduler(.bat)

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 7

  • @asd-ed8ty
    @asd-ed8ty 3 месяца назад +1

    It's Working.
    Only 2 changes while creating scedule :
    1. Condition : Check on Network : Start only if network connection is available
    2. Settings : Check on Run as soon as possible after scedule start is missed
    Thank you sir!!

  • @DinhGiaBaoK18HCM
    @DinhGiaBaoK18HCM 19 дней назад +1

    I'm from your reccomendation for making a CLI Programme managing file. In this vidieo, it is such an great way to safe time by creating Automated system. However, the project that i am going to do seem like using boto3 like the code file i saw in the 3:00 minutes. Finally my project is kind of, create an python CLI programme using argparse or click and mix with boto3 to interact with the aws s3 to backup,manage file... finnally i have to pack up my file into an execution file by PyInstaller and then send to the end user. Do you have any documents in-depth practical about that field i have mentioned, if yes please guide me. Thanks a lot for your lesson

    • @JasCloudTech
      @JasCloudTech  18 дней назад

      @Dinhgiabaok .. thank you 😊…. I don’t have something specific document … but I can assist with your logic if you get stuck somewhere…. 😊

  • @Anav-r3p
    @Anav-r3p 8 месяцев назад +1

    👍

  • @Abdifitahyusufmohamud
    @Abdifitahyusufmohamud 7 месяцев назад

    source code please

    • @JasCloudTech
      @JasCloudTech  7 месяцев назад +1

      @echo off
      setlocal
      set "AWS_PROFILE=default" :: Use your AWS CLI profile name
      set "S3_BUCKET_NAME=your-bucket-name"
      set "SOURCE_DIR=C:\...you location"
      echo Backing up files from %SOURCE_DIR% to s3://%S3_BUCKET_NAME%
      aws s3 sync %SOURCE_DIR% s3://%S3_BUCKET_NAME% --delete
      endlocal