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

tweak new xvm-db-backup filename format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.