ispCP - Board - Support
[HOWTO] Backup and Restore complete Domain - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HOWTO] Backup and Restore complete Domain (/thread-9699.html)

Pages: 1 2 3 4 5 6 7 8


RE: [HOWTO] Backup and Restore complete Domain - Mr.Sisko - 02-24-2011 04:37 AM

I've got some bad news:

after a restore from 1.0.6 to 1.0.7, all password's from my users are wrong, like mail, mysql and the panell.

Did some body notice that?

My System: Debian Lenny fresh installed today, with all updates on a Root-Server. I'm used your brand new script of the contrib Folder. The old Script are Dated from Feb 2010 (whitch i'm make the backup).

Are there anybody who like to help me?

Greetz to the great Community.

Peter

P.S.: excused me about my bad english


RE: [HOWTO] Backup and Restore complete Domain - alecksievici - 03-29-2011 07:34 AM

Thanks for the migration solution, it works great.

Also, as i had a lot of domains to move around i made a little bash script that takes the heat of my head.

Code:
touch /var/www/ispcp/backup-restore/backup.sh
chmod +x /var/www/ispcp/backup-restore/backup.sh
echo "#!/bin/bash
DIRS=`ls /var/www/virtual/`
PASS="password"

for D in $DIRS
do
   php /var/www/ispcp/backup-restore/backup.php $D $PASS
done" > /var/www/ispcp/backup-restore/backup.sh
/var/www/ispcp/backup-restore/backup.sh

Rsync on you primary server (old server)
Code:
rsync -r -a -v -e "ssh -l root -p 22" --delete /var/www/ispcp/backup-restore/archive/ NEW-SERVER-IP:/var/www/ispcp/backup-restore/archive/

And now on your new server
Code:
touch /var/www/ispcp/backup-restore/restore.sh
chmod +x /var/www/ispcp/backup-restore/restore.sh
echo "#!/bin/bash
BKPS=`ls /var/www/ispcp/backup-restore/archive/ | sed 's/\(.*\).........../\1/'`
PASS="password"

for D in $BKPS
do
   php /var/www/ispcp/backup-restore/restore.php $D $PASS
done" > /var/www/ispcp/backup-restore/restore.sh
/var/www/ispcp/backup-restore/restore.sh

Good luck!


RE: [HOWTO] Backup and Restore complete Domain - WarCow - 07-03-2011 11:27 AM

How can I get get scripts? SVN seems to be down.


RE: [HOWTO] Backup and Restore complete Domain - UncleSam - 07-29-2011 03:35 AM

This backup solution is no longer doing a backup of my email adresses (just the email name but not the mails).

I have default ispcp courier/postfix server with tls (postfix) and ssl (courier pop and imap) support. Changed nothing else.

I created a backup of /var/mail/ folder but cant restore it by copying it back to /var/mail/

Any idea?

Also tried to restore domains with
Code:
php restore.php -ip xxx.xxx.xxx.xxx domain.tld password
and with server ip id
Code:
php restore.php -ip 2 domain.tld password
but it created all with the first ip - is this option "-ip" working?


RE: [HOWTO] Backup and Restore complete Domain - pstanbra - 08-18-2011 09:22 PM

Doesn't work for me ...

PHP Fatal error: Class 'Config' not found in /var/www/ispcp/backup-restore/includes/boot.php on line 12


RE: [HOWTO] Backup and Restore complete Domain - pstanbra - 08-19-2011 07:27 PM

anyone?


RE: [HOWTO] Backup and Restore complete Domain - rmb - 10-11-2011 09:55 PM

i got the same error as pstanbra, and one other:
Quote:PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mhash.so' - /usr/lib/php5/20090626/mhash.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Fatal error: Class 'Config' not found in /var/www/ispcp/backup-restore/includes/boot.php on line 12

Fatal error: Class 'Config' not found in /var/www/ispcp/backup-restore/includes/boot.php on line 12
any solutions?
greets


RE: [HOWTO] Backup and Restore complete Domain - rmb - 10-22-2011 09:03 PM

no one?


RE: [HOWTO] Backup and Restore complete Domain - RouterRat - 01-21-2012 06:53 PM

Hi everyone,

I am not very experienced but have been using Linux and ispCP for a while now.
Don't want to take the level of this conversation to ground level but I am having an issue I guess a funny one for you to respond.

Instructions sounded clear so I wanted to give a try and move my clients to my bigger server.

I am typing
svn export http://www.isp-control.net:800/ispcp_svn/branches/backup-restore
and getting -bash: svn: command not found
what am I supposed to install ? svn?

any help appreciated, also is there a link for these operations in documentation tab?

btw, as "Restore last backup" option did not work I am going to try this. It said the request was queued but never done anything.

Thanks.


RE: [HOWTO] Backup and Restore complete Domain - ephigenie - 01-22-2012 05:12 PM

yes please install svn.