I am using a Hostinger VPS and enabled the Backup role. I also enabled backups for my website. However, within just a few days, my VPS disk usage increased by more than 300GB and quickly became full.
I contacted Hostinger technical support and received the following reply:
“I think monarx added a new default to exclude this dir. If not, make sure you add /var/local/enhance/containers to /etc/monarx-agent.conf.”
Following their suggestion, I added this line to /etc/monarx-agent.conf:
exclude_dirs = /var/local/enhance/containers
After that, I tried to delete the previously generated extra files to reduce disk usage. Unfortunately, I deleted the wrong files and my website became inaccessible.
Before deleting the files, I had already used "Download website data" to download my site data. Then I tried to restore the site using "Upload backup" with the data I downloaded, but the website did not recover successfully. In the end, I had to use other methods to restore the website to an older version.
My questions are:
How can I properly avoid this kind of backup-related disk space issue on a Hostinger VPS? Do I need to manually add
exclude_dirs = /var/local/enhance/containers
every time I create a new VPS?
Why couldn’t I restore my website using the data downloaded via "Download website data"? Did I make a mistake during the restore process?