Changeset 2536 for trunk/packages
- Timestamp:
- Oct 29, 2009, 3:40:47 AM (15 years ago)
- Location:
- trunk/packages/xvm-db-backup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-db-backup/debian/changelog
r2259 r2536 1 xvm-db-backup (0.0.6) unstable; urgency=low 2 3 * Let the config file specify a list of tables to exclude from the 4 backup. 5 6 -- Evan Broder <broder@mit.edu> Mon, 26 Oct 2009 10:14:47 -0400 7 1 8 xvm-db-backup (0.0.5) unstable; urgency=low 2 9 -
trunk/packages/xvm-db-backup/xvm-db-backup
r2259 r2536 9 9 mkdir -p "$(dirname $db_filename)" 10 10 11 exclude=() 12 if invirt-getconf db.backup_exclude &>/dev/null; then 13 for i in invirt-getconf -l db.backup_exclude; do 14 exclude=("${exclude[@]}" -T "$(invirt-getconf "db.backup_exclude.$i")") 15 done 16 fi 11 17 /usr/bin/pg_dump -U "$(invirt-getconf db.user)" \ 12 18 -h "$(invirt-getconf db.host)" \ 19 "${exclude[@]}" \ 13 20 "$(invirt-getconf db.dbname)" | gzip - >"$db_filename" 14 21
Note: See TracChangeset
for help on using the changeset viewer.