# `gdal driver gpkg repack`

Added in version 3.11.

Repack/vacuum in-place a GeoPackage dataset

## Synopsis

    Usage: gdal driver gpkg repack [OPTIONS] <DATASET>

    Repack/vacuum in-place a GeoPackage dataset

    Positional arguments:
      --dataset <DATASET>     GeoPackage dataset [required]

    Common Options:
      -h, --help              Display help message and exit
      --json-usage            Display usage as JSON document and exit
      --config <KEY>=<VALUE>  Configuration option [may be repeated]

## Description

Runs the `VACUUM` SQLite3 operation on a GeoPackage dataset to recover lost space due to updates or deletions.

## Examples

### Example 1

    gdal driver gpkg repack my.gpkg