Server migration?

jeffery

Verified User
Joined
Jan 13, 2004
Messages
177
I am seeking a way to transfer my whole system to a new machine. I have read something about sysbk but still cannot get a way to do this.


Any one suggests? Thanks!:)
 
We now have a method working for us to move an entire DA application from one system to another, as long as both are running a version of RHL/Fedora.

What I don't have now is time to post all the details before the ISP.CON convention, so it'll probably be next week before the details get posted :( .

Jeff
 
Hmm, wouldn't you just need to run a full system backup on DA, transfer the backup to the new machine and extract it? You'd just have to take care when overwriting /etc/passwd and such. Or am I missing something?
 
That would work properly if the system backup was backing up all the required files.

Unfortunately it had left a few out.

I'll try to get the set posted within the next few days.

Jeff
 
I'm looking forward to this as well. A *reliable* full system backup is important for me.

David
 
the question is why isn't there such a tool built in DA.

Migrating from server to server is a nightmare, enven more complicated with the licences binded to the ip/os.
 
There is such a tool built in to DA.

There are a few problems with it.

They need to be fixed.

Jeff
 
the prolem with the built in full server backup is that (for e and until now) it doesnt work.

It looks like a gui for sysbk...

what I would like is a buton I just click on and it gives ma a .tar.gz i gust have to tar -xzvf from / on the targe server.

(yes I am lazzy)
 
hehe ye' may be lazy but what you want is what there should be. In making your before mentioned tarball Direct Admin would have to assume that you were moving to an identical server with an identical operating system and identical partitions at the least.

This might be a bit of a problem for someone wanting to upgrade their server but it WOULD serve the immediate needs of a working full backup system.

The problem is. Who's going to write it? This has been an issue with Direct Admin for so long that it doesn't seem like a priority to them. Although I can't imagine that they haven't lost sales because of it. Even though many people, myself included, just looked at the demo and saw the backup system and assumed that it worked and bought in.

While I love the product and the great ideas that have been implemented it seems that having a working backup system would be at the core of a project like this.

$.02 given :rolleyes:
 
Hi Jeff,

Mind mentioning which files are missng? Shouldn't be too hard to add them to the list (the backup tool itself is essentially pretty simple).

Also, the system backup tool can be fully customized by editing

/usr/local/sysbk/mod/custom.files

(you can choose what files to add to the backup)

To backup a directory and its contents, same thing except edit this file:

c/usr/local/sysbk/mod/custom.dirs

Also slightly related to this issue:

http://www.directadmin.com/features.php?id=446

Mark
 
The problem is I don't have a list in one place; what I have is a complete list of what I did to restore a server from a backup (after the original server was no longer available, so I know it worked).

I've committed myself to gettting this (and a few other things) done over this extended holiday (for us in the US) weekend.

I've also been awaiting your response, or John's, to backing up single directories under /home rather than all of /home, as I have that as well.

I'm willing to attempt to write a complete server backup-restore solution wherein the restore would be automated, but it would require restore to the same OS distribution (same revision, same updates, same software installed, same IP#s).

Frankly, I don't see that as useful, but I could write it.

Unfortunately I don't have time now for any free projects; if i write it now it's going to be written by one of my paid programmers and then it's going to be sold rather than given away.

So I guess the question is will anyone spend money for it?

Jeff
 
I'm in.

I would easily comit to paying $50 to this. Could be more if needed. As long as it would work for FreeBSD. It doesn't seem like a tool like this would be OS specific but I don't know that much about it or I would already have written one ;)

Can we get some other people to chip in and get this done asap? $$ is good motivation. Maybe DA could buy it from you and integrate it into the system. All things being perfect that is :D
 
DirectAdmin Sales said:
Hi Jeff,

Mind mentioning which files are missng? Shouldn't be too hard to add them to the list (the backup tool itself is essentially pretty simple).

Also, the system backup tool can be fully customized by editing

/usr/local/sysbk/mod/custom.files

(you can choose what files to add to the backup)

To backup a directory and its contents, same thing except edit this file:

c/usr/local/sysbk/mod/custom.dirs

Also slightly related to this issue:

http://www.directadmin.com/features.php?id=446

Mark

I want to confirm which files / directories should be backed up.

Files :
/etc/exim.conf
/etc/exim.pl
/etc/system_filter.exim
/etc/exim.cert
/etc/exim.key
/etc/proftpd.conf
/etc/proftpd.vhosts.conf
/etc/proftpd.passwd
/etc/hosts
/etc/named.conf
/etc/resolv.conf

Directories:
/home
/usr/local/directadmin
/usr/local/frontpage
/var/named
/var/spool/virtual
/var/spool/mail
/var/www
/var/lib/mysql
/var/log
/etc/virtual

Is that all?
 
Back
Top