Once a snapshot is created, Acronis product on Linux does not create a temporary file.
The temporary file is created only if the size of the snapshot data exceeds 12500 snapshotted filesystem blocks (it is 50 MB for a typical ext3 partitions with 4 KB block size).
The temporary file is created in the following default folder:
The name of the file is random, but is similar to acro_cache_XXXXXX.
If necessary, the size of this temporary file grows from zero until the size available on partition that keeps it.
Changing the storage path of the file
Temporary file location may be changed via setting the special environment variable ACRONIS_SNAPSHOT_TMP_DIR applied to process creating snapshot (typically it is BackupAndRecoveryService or TrueImageCmd). To set up this variable for all Acronis programs, it is recommended to add it into the config file:
- For Acronis Backup Cloud / Acronis Backup 12.5: by default config file does not exist. Create the file manually:
# touch /usr/lib/Acronis/system_libs/5.3.0/config
- For Acronis Backup & Recovery 10 choose the config file here: /usr/lib/Acronis/system_libs/config file;
- For Acronis Backup 11.7/11.5 and Acronis Backup & Recovery 11 choose the config file here:
- for 64-bit: /usr/lib/Acronis/BackupAndRecovery/system_libs64
- for 32-bit: /usr/lib/Acronis/BackupAndRecovery/system_libs
How to get the config file path
In fact, you need not to remember exact "config" file path.
If you type content of any our program wrapper script, for example
/usr/sbin/acronis_mms, you'll see:
[root@RHEL52x64 ~]# cat /usr/sbin/acronis_mms
[ -r /usr/lib/Acronis/BackupAndRecovery/system_libs64/config ] && . /usr/lib/Acronis/BackupAndRecovery/system_libs64/config
If the config file does not exist
If the file is absent it is necessary just create it in any text editor, vi, gedit, etc.
After making the changes in the config file please make sure to restart acronis services for the changes to take effect:
- # /etc/init.d/acronis_mms restart
- # /etc/init.d/acronis_agent restart
As we see the script checks "config" file presence and "source"(executes) it if it exists.
The file is useful not only as place for ACRONIS_SNAPSHOT_TMP_DIR environment variable - other variables may be set here.
You need to open/create the file, add line ACRONIS_SNAPSHOT_TMP_DIR=DIRECTORY_NAME and save the file.