K
kyoo
Guest
I'm receiving an error message when I try to restore using psarestore. I've done the backup using this version:
[root@web1 backup]# rpm -qf /usr/local/psa/bin/psarestore
psa-bu-7.5.4-rh7.3.build75050926.17
And I'm doing the restore using this version:
[root@clone plesk]# rpm -qf /usr/local/psa/bin/psarestore
psa-bu-7.5.4-rhel4.build75050926.17
So the versions are the same, except the OS's. While doing the restore, I receive several "sh: - : invalid option" errors at various sections of the restore process. Two errors are shown.. others include while restoring directories.. it seems to be in between virtualhosts. Sometimes it occurs after creating the mysql DB for one virtual host and before the next domain's restoring directories step.
Any ideas? Things are still restoring, so I don't know yet if there are any obvious problems. This is my trial run. Trying to prepare for the real migration. I'd like to figure out the problem before the real run.
Thanks! --Kyoo
Saving certificate web1 public key ... done
Saving certificate web1 private key ... done
sh: - : invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
sh: - : invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Restoring directory: /var/www/vhosts/domain1.com/ ... done
[root@web1 backup]# rpm -qf /usr/local/psa/bin/psarestore
psa-bu-7.5.4-rh7.3.build75050926.17
And I'm doing the restore using this version:
[root@clone plesk]# rpm -qf /usr/local/psa/bin/psarestore
psa-bu-7.5.4-rhel4.build75050926.17
So the versions are the same, except the OS's. While doing the restore, I receive several "sh: - : invalid option" errors at various sections of the restore process. Two errors are shown.. others include while restoring directories.. it seems to be in between virtualhosts. Sometimes it occurs after creating the mysql DB for one virtual host and before the next domain's restoring directories step.
Any ideas? Things are still restoring, so I don't know yet if there are any obvious problems. This is my trial run. Trying to prepare for the real migration. I'd like to figure out the problem before the real run.
Thanks! --Kyoo
Saving certificate web1 public key ... done
Saving certificate web1 private key ... done
sh: - : invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
sh: - : invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Restoring directory: /var/www/vhosts/domain1.com/ ... done