Miniha
Aus metasec wiki
Version vom 16. September 2010, 10:43 Uhr von Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „zphone_sync_nodes.sh <pre> #!/bin/bash if [ -e /etc/metasec/ha.conf ];then . /etc/metasec/ha.conf else exit fi rsync -az $node1:/var/www/* /var/www/ rsync -az…“)
zphone_sync_nodes.sh
#!/bin/bash if [ -e /etc/metasec/ha.conf ];then . /etc/metasec/ha.conf else exit fi rsync -az $node1:/var/www/* /var/www/ rsync -az $node1:/tftpdboot/* /tftpdboot/ rsync -az $node1:/var/lib/asterisk/* /var/lib/asterisk/ rsync -az $node1:/var/spool/asterisk/* /var/spool/asterisk/ rsync -az $node1:/etc/asterisk/* /etc/asterisk/ rsync -az $node1:/etc/exim4/* /etc/exim4/ rsync -az $node1:/etc/hylafax/* /etc/hylafax/