Copying files over a network

C M Reinehr cmr at amsent.com
Mon Dec 22 15:17:42 PST 2008


Hi Rick,

On Mon 22 December 2008 12:34, Rick wrote:
> Hi all,
>
> I have an old mail/web/ftp server based on SME Server. I want to build a
> new server and will need to copy all my email accounts from the old server
> to the new server.
>
> The old server is OLD, and does not support USB. I'm sure there is a way to
> copy files/directories over the network but don't know the proper
> command(s). I'd like to do something like cp -R but between two servers. Is
> this possible?

Well, if the old server is running ftp, then that's probably the easiest way 
to transfer your files. Update your ftp configuration to allow you to log in 
from your new server. Archive your files with tar and copy them into the ftp 
directory where you can grab (get) them from the new server.

> Also, what linux distribution is favored these days? OpenSUSE, Gentoo,
> Fedora?

Debian, of course! ;-)

> My current setup uses, I think, qmail. The directory structure looks like
> this:
> drwx------    5 rwb      rwb          4096 Dec 21 04:24 .
> drwxr-xr-x   38 root     root         4096 Oct  9 16:15 ..
> drwxr-x---    2 rwb      rwb          4096 Aug  9  2005 home
> drwx------    2 rwb      rwb          4096 Jun  5  2008 Mail
> drwxr-x---    6 rwb      rwb          4096 Aug  9  2005 Maildir
> -rw-------    1 rwb      rwb           415 Dec 20 10:42 procmail.log.1
> -rw-------    1 rwb      rwb           374 Dec 12 16:11 procmail.log.2
> -rw-r--r--    1 rwb      rwb          1220 Oct  1 21:09 .procmailrc
> -rw-r-----    1 rwb      rwb           474 Oct 14  2005 .qmail
> lrwxrwxrwx    1 root     admin           6 Aug  9  2005 .qmail-default ->
> .qmail
>
> I am thinking about using postfix, and setting things up as decribed here:
> http://flurdy.com/docs/postfix/#software
>
> (except, maybe, not using Ubuntu) I will want something compatible with my
> current mail setup so I can copy all my old messages.
>
> Comments and suggestions are greatly appreciated.
>
> ~Rick

HTH!

cmr

-- 
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



More information about the Linux-users mailing list