View Single Post
  #129  
Old 17th July 2011, 06:42
fordwrench fordwrench is offline
Member
 
Join Date: Apr 2007
Posts: 58
Thanks: 6
Thanked 4 Times in 2 Posts
Default

I have a server that has debian lenny and ispconfig via the perfect server howto.

I am trying to migrate to a new server I have created with debian squeeze viat the perfect server howto.

I make my backup and when I try to restore I get the following:



oot@srv1:~/scripts# sh /root/scripts/backres.sh db all 2011-07-16
date: invalid date `07/'
/root/scripts/backres.sh: line 448: [: : integer expression expected

You want to restore db all to date 2011-07-16.

Please input "yes" if the above is ok with you and press [ENTER]: yes

Restoring all mysql databases from date 2011-07-16 to local server:
touch: cannot touch `/tmp/tmpbck/datestart': No such file or directory
touch: cannot touch `/tmp/tmpbck/dateend': No such file or directory
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
mysql: unknown option '-x'
All restore jobs done!
Database all restored to date 2011-07-16!
/root/scripts/backres.sh: line 573: /tmp/tmpbck/maildata: No such file or directory


Can you please give me some insight as to what the problem might be.
Reply With Quote