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.
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?
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
tar: Error exit delayed from previous errors.
… failed! See the progress output above for the reason why.
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.