Page 1 of 1

Backup not creating tar file

Posted: Sun Mar 17, 2019 8:38 am
by leemccarthyn
Hi, i have 3 users on my server, 2 are small one is larger.

The vesta backup cron/command will backup the smaller ones fine with userbackup.tar file

It is not creating a .tar file for larger user, the last one was in novembers and was 3gb in size

I have tried doing it via console
v-backup-user user

this ends with
grep: /usr/local/vesta/data/templates/web/nginx/.stpl: No such file or directory
wc: /usr/local/vesta/data/templates/web/nginx/.stpl: No such file or directory
Error: can't parse template /usr/local/vesta/data/templates/web/nginx/.stpl

any ideas?

Re: Backup not creating tar file

Posted: Wed Mar 20, 2019 7:07 pm
by ahouse
check this:

file: /usr/local/vesta/func/db.sh
replace line 58

Code: Select all

mysqldump  --defaults-file=$mycnf --single-transaction -r $1 $2 2> $err
to

Code: Select all

mysqldump  --defaults-file=$mycnf --max_allowed_packet=1024M --single-transaction -r $1 $2 2> $err