docs: def run(connection):
      """
      Parse arguments and start upload/download
      """
  
      parser = argparse.ArgumentParser(description="""
      Process database dumps.
  
      Either download of upload a dump file to the objectstore.
  
      downloads the latest dump and uploads with envronment and date
      into given container destination
      """)
  
      parser.add_argument(
          'location',
          nargs=1,
          default=f'{DUMPFOLDER}/database.{ENV}.dump',
          help="Dump file location")
  
      parser.add_argument(
          'objectstore',
          nargs=1,
          default=f'{DUMPFOLDER}/database.{ENV}.dump',
          help="Dump file objectstore location")
  
      parser.add_argument(
          '--download-db',
          action='store_true',
          dest='download',
          default=False,
          help='Download db')
  
      parser.add_argument(
          '--upload-db',
          action='store_true',
          dest='upload',
          default=False,
          help='Upload db')
  
      parser.add_argument(
          '--container',
          action='store_true',
          dest='container',
          default=False,
          help='Upload db')
  
      parser.add_argument(
          '--days',
          type=int,
          nargs=1,
          dest='days',
          default=0,
          help='Days to keep database dumps')
  
      args = parser.parse_args()
  
      if args.days:
          LOG.debug('Cleanup old dumps')
          remove_old_dumps(
              connection, args.objectstore[0], args.days[0])
      elif args.download:
          download_database(
              connection, args.objectstore[0], args.location[0])
      elif args.upload:
          upload_database(
              connection, args.objectstore[0], args.location[0])
      else:
          parser.print_help()