migrating from freebsd 5.1 to centos 5.2

steekerhosting

Verified User
Joined
Jul 11, 2008
Messages
8
I am going to be migrating from freebsd 5.1 to a new server running centos 5.2. Will I be able to use the backups generated by directadmin on the freebsd 5.1 box to move everything over, or will I need to do it all manually? Just not sure if it will work cross platform or if it only works to restore to the same platform.

Thanks
 
there is a small problem when you restore bsdtar backups with gnu tar. DirectAdmin threats notify about additional headers as error and doesn't restore backup.
You need just repack them by executing command in the directory with backups.
As I remember, it is:
mkdir temp; ls | grep ".tar.gz" | while read b; do mv $b temp; cd temp; tar zxf $b; rm -f $b; tar zcf $b domains/ backups/; mv $b ../; cd ..; rm -rf temp/*; done; rmdir temp
 
proHSP: thanks for the heads up.

would I have to repack once on the new server, or can I repack on the old freebsd server?
 
Back
Top