Changeset 2257 for trunk/packages


Ignore:
Timestamp:
Mar 16, 2009, 9:48:44 PM (16 years ago)
Author:
price
Message:

tweak new xvm-db-backup filename format

Location:
trunk/packages/xvm-db-backup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-db-backup/debian/changelog

    r2254 r2257  
    11xvm-db-backup (0.0.4) unstable; urgency=low
    22
     3  [ Evan Broder ]
    34  * Make the directories we log to a little more manageable.
    45
    5  -- Evan Broder <broder@mit.edu>  Mon, 16 Mar 2009 20:53:56 -0400
     6  [ Greg Price ]
     7  * Tweak the new filename format a bit.
     8
     9 -- Greg Price <price@mit.edu>  Mon, 16 Mar 2009 21:47:42 -0400
    610
    711xvm-db-backup (0.0.3) unstable; urgency=low
  • trunk/packages/xvm-db-backup/xvm-db-backup

    r2254 r2257  
    66aklog sipb
    77
    8 db_filename="/mit/xvm/backups/db/prod/$(date +%Y/%m/%d-%H.%M.sql.gz)"
     8db_filename="/mit/xvm/backups/db/prod/$(date +%Y/%m/%d.%H%M.sql.gz)"
    99mkdir -p "$(dirname $db_filename)"
    1010
     
    1313                 "$(invirt-getconf db.dbname)" | gzip - >"$db_filename"
    1414
    15 running_filename="/mit/xvm/log/running/prod/$(date +%Y/%m/%d-%H.%M.gz)"
     15running_filename="/mit/xvm/log/running/prod/$(date +%Y/%m/%d.%H%M.gz)"
    1616mkdir -p "$(dirname $running_filename)
    1717
Note: See TracChangeset for help on using the changeset viewer.