Backup not creating tar file
-
- Posts: 1
- Joined: Sun Mar 17, 2019 8:36 am
- Os: Ubuntu 12x
- Web: apache + nginx
Backup not creating tar file
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?
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
check this:
file: /usr/local/vesta/func/db.sh
replace line 58
to
file: /usr/local/vesta/func/db.sh
replace line 58
Code: Select all
mysqldump --defaults-file=$mycnf --single-transaction -r $1 $2 2> $err
Code: Select all
mysqldump --defaults-file=$mycnf --max_allowed_packet=1024M --single-transaction -r $1 $2 2> $err