Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

backup exclusion not work

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Kurogane
Posts: 11
Joined: Thu Apr 21, 2016 7:27 am

backup exclusion not work
  • Quote

Post by Kurogane » Tue Feb 27, 2018 6:55 pm

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?
Last edited by Kurogane on Wed Feb 28, 2018 9:02 am, edited 4 times in total.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: backup exclusion not work
  • Quote

Post by skurudo » Wed Feb 28, 2018 8:15 am

Try this:
domain.com:public_html/DL/:public_html/wp-content/uploads/
Top

one
Posts: 392
Joined: Tue Sep 15, 2015 4:11 pm

Os: Debian 8x
Web: apache + nginx
Re: backup exclusion not work
  • Quote

Post by one » Thu Apr 26, 2018 2:51 pm

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.
Top

vestabel
Posts: 10
Joined: Tue Jun 05, 2018 5:16 am

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: backup exclusion not work
  • Quote

Post by vestabel » Wed Jun 06, 2018 7:36 pm

I have the same problem.
Top

arasaahov
Posts: 1
Joined: Sat Jun 30, 2018 3:24 am

Os: Debian 8x
Web: apache + nginx
Re: backup exclusion not work
  • Quote

Post by arasaahov » Sat Jun 30, 2018 8:33 am

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
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password