Skip to content

Commit d1bbf89

Browse files
committed
Add support for bzip2
1 parent 03121d8 commit d1bbf89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpmyadmin_sql_backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def download_sql_backup(url, user, password, dry_run=False, overwrite_existing=F
113113
help='prepend current UTC date & time to the filename; see the --prefix-format option for custom formatting')
114114
parser.add_argument('-e', '--exclude-dbs', default='',
115115
help='comma-separated list of database names to exclude from the dump')
116-
parser.add_argument('--compression', default='none', choices=['none', 'zip', 'gzip'],
116+
parser.add_argument('--compression', default='none', choices=['none', 'zip', 'gzip', 'bzip2'],
117117
help='compression method for the output file - must be supported by the server (default: %(default)s)')
118118
parser.add_argument('--basename', default=None,
119119
help='the desired basename (without extension) of the SQL dump file (default: the name given by phpMyAdmin); '

0 commit comments

Comments
 (0)