Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Backup not creating tar file

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
leemccarthyn
Posts: 1
Joined: Sun Mar 17, 2019 8:36 am

Os: Ubuntu 12x
Web: apache + nginx
Backup not creating tar file
  • Quote

Post by leemccarthyn » Sun Mar 17, 2019 8:38 am

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

ahouse
Posts: 171
Joined: Fri Sep 01, 2017 1:05 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Backup not creating tar file
  • Quote

Post by ahouse » Wed Mar 20, 2019 7:07 pm

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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • 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