Comprehensive data protection for all workloads
Post Reply
m.puwalski
Lurker
Posts: 1
Liked: 3 times
Joined: Feb 21, 2020 7:35 am
Full Name: Marcin Puwalski
Contact:

Veeam B&P v10 - problem with Linux backup

Post by m.puwalski » 3 people like this post

Hi,

I updated my Veeam BP from 9.5 to 10 version.

In my Job Backup I have VM's with Windows Server and Linux. After update Windows Server VM's was backup correct, but Linux got error:

Code: Select all

Processing linux_vm Error: Cannot find Linux guest credentials
Before updated to v10 I don't have problem with Linux VM's and I didn't use credentials for Linux.

In new version can I backup Linux VM's without credentials?

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

Re: Veeam B&P v10 - problem with Linux backup

Post by HannesK »

Hello,
and welcome to the forums.

Yes, it's possible to backup all VMs (Linux, Windows, whatever) without credentials. It depends on the application aware image processing settings whether credentials are required or not.

As you said that it worked before update... please contact support to check and post the case number here for reference

Best regards,
Hannes

erpomik
Novice
Posts: 3
Liked: 1 time
Joined: Dec 29, 2017 9:38 am
Full Name: Ernst Mikkelsen
Location: Greater Copenhagen, Denmark
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by erpomik » 1 person likes this post

Hello

I just upgraded our test-environment yesterday, and face the exact same issue. All Linux server are NOT backup up due to:
"Unable to connect to guest OS for guest processing. Cannot find Linux guest credentials"

Best regards,
Ernst

Ibeme
Service Provider
Posts: 30
Liked: 3 times
Joined: Dec 15, 2015 11:23 am
Full Name: Bjoern Ebner
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by Ibeme »

You can either exclude these Linux servers from Application aware processing or set the credentials in Application aware processing for those VMs.
When you do one of these things the error should disappear.

ChristianHa
Lurker
Posts: 2
Liked: 1 time
Joined: Feb 22, 2020 1:18 pm
Full Name: Christian Haag
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by ChristianHa » 1 person likes this post

Same here.

I figured out that one of the Linux VMs, actually the one I added last, had "application aware processing" switched on. I guess I forgot to turn it off at the time I added the Linux VM. Veeam v9 did not care, the error came up with v10.

soehl
Enthusiast
Posts: 53
Liked: 8 times
Joined: May 09, 2011 12:43 pm
Full Name: Sebastian
Location: Germany
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by soehl »

Same here, we updated Veeam today and have a lot of jobs with "application-aware processing" activated, that includes Windows and Linux vms.

After the update we also the error:

Code: Select all

Processing linux_vm Error: Cannot find Linux guest credentials
For "guest file system indexing" we disabled indexing for Linux vms in the "application-aware processing", but I see no option to do the same for "application-aware processing".
:x

As workaround all of our Linux vms have now a "application aware disabled" - "vSphere Tag" and for that tag is "application-aware processing" disabled.

But it would be great to have options for Linux vms in the "application-aware processing" options like in the "indexing".

Gostev
SVP, Product Management
Posts: 26687
Liked: 4270 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by Gostev »

Hi, all.

After a few days, we still don't have a single support case referenced in this topic, as we request when you click New Topic. Since we can't action this report without a support case with debug logs for R&D to investigate, I'm locking this thread down and scheduling it for deletion in a few days.

If anyone has a support case ID open on this issue, please PM me and I will re-open the thread before it is deleted.

Thanks!

Gostev
SVP, Product Management
Posts: 26687
Liked: 4270 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by Gostev »

03992718

lightsout
Expert
Posts: 222
Liked: 59 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by lightsout »

Yeah I had the same issue. I wrote some code as workaround.

Code: Select all

$jobs=get-vbrjob | ? {$_.JobType -eq "Backup"}

foreach ($job in $jobs) {
    foreach ($Object in ($Job | Get-VBRJobObject)) {
      $VSSOptions = $Object.VssOptions
      $VSSOptions.IgnoreErrors = $True
      $Object.SetVssOptions($VSSOptions)
      $job | Enable-VBRJobVSSIntegration
    }
  }
This way, it will give a warning and then failover to the v9 and before style of processing.

I got the impression from support that I should have separate jobs for Windows & Linux VMs, which I've certainly not done yet.

Gostev
SVP, Product Management
Posts: 26687
Liked: 4270 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by Gostev » 2 people like this post

All, we had our QA research the issue, and the change in behavior appears to be caused by a bug fixed in v10.

In previous releases, "Require successful application-aware processing" option was quietly ignored for Linux VMs without credentials assigned. This is a bug, because this can potentially result in unrecoverable backup without the user knowing.

In v10, you will see the above-mentioned error in such situations. This is now consistent with how it always worked for Windows VMs.

You have two options to get rid of the error, both of which are already captured above:
1. Specify the missing credentials for the Linux VM in question.
2. Change the application-aware processing setting to a less strict one in the advanced settings on the Guest Processing step of the job wizard. Or, disable it completely for the specific VM only.

Thanks!

dcit
Influencer
Posts: 13
Liked: 1 time
Joined: Mar 13, 2015 1:06 am
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by dcit »

After update of Veeam Backup v9.5 to v10 I have got bunch of warnings (not errors because we do not have set "Require ..."):
Unable to connect to guest OS for guest processing. Cannot find Linux guest credentials

Googling it got me to this forum.

Reason is explained in previous Gostev's post, and I understand what I can do with it.

But what leaves me puzzled is why I have not got those warnings for CentOS 8 VMs. Is CentOS 8 (not yet) supported, so those VMs are not identified by Veeam as Linux?

Finally I would like to add that now we have ESXi 6.7.0 U2. Can it be problem with not (yet) having latest version of ESXi?

Gostev
SVP, Product Management
Posts: 26687
Liked: 4270 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by Gostev »

We would be happy to investigate your specific situation. Please upload debug logs to the support case, and share the case ID here. Thanks!

dcit
Influencer
Posts: 13
Liked: 1 time
Joined: Mar 13, 2015 1:06 am
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by dcit »

case ID: 04033499

tom11011
Expert
Posts: 160
Liked: 5 times
Joined: Dec 01, 2010 8:40 pm
Full Name: Tom
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by tom11011 » 1 person likes this post

Gostev, I'm guessing for many of us this will be the first time a linux server will be allowed application aware processing. Is there a kb I can look at that shows how the vm will be backed up differently now that application aware is enabled?

Gostev
SVP, Product Management
Posts: 26687
Liked: 4270 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by Gostev »

Yes, this is documented in the user guide, and the logic depends on the workload the Linux server runs.

We support application-aware processing for the following applications:
1. Oracle (for host-based and agent-based backups)
2. PostgreSQL (for agent-based backups only)
3. MySQL (for agent-based backups only)

So if your Linux server does not have any of those applications, then enabling application-aware processing makes no difference.

tom11011
Expert
Posts: 160
Liked: 5 times
Joined: Dec 01, 2010 8:40 pm
Full Name: Tom
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by tom11011 »

Thanks, I do use MySQL however the mysql root user is not the same auth as the server root user. Does the agent get installed on the virtual machine or is it part of vmware tools?

Gostev
SVP, Product Management
Posts: 26687
Liked: 4270 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by Gostev »

For MySQL, this functionality is a part of the backup agent (Veeam Agent for Linux) that is deployed by Veeam when you create a Protection Group that includes the Linux server in question. This protection group should then be selected as the source in an agent-based backup job of "managed by server" type.

As you will see in MySQL application-aware processing settings, it's not a problem if those accounts differ.

If you have further questions regarding agent-based backup jobs, please create the dedicated topic in the corresponding sub-forum, as this discussion is derailing this thread.

jamerson
Expert
Posts: 315
Liked: 18 times
Joined: May 01, 2013 9:54 pm
Full Name: Julien
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by jamerson »

We are facing the same issue, I've disabled the application-aware processing as Gostev explained and it finishes with warning.

Code: Select all

2. Change the application-aware processing setting to a less strict one in the advanced settings on the Guest Processing step of the job wizard. Or, disable it completely for the specific VM only.
Do we have to disable it for replications too?
we have 4 Centos and 1 Ubuntu servers which are failing " cannot find linux credientical" for replication.

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

Re: Veeam B&P v10 - problem with Linux backup

Post by HannesK »

Do we have to disable it for replications too?
sure... if your replication job has AAIP enabled, then you need to configure it.

GregorS
Veeam ProPartner
Posts: 37
Liked: 10 times
Joined: Apr 10, 2013 12:11 pm
Full Name: Gregor Smerke
Location: Ljubljana, SI - Slovenija
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by GregorS »

I set "Try application processing, but ignore failures" for all my Linux VMs, which gives me a Warning "Unable to connect to guest OS for guest processing. Cannot find Linux guest credentials", which is an expected behaviour.

A question: since Veeam has a registry value for everything, is there one that suppresses this specific warning (and essentially reverts the behavior to v9.5)? Otherwise I will have to add tens of Linux VMs to AAIP exception list, setting them to "Disable application processing".

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

Re: Veeam B&P v10 - problem with Linux backup

Post by HannesK »

Hello Gregor,
the behavior in 9.5 was a bug... for tens of VMs, I would do it manually, because I suck at scripting... for more VMs, probably Powershell can do the job.

Best regards,
Hannes

foggy
Veeam Software
Posts: 19437
Liked: 1764 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Veeam B&P v10 - problem with Linux backup

Post by foggy »

Hi Gregor, I'm pretty sure you can use multi-selection in the Application-Aware Processing Options window to set the required setting for all the VMs at once.

Post Reply

Who is online

Users browsing this forum: Gostev, NightBird and 75 guests