azureazcopy

How Does Setting AZCOPY_JOB_PLAN_LOCATION and AZCOPY_LOG_LOCATION Improve Disk Usage?


I'm using azcopy for file imports, and I'm having my space running out due to temporary files. I'm researching for a solution for the issue.

When I'm reading this section of the documentation, I didn't understand the following part:

Overrides where the files are stored, to avoid filling up a disk.

In my understanding, the log files would be the same size, regardless of where it is stored. How does changing its storage location help reducing the risk of filling up a disk? Do they mean to store the file on another disk? If so, wouldn't it still be equally limited by the amount of storage available?

So I'm not sure whether setting these variables in some way would help solving my problems, or should I look elsewhere. Some explanation on that paragraph in the documentation would be appreciated.


Solution

  • How Does Setting AZCOPY_JOB_PLAN_LOCATION and AZCOPY_LOG_LOCATION Improve Disk Usage?

    The AZCOPY_JOB_PLAN_LOCATION and AZCOPY_LOG_LOCATION settings to manage where AzCopy stores its job plan files and log files.

    AZCOPY_JOB_PLAN_LOCATION: Overrides where the job plan files are stored, to avoid filling up a disk.

    You can refer this MS-Document to improve AzCopy performance by minimizing the number of log entries it creates and disabling length checking.

    Reference: Find errors & resume jobs with logs in AzCopy (Azure Storage) | Microsoft Learn