Skip to main content
Question

Custom access/secret_key for VBR backups

  • February 10, 2020
  • 2 replies
  • 15 views

vctrstrm

Hello Vertica gurus and fellow explorers,
I have a V9 EON cluster setup with explicit access/secret_key with RW permissions to the primary db S3 bucket inside the admintools.conf. I was trying to setup a separate key pair and S3 bucket to use for running the backup job, but I cannot find any way to set access/secret_key for VBR tool specifically.

Anyone knows of a way to do this? Maybe some undocumented parameter?

I appreciate your help! :smile:

2 replies

SruthiA
Forum|alt.badge.img+1
  • Participating Frequently
  • February 10, 2020

You can do it by specifying the following in your vbr.ini

AWS credential file - You can manually create a configuration file on your EC2 initiator host at ~/.aws/credentials.

[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEY

If you are planning to add encryption, please visit the below link and refer to section "Encrypting Backups"
https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/AdministratorsGuide/BackupRestore/CreatingBackupsonAmazonS3.htm


vctrstrm
  • Author
  • New Participant
  • February 11, 2020

Thanks @SruthiA ! I'll give it a shot.