Changeset 2254


Ignore:
Timestamp:
Mar 16, 2009, 8:55:55 PM (16 years ago)
Author:
broder
Message:

Make the directories used by xvm-db-backup a little more manageable.

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

Legend:

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

    r1725 r2254  
     1xvm-db-backup (0.0.4) unstable; urgency=low
     2
     3  * Make the directories we log to a little more manageable.
     4
     5 -- Evan Broder <broder@mit.edu>  Mon, 16 Mar 2009 20:53:56 -0400
     6
    17xvm-db-backup (0.0.3) unstable; urgency=low
    28
  • trunk/packages/xvm-db-backup/xvm-db-backup

    r1711 r2254  
    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)"
     9mkdir -p "$(dirname $db_filename)"
    910
    1011/usr/bin/pg_dump -U "$(invirt-getconf db.user)" \
     
    1213                 "$(invirt-getconf db.dbname)" | gzip - >"$db_filename"
    1314
    14 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)"
     16mkdir -p "$(dirname $running_filename)
    1517
    1618remctl "$(invirt-getconf remote.hostname)" web listvms | gzip - >"$running_filename"
Note: See TracChangeset for help on using the changeset viewer.