Changeset 2254 for trunk/packages/xvm-db-backup
- Timestamp:
- Mar 16, 2009, 8:55:55 PM (16 years ago)
- Location:
- trunk/packages/xvm-db-backup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-db-backup/debian/changelog
r1725 r2254 1 xvm-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 1 7 xvm-db-backup (0.0.3) unstable; urgency=low 2 8 -
trunk/packages/xvm-db-backup/xvm-db-backup
r1711 r2254 6 6 aklog sipb 7 7 8 db_filename="/mit/xvm/backups/db/prod/$(date +%Y-%m-%d-%H-%M.sql.gz)" 8 db_filename="/mit/xvm/backups/db/prod/$(date +%Y/%m/%d-%H.%M.sql.gz)" 9 mkdir -p "$(dirname $db_filename)" 9 10 10 11 /usr/bin/pg_dump -U "$(invirt-getconf db.user)" \ … … 12 13 "$(invirt-getconf db.dbname)" | gzip - >"$db_filename" 13 14 14 running_filename="/mit/xvm/log/running/prod/$(date +%Y-%m-%d-%H-%M.gz)" 15 running_filename="/mit/xvm/log/running/prod/$(date +%Y/%m/%d-%H.%M.gz)" 16 mkdir -p "$(dirname $running_filename) 15 17 16 18 remctl "$(invirt-getconf remote.hostname)" web listvms | gzip - >"$running_filename"
Note: See TracChangeset
for help on using the changeset viewer.