Changes between Version 19 and Version 20 of SysAdmin/Pootle


Ignore:
Timestamp:
05/24/13 11:12:23 (12 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SysAdmin/Pootle

    v19 v20  
    126126If the script fails, check for the presence of a ` in a T("") - this causes the languages.py to reset the languages/* to default &/or stop web2py2po from working!
    127127
    128 
     128=== Backups ===
     129{{{
     130cat << EOF > "/usr/local/bin/backup"
     131#!/bin/sh
     132NOW=\$(date +"%Y-%m-%d")
     133tar cvf /root/po-\$NOW.tar
     134gzip -9 /root/po-\$NOW.tar
     135mysqldump pootle> /root/backup-\$NOW.sql
     136OLD=\$(date --date='7 day ago' +"%Y-%m-%d")
     137rm -f /root/backup-\$OLD.sql
     138rm -f /root/po-\$OLD.tar.gz
     139EOF
     140chmod +x /usr/local/bin/backup
     141}}}
    129142== !ToDo ==
    130143* Link to the s3translate module within Sahana