CONTENTS
#contents
----
Lastmodified &lastmod;
----
*MailServerの移行 [#f0548e70]

/root/bin/rsync_to_new_mail_server.sh

 #!/bin/sh
 #/usr/local/bin/rsync -av --inplace --exclude '*.core' --exclude '/usr/Backups/*' --exclude '/usr/ports/*' --exclude '/var/db/freebsd-update/' / sun1.smb.net:/usr/Backups/hotshot/
 /usr/local/bin/rsync -av --inplace /usr/home/ sun1.smb.net:/usr/home/ && \
 /usr/local/bin/rsync -av --inplace /usr/local/mailman/ sun1.smb.net:/usr/local/mailman/ && \
 /usr/local/bin/rsync -av --inplace /var/mail/ sun1.smb.net:/var/mail/ && \
 /usr/local/bin/rsync -av --inplace /usr/local/etc/apache24/ sun1.smb.net/usr/local/etc/apache24/ && \
 /usr/local/bin/rsync -av --inplace /usr/local/etc/postfix/ sun1.smb.net/usr/local/etc/postfix/ && \
 



 # grep sun1 /usr/ -r
  
 /usr/local/etc/amavisd.conf:$myhostname = 'sun1.smb.net';  # must be a fully-qualified domain name!

----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS