Razif Jemaat 1 Report post Posted June 6, 2008 (edited) Saya ada soalan. Dalam linux, semua e-mail dlm /var/mail kan? Jd, kalu nak backup, cuma copy folder tu, masuk dlm backup, bila kat server baru nnt, boleh ke copy paste je backup td ke server baru? Edited June 6, 2008 by Razif Jemaat Quote Share this post Link to post Share on other sites
eazt 0 Report post Posted June 6, 2008 depend on konye configuration la. n ko gune MTA ape?satu lagi, kalo ko nak copy paste email tu sbagai backup, byk yg ko kene pk. bile ko copy, dier akn tukar ownership fail2 yang ko copy tu ke user yg tgh ko pakai. contohnye kalo ko gune root time nak copy paste, dier akn tukar ownership tu ke root.mender ni akan ader masalah kalo ko nak copy balik ke box baru kalo jadi ape2 sbab MTA ko x dpt nak read and write fail2 yang ko dah paste tadi. So, ko kene tukar balik sumer fail ko tu ke ownership yang MTA ko pakai.aku cadangkan ko gune la RAID. senang sket keje backup2 ni. Quote Share this post Link to post Share on other sites
athlon_crazy 0 Report post Posted June 7, 2008 guna webmin kalau takut, export dari nix lama ke nix baru skali user home, passwd, group & shadow Quote Share this post Link to post Share on other sites
Razif Jemaat 1 Report post Posted June 7, 2008 guna webmin kalau takut, export dari nix lama ke nix baru skali user home, passwd, group & shadowKalu guna webmin, mcm mana tu? Quote Share this post Link to post Share on other sites
athlon_crazy 0 Report post Posted June 8, 2008 Dari webmin import user guna batch file sama ada ko upload, copy paste & ko bagi nama target server. Tapi aku prefer ko guna command scp :scp source_server user@destination_serverCth: Backup semua yg berkenaan dalam nix lama (SOURCE)tar -cvf home.tar /home tar -cvf mail.tar /var/mailHantar Everything ke nix baru (DESTINATION)scp home.tar [email protected]:/home/user (kenapa aku x cadang scp the whole directory, anggap je .tar tu sebagai backup & selamat)scp mail.tar [email protected]:/home/user (kenapa aku x cadang scp the whole directory, anggap je .tar tu sebagai backup & selamat)scp /etc/passwd [email protected]:/etcscp /etc/shadow [email protected]:/etcscp /etc/group [email protected]:/etcscp /etc/gshadow [email protected]:/etcMake sure, permission mesti sama.Lepas tu cuma tinggal extract .tar tu ke dalam folder yg bersesuaian dgn nix baru & pastikan passwd, group, shadow dah settle baru extract. Persoalan sama ada, bleh x source MTA ngan destination MTA berlainan atau tidak, aku x berani jawab. As long ada backup semua bleh jadi. Quote Share this post Link to post Share on other sites
Razif Jemaat 1 Report post Posted June 9, 2008 Terima kasih. Tgh nak cuba. Apa2 nnt, sy bgtau. Quote Share this post Link to post Share on other sites