Install and Configure the AWS CLI for Windows

Download and run AWS CLI Installer:

Open command prompt by pressing the Windows Key + r and enter cmd and press the OK button. Then type:  aws configure

                            AWS Access Key ID [None]: enter the Access Key Id
                            WS Secret Access Key [None]: enter the Secret Access Key
                            Default region name [None]:  ap-south-1
                            Default output format [None]: json

To use AWS CLI, Create a bat file and schedule your backup

In bat file: 

                        aws s3 mv  D:\Bayyyyy\Autobackups\Backup\   s3://Bayyyyy-backups/SPHERE_BKP/   --recursive

No comments:

Powered by Blogger.