We Recommend

Beginning XML Beginning XML
The perfect resource for beginning XML programmers, this guidebook shows you what XML is, how to use it, and what technologies surround it. The authors build on the strengths of previous editions while covering the latest changes in the XML landscape such as XQuery, RSS and Atom, and Ajax.


Posted By

mjsmagalhaes on 11/14/07


Tagged

xml


Versions (?)


Backup Script(2) - Confg File


Published in: XML 


xml file for the backup script posted previously.


  1. <?xml version="1.0"?>
  2. <ROOT>
  3. <BACKUP file_prefix='backup/pf_' file_suffix='.tar.gz_'>
  4. <COMPRESS path='c++'/>
  5. <COMPRESS path='matlab'/>
  6. <COMPRESS path='latex'/>
  7. <COMPRESS path='python/backup.py'/>
  8. </BACKUP>
  9.  
  10. <MAIL from='username@server.com' to='username.hd@server.com' subject_prefix='Backup PF: '>
  11. <SERVER addr='smtp.server.com' port='25' use_tls='no'/>
  12. </MAIL>
  13.  
  14. <!--<MAIL from='username@gmail.com' to='username.hd@gmail.com' subject_prefix='Backup PF: '>
  15. <SERVER addr='smtp.gmail.com' port='587' use_tls='yes' login='username@gmail.com' password='unfortunately_must_be_plain'/>
  16. </MAIL>-->
  17. </ROOT>

Report this snippet 

You need to login to post a comment.