Skip to content

Commit

Permalink
Merge pull request #227 from timvaillancourt/location_and_name_defaul…
Browse files Browse the repository at this point in the history
…ts_update

1.2.0: Location and name defaults update
  • Loading branch information
dbmurphy authored Sep 21, 2017
2 parents b3ddf4f + cba8431 commit 7008466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mongodb_consistent_backup/Backup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


def config(parser):
parser.add_argument("-n", "--backup.name", dest="backup.name", help="Name of the backup set (required)", type=str)
parser.add_argument("-l", "--backup.location", dest="backup.location", help="Base path to store the backup data (required)", type=str)
parser.add_argument("-n", "--backup.name", dest="backup.name", help="Name of the backup set (default: default)", default='default', type=str)
parser.add_argument("-l", "--backup.location", dest="backup.location", help="Base path to store the backup data (default: /var/lib/mongodb-consistent-backup)", default='/var/lib/mongodb-consistent-backup', type=str)
parser.add_argument("-m", "--backup.method", dest="backup.method", help="Method to be used for backup (default: mongodump)", default='mongodump', choices=['mongodump'])
return parser

0 comments on commit 7008466

Please sign in to comment.