Dear All,
i need to copy mail files from my REDHAT Linux old server to my CENTOS new server
these files in mbox formay in/var/mail directory
i need to preserve permissions as well the the modification date n time
i tried using scp it works fine but i can the file permissions r not preserved but the date n time is preserved
if i try rcp it gives me error xx.yy.zz.1: Connection refused i have the .rhosts file also
apprecite your hep
regards
simon
simon wrote:
Dear All,
i need to copy mail files from my REDHAT Linux old server to my CENTOS new server
these files in mbox formay in/var/mail directory
i need to preserve permissions as well the the modification date n time
i tried using scp it works fine but i can the file permissions r not preserved but the date n time is preserved
use tar, tar them up into one big file, then scp that file across, then untar them.
Cheers,
Michael
--On Saturday, July 28, 2007 10:55 AM +0400 simon mailadmin@baladia.gov.kw wrote:
i need to copy mail files from my REDHAT Linux old server to my CENTOS new server
these files in mbox formay in/var/mail directory
i need to preserve permissions as well the the modification date n time
rsync and dump/restore are another couple of options.