Fixing /tmp Or /var/tmp Space Issues On CPanel (Acronis Backup Error)

Fixing /tmp or /var/tmp Space Issues on cPanel (Acronis Backup Error)

Acronis Cyber Protect may fail backups if the server’s /tmp or /var/tmp partitions run out of space. This commonly happens on cPanel servers where /tmp is a small loop-mounted filesystem created by /scripts/securetmp.

To resolve this, you can bind-mount /var/tmp to a larger directory such as /home/tmp.

Follow these steps on your server via SSH:

  1. Create a new temporary directory:
    mkdir -p /home/tmp
    chmod 1777 /home/tmp
  2. Bind-mount it over /var/tmp:
    mount --bind /home/tmp /var/tmp
  3. Make the change persistent by adding this line to /etc/fstab:
    /home/tmp   /var/tmp   none   bind   0  0
  4. Reload mounts:
    mount -a

After applying the bind mount, /var/tmp will use the larger space available on /home, preventing Acronis backup failures caused by insufficient temporary storage.

Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 16

Need more information or have a question ?