Page 1 of 1

backup exclusion not work

Posted: Tue Feb 27, 2018 6:55 pm
by Kurogane
Hi,

I've a problem to exclude a directories.

The problem is vestacp even if i exclude a directory still backing those directories and thats causes problems for space for me.

I've a bigger site even if i have enough for a one backup still fail.

Config

Code: Select all

domain.com:public_html/DL:public_html/wp-content/uploads
Logs

Backup Logs

Code: Select all

-- SYSTEM --
2018-02-27 05:10:06 user.conf
2018-02-27 05:10:07 stats.log
2018-02-27 05:10:07 history.log
2018-02-27 05:10:07 backup-excludes.conf
2018-02-27 05:10:07 pam


-- WEB --
2018-02-27 05:10:07 domain.com
2018-02-27 05:10:07 excluding directory public_html/DL
2018-02-27 05:10:07 excluding directory public_html/wp-content/uploads

gzip: stdout: No space left on device
2018-02-27 07:25:06 *** 1 domain ***

-- DNS --
mkdir: cannot create directory ‘/tmp/tmp.PmE5yjJy9r/dns/’: No space left on device
2018-02-27 07:25:06 domain.com
mkdir: cannot create directory ‘/tmp/tmp.PmE5yjJy9r/dns’: No space left on device
mkdir: cannot create directory ‘/tmp/tmp.PmE5yjJy9r/dns’: No space left on device
/usr/local/vesError: dump user_db failed
Space before backup

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
udev             12G     0   12G   0% /dev
tmpfs           2.3G   89M  2.3G   4% /run
/dev/sda1        99G   64G   31G  68% /
tmpfs            12G     0   12G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            12G     0   12G   0% /sys/fs/cgroup
Space after backup

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
udev             12G     0   12G   0% /dev
tmpfs           2.3G   89M  2.3G   4% /run
/dev/sda1        99G   92G  3.3G  97% /
tmpfs            12G     0   12G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            12G     0   12G   0% /sys/fs/cgroup
Home User Space

Code: Select all

# du -shx /home/user/
44G     /home/user/
Home User Space with linux exclude

Code: Select all

# du -shx --exclude=/home/user/web/domain.com/public_html/DL --exclude=/home/user/web/domain.com/public_html/wp-content/uploads /home/user/web/domain.com/public_html/
61M     /home/user/web/domain.com/public_html/
Temp directoy when is generate the backup

Code: Select all

# du -shx /tmp/tmp.PmE5yjJy9r/web/domain.com/
36K     /tmp/tmp.PmE5yjJy9r/web/domain.com/conf
27G     /tmp/tmp.PmE5yjJy9r/web/domain.com/domain_data.tar.gz
24K     /tmp/tmp.PmE5yjJy9r/web/domain.com/vesta
This is a bug or something i do wrong in exclude config?

Re: backup exclusion not work

Posted: Wed Feb 28, 2018 8:15 am
by skurudo
Try this:
domain.com:public_html/DL/:public_html/wp-content/uploads/

Re: backup exclusion not work

Posted: Thu Apr 26, 2018 2:51 pm
by one
Topic is old but anyway I will ask my question here to Kurogane. Which OS you use? I have the same problem on Debian 9.

Re: backup exclusion not work

Posted: Wed Jun 06, 2018 7:36 pm
by vestabel
I have the same problem.

Re: backup exclusion not work

Posted: Sat Jun 30, 2018 8:33 am
by arasaahov
Same problem for me.
never can exclude anything from WEB exclusion interface.

with trailing slash...
Image

user directories works flawlessly..
or without trailing slash....
Image

when I type in exclude path I use colon, not comma
Image