Changeset 1711
- Timestamp:
- Nov 17, 2008, 9:03:24 PM (16 years ago)
- Location:
- trunk/packages/xvm-db-backup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-db-backup/debian/changelog
r1656 r1711 1 xvm-db-backup (0.0.2) unstable; urgency=low 2 3 * Backup a list of currently running VMs as well as the database 4 5 -- Evan Broder <broder@mit.edu> Mon, 17 Nov 2008 21:02:41 -0500 6 1 7 xvm-db-backup (0.0.1) unstable; urgency=low 2 8 -
trunk/packages/xvm-db-backup/xvm-db-backup
r1657 r1711 6 6 aklog sipb 7 7 8 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 9 10 10 /usr/bin/pg_dump -U "$(invirt-getconf db.user)" \ 11 11 -h "$(invirt-getconf db.host)" \ 12 "$(invirt-getconf db.dbname)" | gzip - >"$filename" 12 "$(invirt-getconf db.dbname)" | gzip - >"$db_filename" 13 14 running_filename="/mit/xvm/log/running/prod/$(date +%Y-%m-%d-%H-%M.gz)" 15 16 remctl "$(invirt-getconf remote.hostname)" web listvms | gzip - >"$running_filename"
Note: See TracChangeset
for help on using the changeset viewer.