0
votes

I have tried running a bash script, batch file and a script file,which utilizes the azcopy utility. The azcopy command copies files from a remote location to an azure blob storage.

AZCOPY /Source:$Source /Dest:$Destination /DestKey:$DestKey /Pattern:*.txt

It runs okay when i manually run the script. When i create a moveit task and run it, I receive a task completed successful.However, no files have been copied to the blob storage. I have tried running the powershell command as well, C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.EXE -NoLogo -NoProfile –ExecutionPolicy Bypass -Command c:\temp\GL_Format_Update.ps1. As mentioned in a stack overflow question.

1

1 Answers

0
votes

I'm not sure how you're infrastructure looks like, but i'd recommend using Azure File Sync. You won't have to use AZCopy nor MoveIT. You should read about it here: https://azure.microsoft.com/en-us/blog/announcing-the-public-preview-for-azure-file-sync/

Azure files would also be a good alternative by attaching a file share, allowing to save files from local access to the cloud.