Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
JRBeaver
Service Provider
Posts: 14
Liked: 3 times
Joined: Mar 30, 2017 9:09 pm
Full Name: John Beaver
Contact:

VAL backup to Cloud Connect

Post by JRBeaver » 1 person likes this post

I am trying to configure VAL to backup to Cloud Connect by command line but can't find the repository.
I have installed and licensed VAL on Redhat 6 and successfully added the service provider but when I try to add a backup job it errors with Repository not found.

Added service provider:
veeamconfig cloud add --name UITCloud --address {ourURL} --port 6180 --login {username} --password {password}

When I run veeamconfig repository list I receive the following:
Name ID Location Type Backup server
[our URL] [Tenant name] Repositoryname [32 char hex ID} UITCloud cloud

I then try adding a backup job using the Repositoryname but it returns an error:
veeamconfig create --name backupname --repoName Repositoryname --maxpoints 7 --setEncryption --backupAllSystem
Error: Repository Repositoryname was not found.

I am obviously missing something simple in the process, can anyone who has configured VAL to Cloud Connect using command line see what is wrong with these steps?
Regards
John B
anthonyspiteri79
Veeam Software
Posts: 741
Liked: 207 times
Joined: Jan 14, 2016 6:48 am
Full Name: Anthony Spiteri
Location: Perth, Australia
Contact:

Re: VAL backup to Cloud Connect

Post by anthonyspiteri79 » 1 person likes this post

Hey there...it looks good.

Out of interest, what is it doing in the UI? Do you have the repo name listed?

Below is how I have added the CC Provider.

Code: Select all

#Add Cloud Provider
:~# veeamconfig cloud add --name 'SliemaLabs Perth' --address veeam.per.sliema.com.au --port 6180 --login LINUX-01 --password '*******'
 
#List Cloud Providers
:~# veeamconfig cloud list
Name              ID                                      Address                       Gate servers         Username
SliemaLabs Perth  {26a6c711-387e-4d49-8add-517abec968e0}  veeam.per.sliema.com.au:6180  119.252.90.164:6180  LINUX-01

:~# veeamconfig job list
Name          ID                                      Repository
Perth Sliema  {c2dbc3ee-cae7-4ec2-8cc6-fc56547abc3f}  [VEEAM.PER.SLIEMA.COM.AU][LINUX-01]Cloud repository 1
 
# Get Job Status
:~# veeamconfig job info --id c2dbc3ee-cae7-4ec2-8cc6-fc56547abc3f
Backup job:
   ID: {c2dbc3ee-cae7-4ec2-8cc6-fc56547abc3f}
   Name: Perth Sliema
   Repository ID: {e5fd6f7a-e730-4a59-b73d-6cf08d476e0b}
   Repository name: [VEEAM.PER.SLIEMA.COM.AU][LINUX-01]Cloud repository 1
   Creation time: 2017-12-18 20:56:55
   Options:
      Compression: Lz4
      Max points: 1
      Block size: 1024 KB
      File system indexing is disabled
   Objects for backup:
      Include All System:
   Schedule:
      Every day
      At: 06:00
dedef
efefefe
Anthony Spiteri
Regional CTO APJ & Lead Cloud and Service Provider Technologist
Email: anthony.spiteri@veeam.com
Twitter: @anthonyspiteri
nielsengelen
Product Manager
Posts: 5634
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: VAL backup to Cloud Connect

Post by nielsengelen » 1 person likes this post

Make sure you leverage either ' or " when using names, repositories etc. However you can leverage bash completion (tab) to help you filling in the blanks and make sure you leverage the right command/name.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
JRBeaver
Service Provider
Posts: 14
Liked: 3 times
Joined: Mar 30, 2017 9:09 pm
Full Name: John Beaver
Contact:

Re: VAL backup to Cloud Connect

Post by JRBeaver » 1 person likes this post

Hi Anthony,
Thanks for that, I knew it would be a simple thing I missed, I had not listed the repository name with [URL][name]repositoryname, I was only putting the repo name in, the Get Job Status info really helped me see this was missing. Once I added this I could create the job. Many thanks to you and vmniels for the tips.
Regards
John B
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests