Incorrect user size calculation

Hello!
How I can exclude folder /home/user1/files from backup?
I add to exclude USER=‘/home/user1/files’ but v-backup-user ignore it.

cat /usr/local/hestia/data/users/user1/backup-excludes.conf

WEB=''
DNS=''
MAIL=''
DB=''
CRON=''
USER='/home/user1/files'

df -h

Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/nvme-vm--101--disk--0  197G  8.8G  180G   5% /
none                               492K  4.0K  488K   1% /dev
tmpfs                               63G     0   63G   0% /dev/shm
tmpfs                               26G  236K   26G   1% /run
tmpfs                              5.0M     0  5.0M   0% /run/lock
/dev/mapper/nvme-vm--101--disk--1  295G  180G  102G  64% /home/user1/files
tmpfs                               13G     0   13G   0% /run/user/0

du -hs /home/user1/ --exclude=/home/user1/files

867M	/home/user1/

But when I run v-backup-user I get error:

v-backup-user user1

Error: not enough disk space available (183968 mb) to perform the backup  of user1. ( 217107 mb * 2 = 434214 mb).

It is only “files”

Changed to only “files”, but the same error.

cat /usr/local/hestia/data/users/user1/backup-excludes.conf

WEB=''
DNS=''
MAIL=''
DB=''
CRON=''
USER='files'

v-backup-user user1

Error: not enough disk space available (183750 mb) to perform the backup  of user1. ( 217130 mb * 2 = 434260 mb).

v-backup-user does not count in the exclusions, it “just” takes the user size - otherwise we would have to count everything together at backup which will consume a lot of time. Ofc there can be some optimization done to this part, but currently we’re a bit limited with personal ressources.

Maybe has a workaround?
How I can backup user without one catalog?
v-backup-users also not count exclusions?

I am sure it should be exclude at least I know it has been done for /web/

So, maybe has any workaround?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.