Not enough disk space available to preform the backup

Hello, Dear Friends!

I have a question about a backup copy on a server where the space has been used up.
The instructions say to move it to a remote storage.
https://hestiacp.com/docs/server-administration/backup-restore.html#not-enough-disk-space-available-to-preform-the-backup

My question is difficult for me because the backup copy is created on the server (where the free space has been used up) and sent to a remote storage.
The documentation says that before creating a backup copy, for security purposes, the free space on the disk is first measured 2X of the used space, and then a copy is created if there is enough space.
My copy is not created and gives an error in the log:

================================
kolbaso
--------------------------------

Error: not enough disk space available (7408 mb) to perform the backup  of kolbaso. ( 13488 mb * 2 = 26976 mb).

--------------------------------

There are 250 gigabytes in the HDD storage.
The server disk is 30 gigabytes

So now it turns out that there is no possibility to make a backup now?
What do you think, friends, maybe someone has encountered this, what should I do?
Is it possible to make settings so that the backup copy is immediately created on a remote storage?

Please tell me, who has experience.

Hi, mmm, I’m not sure, I understand you correctly, but as I see it, there are 3 options

  1. Log in to your server, for example, via FileZilla and delete old copies from the /backup folder, or save them on your computer
  2. Use rsync to transfer to a remote server from /backup, for example, file storage, and then delete it
  3. Configure remote storage for backapp, and disable local storage in the Hestia panel

Yes, that’s right.
You need to follow these steps, this is how you configure the option to store backups on a remote resource.
Now let’s take a break and relax.
Because we’ve fulfilled all the conditions in the documentation and will try to understand if it will work.
What happens when you run the backup script.

  1. The script analyzes the disk size and if the used user space of 2x finds a place on the disk, then the backup is created.
    If it doesn’t, the script stops for security reasons for the system.
    We made sure that there is enough space and it will work if a backup is created.
  2. If the script stopped for security reasons, after measuring the free space, then there will simply be nothing to send to the remote resource.

So, the backup is created locally, even if we correctly performed all the settings in the example you gave, and the storage will be successfully updated with new archives on schedule, this does not guarantee that we will receive a backup copy of the account there, the size of which is 2x greater than the size of the free space.
If the disk space used by the user is 2x less than the free disk space, then a backup will be created and sent to the remote storage.

Now, here is the question of the topic.
-Is it possible to make the script measure the availability of free space on the remote storage and create a backup there right away?
I would like to know how to do this

Best regards,
PS I tried very hard to explain, because I want to be useful as a token of gratitude for the support of my colleagues)

Again if I understood correctly then)

  1. is your disk smaller than the backup size?
  2. If so, maybe you should add some space?

I don’t think this will work, because as you said correctly, a copy is created first, then transferred to the remote storage, and then deleted.
But if this is not so, and the creators of Hestia will correct me, then I myself wonder if this is possible))

Newly introduced restic / incremental backups will allow for it.

1 Like

Some hostings provide an additional hdd disk service.
It can be mounted to the backup folder and the script thinks that it is working with a local disk.
Here is a question for the developers. Will the backup script work in this case if the hdd disk is mounted as an additional one, and the backup copy is created locally

Yes that will work fine

Thank you for your advice.
The incremental copies tool is great, we were able to set it up and make a backup copy.
It is interesting that there are many different files in the user folder, and not an archive, as expected.
Now the question arises, how to restore.
Maybe someone has documentation, many thanks

Here is another question.
Everything is configured according to the instructions, in the CLI
A schedule has appeared in the control panel interface, how many and what copies to store.
One thing is not clear, automatic backups are not going.
Everything is done manually correctly, we leave it for several days, nothing changes. I would like the backups to be updated.
Please tell me, who has similar experience.

Thank you, Friends