Page 1 of 1

Backup Problem

Posted: Wed Feb 18, 2015 9:32 pm
by joerandom
Dear Community

I'm very new to this forum since I never had problem with my vestacp installations. :)

Sadly since a few months I'm not able to automatically run the integrated backup script of vesta.

Please find attached my error.log file.

I've googled around and I've found this to topics probably related to the same issue. I tried everything mentioned in the forum and on github.

viewtopic.php?f=10&t=5143
viewtopic.php?f=10&t=5081

My installation is running on Ubuntu 14.04 (x86_64) on a digitalocean droplet. Everything is up to date (vesta version 0.9.8).

Do you have a hint on this?

Thanks a lot for the great work and great community!

Regards
Joe

-- WEB --
2015-02-18 05:10:02 default.domain
2015-02-18 05:10:02 dXXr.ms
sed: invalid option -- '2'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if SUFFIX supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
-z, --null-data
separate lines by NUL characters
--help display this help and exit
--version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
sed: invalid option -- '2'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if SUFFIX supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
-z, --null-data
separate lines by NUL characters
--help display this help and exit
--version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
2015-02-18 05:10:11 cXXXXXXXXs.me
/usr/local/vesta/func/domain.sh: line 268: 39
43: syntax error in expression (error token is "43")
-- DNS --

Re: Backup Problem

Posted: Sun Feb 22, 2015 3:49 pm
by joerandom
Am I the only one with this problem?

Re: Backup Problem

Posted: Wed Jun 17, 2015 11:14 am
by joerandom
bump

Re: Backup Problem

Posted: Mon Jan 11, 2016 11:22 am
by dobria
I have the same problem on only one of the users.

Code: Select all

-- WEB --
2016-01-11 13:19:01 domain1.com
2016-01-11 13:19:01 subdomain.domain2.bg
sed: invalid option -- '2'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
I use Ubuntu 14.04.3 LTS, Vesta 0.9.8-15

Re: Backup Problem

Posted: Mon Jan 11, 2016 1:35 pm
by dobria
I manually backup the problematic website files and delete the domain from the vestacp web interface.
Then I add it again.
After that vestacp backup was ok.
I tested with /usr/local/vesta/bin/v-backup-user USER

Re: Backup Problem

Posted: Mon Jan 11, 2016 2:13 pm
by skurudo
I think if you face this problem again (if, I wish not, of course), you try to Rebuild web / Rebuild user first.