Hi! Now I have some problems on restore i-MSCP (1.2.х) on my server
Using backup/restore script
- elif [ $choice -eq 5 ] ; then echo '#### Backuping an i-MSCP ####' read -p 'Please enter the MySQL root password: ' mypass apt-get -y install bzip2 xz-utils mkdir /tmp/imscpbkp cd /tmp/imscpbkp mysqldump -u root --password=$mypass --all-databases > imscp.sql tar cvfJ www.txz /var/www/virtual tar cvfJ mail.txz /var/mail/virtual tar cvfJ config.txz /etc/imscp cd .. tar cvf imscp.bkp imscpbkp cp imscp.bkp /root/imscp.bkp echo Take it from root directory cd /root exitelif [ $choice -eq 6 ] ; then echo '#### Restoring an i-MSCP ####' read -p 'Please enter the MySQL root password: ' mypass apt-get -y install bzip2 xz-utils mkdir /tmp/imscpbkp cp /root/imscp.bkp /tmp/imscp.bkp cd /tmp tar xvf imscp.bkp cd /tmp/imscpbkp tar xvfJ www.txz -C / tar xvfJ mail.txz -C / tar xvfJ config.txz -C / mysql -u root --password=$mypass < imscp.sql rm -f /root/imscp.bkp cd /root echo Restoring complete exit
I have an error during installing packages to the clear system (on wheezy it works great, MariaDB is preinstalled)
- ...
- sasl2-bin spawn-fcgi ssh ssl-cert tcl-expect tcl8.6 tk8.6 x11-common
- x11-utils xbitmaps xterm
- The following packages will be DOWNGRADED:
- mysql-common
- 0 upgraded, 178 newly installed, 1 downgraded, 4 to remove and 2 not upgraded.
- Need to get 70.0 MB of archives.
- After this operation, 258 MB of additional disk space will be used.
- E: There are problems and -y was used without --force-yes
- autoinstaller::Functions::build: An error occured while performing build steps
- [FATAL]
Display More
What can you advise me to solve the problem?