Standalone backup agents for Linux and Unix workloads on-premises or in the public cloud
Post Reply
bcollet
Novice
Posts: 3
Liked: never
Joined: Nov 29, 2020 7:17 pm
Contact:

Enabling encryption from xml configuration import

Post by bcollet »

Hi,

I would like to import an XML configuration file with a job configured with encryption. However I am not able to find the proper xml field to set the encryption key.

Any help would be appreciated.

Cheers,
Benjamin

HannesK
Veeam Software
Posts: 6794
Liked: 1051 times
Joined: Sep 01, 2014 11:46 am
Location: Austria
Contact:

Re: Enabling encryption from xml configuration import

Post by HannesK »

Hello,
and welcome to the forums.

Did you try the password field between RepoName and hint? Is it not working?

Best regards,
Hannes

bcollet
Novice
Posts: 3
Liked: never
Joined: Nov 29, 2020 7:17 pm
Contact:

Re: Enabling encryption from xml configuration import

Post by bcollet »

Hello Hannes and thank you for your reply.

I tried setting it as a parameter of JobOptions and Job, to no avail.

Here is what my xml file looks like:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
  <Config Version="1" />
  <Repositories>
    <Repository Name="myrepo" Type="Share">
      <OnShareRepositoryOptions
        Version="1"
        Address="myrepoaddress"
        FsType="cifs"
        Login="myrepologin"
        Domain=""
        Password="myrepopassword" />
    </Repository>
  </Repositories>
  <Jobs>
    <Job
      Name="daily"
      creation_time="2020-11-28 12:55:03"
      RepoName="myrepo">
      <JobOptions
        Compression="Lz4"
        BlockSize="KbBlockSize1024"
        PrefreezeCommand=""
        PostthawCommand=""
        PrejobCommand=""
        PostjobCommand=""
        MaxPoints="14"
        IsDedupEnabled="true"
        RetryCount="0"
        RetryTimeOutMs="600000"
        Schedule="true">
        <Schedule Type="0" Hours="2" Minutes="0">
          <WeekMask Sunday="true" Monday="true" Tuesday="true" Wednesday="true" Thursday="true" Friday="true" Saturday="true" />
        </Schedule>
      </JobOptions>
      <ObjectsForBackup>
        <Object ObjectType="AllSystem" RecordType="Include" Value="" />
      </ObjectsForBackup>
    </Job>
  </Jobs>
  <VbrServers />
  <CloudProviders />
When I export configuration made from the UI, no parameter related to encryption is set. Is there a documentation on the XML file structure for Linux as there is for Windows (XML File Structure - Veeam Agent for Microsoft Windows)?

Cheers,
Benjamin

HannesK
Veeam Software
Posts: 6794
Liked: 1051 times
Joined: Sep 01, 2014 11:46 am
Location: Austria
Contact:

Re: Enabling encryption from xml configuration import

Post by HannesK »

Hello,
no parameter related to encryption is set
I just created a new job with encryption enabled and then exported the configuration. If that does not work for you, then probably something is wrong... can you please check with support and post the case number?

I'm using the latest version of the agent on Ubuntu 20.04

Best regards,
Hannes

bcollet
Novice
Posts: 3
Liked: never
Joined: Nov 29, 2020 7:17 pm
Contact:

Re: Enabling encryption from xml configuration import

Post by bcollet »

Hi,

I'm sorry, the parameter was present on the export, I was searching for Password (case-sensitive). The field's name doesn't seem to follow the naming convention used for other fields and is password (lower-case p).

The import does work if I set it with a lower-case p.

Thank you very much for your help!

Cheers,
Benjamin

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests