Hello,
First of all, after clicking Ask Question in this forum, I see this forum description: "Windows Azure Online Backup is a cloud-based backup solution for Windows Server 2012, Windows Server 2012 Essentials, and System Center Data Protection Manager
2012 SP1". Hopefully that has been expanded to include current versions of Windows and Linux?
Had some trouble with Azure file restore under Ubuntu.
The feature video
https://azure.microsoft.com/en-us/blog/instant-file-recovery-from-azure-linux-vm-backup-using-azure-backup-preview/ shows the rep running a bash script ending in .sh. But now the script is in Python (.py).
The instructions
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
say, "From the download location (usually the Downloads folder), right-click the executable or script and run it with Administrator credentials." Um, I don't think the Ubuntu command line supports right-clicking and running as Administrator.
Trying to follow the video example, I uploaded the script to my Ubuntu machine and tried "sudo bash restore.py" and got this:
restore.py: line 2: import: command not found
restore.py: line 3: import: command not found
restore.py: line 4: import: command not found
restore.py: line 5: import: command not found
restore.py: line 6: import: command not found
restore.py: line 7: import: command not found
restore.py: line 8: import: command not found
restore.py: line 9: import: command not found
from: can't read /var/mail/datetime
restore.py: line 12: syntax error near unexpected token `('
restore.py: line 12: `def supported_os_msg():'
Well duh, I can't use bash on a Python script. So I went searching on how to run a Python script in Ubuntu. Simple answer fromhttps://askubuntu.com/a/244380:
chmod +x restore.py
./restore.py
Works pretty well after that.
Could you please update the documentation to list the steps for running the Python script? And perhaps update the forum description to reflect the currently supported OSs?
Thanks,
Mark Berry