Scroll to navigation

BARMAN-CLOUD-BACKUP-KEEP(1) Barman BARMAN-CLOUD-BACKUP-KEEP(1)

NAME

barman-cloud-backup-keep - Barman-cloud Commands

Synopsis

barman-cloud-backup-keep

[ { -V | --version } ]
[ --help ]
[ { -v | --verbose } ]
[ { -q | --quiet } ]
[ { -t | --test } ]
[ --cloud-provider { aws-s3 | azure-blob-storage | google-cloud-storage } ]
[ --endpoint-url ENDPOINT_URL ]
[ { -P | --aws-profile } AWS_PROFILE ]
[ --read-timeout READ_TIMEOUT ]
[ --azure-credential { azure-cli | managed-identity } ]
[ { -r | --release } ]
[ { -s | --status } ]
[ --target { full | standalone } ]
SOURCE_URL SERVER_NAME BACKUP_ID


Description

Use this script to designate backups in cloud storage as archival backups, ensuring their indefinite retention regardless of retention policies.

This script allows you to mark backups previously created with barman-cloud-backup as archival backups. Once flagged as archival, these backups are preserved indefinitely and are not subject to standard retention policies.

NOTE:

For GCP, only authentication with GOOGLE_APPLICATION_CREDENTIALS env is supported.


Parameters

Name of the server that holds the backup to be kept.
URL of the cloud source, such as a bucket in AWS S3. For example: s3://bucket/path/to/folder.
The ID of the backup to be kept.
Show version and exit.
show this help message and exit.
Increase output verbosity (e.g., -vv is more than -v).
Decrease output verbosity (e.g., -qq is less than -q).
Test cloud connectivity and exit.
The cloud provider to use as a storage backend.

Allowed options are:

  • aws-s3.
  • azure-blob-storage.
  • google-cloud-storage.

If specified, the command will remove the keep annotation and the backup will be eligible for deletion.
Print the keep status of the backup.
Specify the recovery target for this backup. Allowed options are:
  • full
  • standalone


Extra options for the AWS cloud provider

Override default S3 endpoint URL with the given one.
Profile name (e.g. INI section in AWS credentials file).
Profile name (e.g. INI section in AWS credentials file) - replaced by --aws-profile.
The time in seconds until a timeout is raised when waiting to read from a connection (defaults to 60 seconds).

Extra options for the Azure cloud provider

Optionally specify the type of credential to use when authenticating with Azure. If omitted then Azure Blob Storage credentials will be obtained from the environment and the default Azure authentication flow will be used for authenticating with all other Azure services. If no credentials can be found in the environment then the default Azure authentication flow will also be used for Azure Blob Storage.

Allowed options are:

  • azure-cli.
  • managed-identity.


AUTHOR

EnterpriseDB

COPYRIGHT

© Copyright EnterpriseDB UK Limited 2011-2024

December 9, 2024 3.12