Follow the last blog that I managed to give the root password to the new ipcop installation. The problem that I still have is how to restore my setting in to the new box.
I have tried many times and may possibilities but ipcop always shows error message say something decrypting error (I don't know what it meant but I know I don't like it). I try my way, here what I did:
Restore ipcop setting that backup from another.
I set this machine ip to 192.168.1.254, I call it box #1
Backup
1. login ipcop#1 by web base
2. mount usb
3. Backup ipcop#1 setting to usb-key
4. Log in ipcop #1 by ssh -p 222 root@192.168.1.254
5. Copy ipcop #1:/var/ipcop/backup to usb-key which is mounted at /home/http/html/backup/
**scp or rsync didn't work for me if they work would be easier.
6. unmount usb-key and stick it in to ipcop#2
Retore
1. login ipcop#2 (192.168.1.252) by web base
2. mount usb-key
3. Log in ipcop #2: by ssh -p 222 root@192.168.1.252
4. Install all add-on exactly as it is in the ipcop#1
5. cp 'backup/*' from usb-key to /var/ipcop/backup/
6. unmount usb-key
Now I see the list of backup from the ipcop#1 on this machine
7. from web base click restore from internal drive or fro usb-key not quiet sure but it works.
Happy me again.
Subscribe to:
Post Comments (Atom)
1 comment:
You can add rsync and OpenSSH from this page: http://www.tom-e.de/binary.html
On the box that you want to copy files to you will need to install the ssh client (aka Box #2). By default only sshd (server) is installed. Rsync will need to be installed on both boxes.
Run the following commands on Box #2. (all commands should be on one line)
rsync -av -e 'ssh -p 222' root@192.168.0.1:/var/ipcop/backup /var/ipcop/backup
rsync -av -e 'ssh -p 222' root@192.168.0.1:/home/httpd/html/backup/ /home/httpd/html/backup/
If you have the update accelerator addon installed copy the cache over:
rsync -va --progress -e 'ssh -p 222' root@192.168.0.1:/home/httpd/html/updatecache/ /home/httpd/html/updatecache/
Now re-run the update accelerator addon installation to prepare the cache.
Go to the backup page on Box #2 and restore the backup set that you wish to.
Change the IP address as necessary
Post a Comment