code: def cli():
      
      if config.DB_LOG:
          click.secho('Warning: The database logger is currently enabled (DB_LOG = True).\n'
                      'This will slow down the migration. Unless you database is very small, please disable it.',
                      fg='yellow')
          click.confirm('Continue anyway?', abort=True)
docs: Migrate data to S3.
  
      Use the `copy` subcommand to copy data to S3. This can be done
      safely while Indico is running. At the end it will show you what
      you need to add to your `indico.conf`.
  
      Once you updated your config with the new storage backends, you
      can use the `apply` subcommand to update your database so files
      will actually be loaded using the new S3 storage backends.
  
      In case you ever need to switch back to your previous storage,
      you can use `revert` to undo the database changes.