Backup Problem
Backup Problem
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 --
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
Am I the only one with this problem?
Re: Backup Problem
I have the same problem on only one of the users.
I use Ubuntu 14.04.3 LTS, Vesta 0.9.8-15
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]...
Re: Backup Problem
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
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
I think if you face this problem again (if, I wish not, of course), you try to Rebuild web / Rebuild user first.