An Alexa skill to back up your devices. You can add a new device to back up or choose from the existing list of the devices to back up.
You are required to leave the Alexa Backup
script running in the background. The script will periodically ping AWS and check for a backup instruction.
First time users are required to enter the passcode in the GUI console as mentioned below. Details will be stored on file. Afterwards, the script will start automatically when ever the user logs in his computer. You can also manually restart the script by opening/executing the BackMeUp.bat
file.
The code is a proof of concept, and will work properly on Windows OS only. Non Windows Users can still use Alexa-Backup by commenting out this line in backup.py
.
-
Use
pip install -r requirements.txt
to install all dependencies (assuming you have Python). -
Alexa shall backup all content present in the directory where this folder is stored.
-
The working directory can be changed by editting
cfg['CWD']
in thesettings.py
file. -
The download directory can be changed by editting
cfg['DOWNLOAD']
in thesettings.py
file. -
It is advisable to have a default bucket to upload to. This can be set in the
.\user\bucket
file.
-
Create a IAM account. For help, refer to this document.
-
Get your Access Key, Secret Access Key and Bucket Name. The Bucket name will be from your AWS s3 account, and AWS Access Key and Secret Key will be from your AWS IAM.
-
Open/Execute
BackMeUp.bat
. -
Fill the Access Key, Secret Key and Bucket Name fields with the above respectively.
-
Say to Alexa,
"Back me up"
. -
If you are backing up a new device, ask Alexa to
"Add a new device"
. -
Say to Alexa,
"The device name is {device Name}"
. -
If you are backing up a existing device, say
"Backup {device name}"
-
Enter the Passcode given by Alexa in the Passcode field.
-
Submit the request.