Linux to FreeBSD movement problem.

4 posts / 0 new
Last post
#1 Thu, 01/26/2012 - 06:37
mali11011

Linux to FreeBSD movement problem.

I am trying to move my sites to a new server (FreeBSD 7.4). I created full backups at linux machine. When i try to restore at the new server gaves error.

./public_html/wp-content/plugins/google-analytics-for-wordpress/wp-gdata/: Attempt to write to an empty file

This error occours because of empty folders.

I can not figure how to solve.

Thanks for help.

Sat, 01/28/2012 - 16:04
andreychek

Howdy,

Hmm, that's an unusual problem... it should simply be untarring an archive, I'm not sure why you'd run into the issue you're describing.

Did the domain, or that particular directory that you're using for the homedir, already exist on the target server when restoring that backup?

-Eric

Fri, 02/10/2012 - 18:01 (Reply to #2)
Hete

The server is bran new, virgin ! and i just install Virtualmin (works fine if i manually create a virtual server.. ) but really won't restore backup :

Extracting TAR file of home directory .. .. TAR failed!

./: Attempt to write to an empty file ./.gnupg/: Attempt to write to an empty file ./.gnupg/private-keys-v1.d/: Attempt to write to an empty file ./Desktop/: Attempt to write to an empty file

...... etc..... tar: Error exit delayed from previous errors.

.. failed! See the progress output above for the reason why.

Sat, 02/11/2012 - 19:02
andreychek

Howdy,

Can you try installing the gtar package (GNU Tar) onto your system, and then attempt the restore again?

It sounds like the issue you're seeing may be due to a bug in the default version of tar available on FreeBSD.

-Eric

Topic locked