file-level recovery from Novell NSS volumes

Availability for the Always-On Enterprise

file-level recovery from Novell NSS volumes

Veeam Logoby DaStivi » Tue Feb 14, 2017 3:52 pm

Hello,
i'm currently evaluating Veeam B&R (9.5u1) so recover Files from Novell NSS volumes!
Veeam 9.5 update 1 release notes indicate that file-level recovery from NSS volumes with Trustee Index enabled, works with OES 2015SP1, i do have tested this now and it looks somehow good... with OES2013 i got some cryptic error when dooing file-level recovery...

so good so far.
BUT:

i do want to restore permissions, attributes and quotas too! this doesn't look like to work!
i only get the restored folders and inherit the permission from the parent, no special permission (trustee index) or special parameters like "rename locked" etc...

there should be an "easy" solutions allready as other backup vendors can use the novell advanced file attributes when backing up such machines with normal Linux agents...
novell describes this here:
https://www.novell.com/support/kb/doc.php?id=7004335

for my understanding, when Veeam would "restore" the "netware.metadata" correctly back to the nss volumes, oes should recognize the permissions and other settings again!
DaStivi
Enthusiast
 
Posts: 50
Liked: 4 times
Joined: Tue Jun 30, 2015 9:13 am
Full Name: Stephan Lang

Re: file-level recovery from Novell NSS volumes

Veeam Logoby Mike Resseler » Tue Feb 14, 2017 6:28 pm

Hi Stephan,

From our documentation: https://helpcenter.veeam.com/docs/backu ... tml?ver=95

Restore of NSS file/folder permissions is not supported


Brgds,
Mike
Mike Resseler
Veeam Software
 
Posts: 3287
Liked: 365 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler

Re: file-level recovery from Novell NSS volumes

Veeam Logoby jmmarton » Thu Feb 16, 2017 3:14 am

The permissions are stored in the backup since we do an image-based backup of the virtual disks. The problem comes from the restore process, especially since the restore option itself isn't available for NSS so you wind up having to do copy-to instead. I've made a feature request internally to add support for restore to original location. If that were done in such a way as to leverage xattr, then NSS permissions would be restored as well.

For now one thing you could do is leverage a pre-freeze script that calls metamig to dump all the trustees into a flat file. Then when you do a restore you could use this file to restore trustee permissions if inheritance doesn't take care of everything completely. Sample scripts are in the Veeam Hub under "Novell Application Consistency Scripts."

http://www.veeamhub.io/resources/

I touched on this in a Cool Solutions article I wrote in November.

https://www.novell.com/communities/coolsolutions/veeam-adds-oes-2015-support/

Joe
jmmarton
Veeam Software
 
Posts: 844
Liked: 89 times
Joined: Tue Nov 17, 2015 2:38 am
Location: Chicago, IL
Full Name: Joe Marton

Re: file-level recovery from Novell NSS volumes

Veeam Logoby DaStivi » Thu Feb 16, 2017 2:05 pm

jmmarton wrote:The permissions are stored in the backup since we do an image-based backup of the virtual disks. The problem comes from the restore process, especially since the restore option itself isn't available for NSS so you wind up having to do copy-to instead. I've made a feature request internally to add support for restore to original location. If that were done in such a way as to leverage xattr, then NSS permissions would be restored as well.


exactly what i thougt... too sad that all the information is available but not write back correctly...
another workaround would be to start the oes vm in sandbox, or with different ip-adressing and copy-paste the files directly from there with novell-aware-browser tools... anyway all workarounds of course...

i know your blogpost and the comment from cool solutions allready, thx for it, at this pointed me to oes 2015sp1 too :)
DaStivi
Enthusiast
 
Posts: 50
Liked: 4 times
Joined: Tue Jun 30, 2015 9:13 am
Full Name: Stephan Lang

Re: file-level recovery from Novell NSS volumes

Veeam Logoby calvertc » Thu Feb 16, 2017 2:45 pm

All of our user files are stored on NSS, and I wouldn't have recently moved to Veeam if the NSS support weren't there. Ultimately, I'm pleased that Veeam has put the time into keeping the NSS code up-to-date in the last couple of releases, to support the new NSS versions in the latest OES releases, and that seems like the single most important thing to me. I agree though, it would certainly be nice if the metadata could be restored, considering it is sitting there in the backup, waiting to be used.

NSS on OES Linux doesn't have the market share that NetWare did, back in Novell's glory days, but the institutions that are using it are often very large (government and academic) and count their user-bases by the tens or even hundreds of thousands. I have to think that there is growth opportunity there for Veeam, if the product can meet people's needs well and offer feature parity.
calvertc
Lurker
 
Posts: 1
Liked: never
Joined: Wed Jul 20, 2016 5:56 pm
Full Name: Cory Calvert

Re: file-level recovery from Novell NSS volumes

Veeam Logoby joebrug » Thu Feb 16, 2017 4:43 pm

While restoring files from an NSS volume works (slowly!), it could be so much better. The ability to restore to the original location, like you can with a windows box, is much needed and would be greatly appreciated for us NSS shops. Currently, we have to jump through too many hoops to restore files and then also have to deal with re-creating the trustees of those files/folders. Please make this process a little simpler.
joebrug
Lurker
 
Posts: 1
Liked: never
Joined: Thu Feb 16, 2017 4:36 pm

Re: file-level recovery from Novell NSS volumes

Veeam Logoby DaStivi » Thu Feb 16, 2017 6:45 pm

That's not true anymore!

With b&r 9.5u1 and oes 2015sp1 you can file restore directly!!, read my postings carefully ☺️
DaStivi
Enthusiast
 
Posts: 50
Liked: 4 times
Joined: Tue Jun 30, 2015 9:13 am
Full Name: Stephan Lang

Re: file-level recovery from Novell NSS volumes

Veeam Logoby jmmarton » Thu Feb 16, 2017 6:48 pm

DaStivi wrote:With b&r 9.5u1 and oes 2015sp1 you can file restore directly!!, read my postings carefully ☺️

Yes and no. During restore, you can't actually select the "restore" option to automatically restore to the original location. Using copy to you can still accomplish this by browsing the OES server and drilling down into the right directory where you need to restore the file (/media/nss/VOLUME/folder-structure-on-nss-volume). It just means doing a few additional steps for the restore.

Joe
jmmarton
Veeam Software
 
Posts: 844
Liked: 89 times
Joined: Tue Nov 17, 2015 2:38 am
Location: Chicago, IL
Full Name: Joe Marton

Re: file-level recovery from Novell NSS volumes

Veeam Logoby DaStivi » Thu Feb 16, 2017 6:51 pm

jmmarton wrote:Yes and no. During restore, you can't actually select the "restore" option to automatically restore to the original location.

In my lab exactly that works! Keep or overwrite no matter... No copy-to workaround needed...
With oes 2013 there were an error...
DaStivi
Enthusiast
 
Posts: 50
Liked: 4 times
Joined: Tue Jun 30, 2015 9:13 am
Full Name: Stephan Lang

Re: file-level recovery from Novell NSS volumes

Veeam Logoby bpenris » Thu Feb 16, 2017 7:13 pm

I'm going to chime in. This is a feature I personally consider a neccessity for most file systems. I usually backup trustees seperately anyways using built-in tools but that's more because the solutions that are out there are so flaky with it.

Hope this gets added (y)
bpenris
Lurker
 
Posts: 1
Liked: never
Joined: Thu Feb 16, 2017 7:03 pm
Full Name: Bas Penris

Re: file-level recovery from Novell NSS volumes

Veeam Logoby jmmarton » Thu Feb 16, 2017 7:23 pm

Hmm... I'd like to see that. Any way you can capture a movie showing the restore option working for NSS and send it to me? My e-mail address is joe dot marton at veeam dot com. Our docs say it doesn't work, and I've not been able to get it to work with either OES 11 or OES 2015, so I'd love to see if there's a way to make it work.

Joe
jmmarton
Veeam Software
 
Posts: 844
Liked: 89 times
Joined: Tue Nov 17, 2015 2:38 am
Location: Chicago, IL
Full Name: Joe Marton

Re: file-level recovery from Novell NSS volumes

Veeam Logoby DaStivi » Thu Feb 16, 2017 8:41 pm 1 person likes this post

i do this now like mike ressler... from veeam 9.5u1 release notes and even from 9.5 documentation:

Open Enterprise Server 2015 SP1 support for file-level recovery from NSS volumes with Trustee Index enabled.


:twisted: :twisted: :twisted: :twisted: :twisted:
only how to read the things correctly... anyway i can make a vid of course... i'm gonna send it to you tomorrow... we can also do a remote session if you would like to...

jmmarton wrote: drilling down into the right directory where you need to restore the file (/media/nss/VOLUME/folder-structure-on-nss-volume).


btw i've done this in oes2013... i'd saw the folder/files in Linux but not under novell clients or imanager... (so additional steps are necessary then, manually editing the xml file or dooing something else... at least when using new name, or original folder was gonna delete completely before..)
DaStivi
Enthusiast
 
Posts: 50
Liked: 4 times
Joined: Tue Jun 30, 2015 9:13 am
Full Name: Stephan Lang

Re: file-level recovery from Novell NSS volumes

Veeam Logoby jmmarton » Fri Feb 17, 2017 5:52 am

Oh trust me I know what's in the 9.5u1 release notes. I helped put the wording together for the OES 2015 bullet point in the release notes. :-) What that's referring to is the ability to do any FLR activity at all on a volume with Trustee Index enabled. If you were to try FLR with 9.5 (before Update 1) against OES 2015 SP1 where that feature had been enabled, the Backup Browser window wouldn't even display the NSS volume. With the support, the NSS volume shows up.

But to what you've been mentioning, I did some testing again in my lab. Everything was done with 9.5u1 and OES 2015 SP1 with three different volumes (32-bit non-AD-enabled, 32-bit AD-enabled, 64-bit AD-enabled). I was surprised to see I could use the restore option in VBR to restore to the original location! This is new behavior from how it used to be. I will ask to get the documentation updated.

https://helpcenter.veeam.com/docs/backup/vsphere/multios_restore_before_you_begin.html?ver=95

We need to remove the line stating "You also cannot restore files directly to the original location from NSS filesystems."

In my testing I restored individual files and entire folders. All worked. And using the OES client from a workstation, after I restored anything once I hit F5 to refresh my Windows Explorer window I saw the restored files/folders show up immediately. I'm not sure why you didn't see your restored data appear immediately so that may be worth troubleshooting.

At any rate, no need to send a movie as I definitely believe you. :-) Permissions still aren't restored, but since restore to original location is working, that's one step closer to possibly getting permissions restored someday. I'll see what I can dig up on exactly how we're copying the data back to the OES server and see if it would be possible to leverage xattr to eventually get permissions restored, too.

Joe
jmmarton
Veeam Software
 
Posts: 844
Liked: 89 times
Joined: Tue Nov 17, 2015 2:38 am
Location: Chicago, IL
Full Name: Joe Marton

Re: file-level recovery from Novell NSS volumes

Veeam Logoby DerOest » Fri Feb 17, 2017 12:44 pm

Sadly we can not use the "Restore" function but must use the copy-to-workaround.
Why? Because we use (Netapp) storage snapshots of our Novell OES Fileserver datastores (each fileserver has its own VMware Datastore/Volume on Netapp). If i try to restore from a from secondary storage snapshot (SnapVault target), the error is:
"Cannot map VM files to any existing VM in the virtual infrastructure"

Another tradeoff to using storage snapshots: We can not run guest file indexing, instead i had to script our own guest file indexing with updatedb/locate.
Again, as noted in other threads, this is a shame, as all the processing can also happen when taking storage snapshots! And I think I even saw the "guest file indexing" work being done when using snapshot orchestration, just the updatedb/locate-files are not saved anywhere for later use.


Because of the tradeoffs, using "Veeam Storage Snapshot Orchestration" was dropped, we simply run Netapp Snapshot/SnapVault like before.
All controllers are added to Veeam and Volumes/Snapshots get scanned, so we can just select individual Snapshots to run restores from.

If Veeam did a better integration or even just made the same features available with storage snapshots vs. Veeam backupjobs, we'd consider changing the scheduling over to Veeam. But the way it is now, it's not worth the hassle to get everything into Veeam.
DerOest
Enthusiast
 
Posts: 27
Liked: never
Joined: Fri Oct 30, 2015 10:10 am

Re: file-level recovery from Novell NSS volumes

Veeam Logoby jmmarton » Fri Feb 17, 2017 1:51 pm

That's good to know about restoring NSS files from NetApp snapshots. I assume the same holds true of all the other vendors we integrate with as well. I'll see if I can find a way to do additional testing on this.

As to indexing, that's a known limitation of storage snapshot orchestration jobs with NetApp and Nimble in general. It is not specific to OES. I believe there are other threads on this issue, so let's please not cloud this thread which is specific to OES & NSS support. Rather please start a separate thread on that (it's an interesting feature request for certain).

Joe
jmmarton
Veeam Software
 
Posts: 844
Liked: 89 times
Joined: Tue Nov 17, 2015 2:38 am
Location: Chicago, IL
Full Name: Joe Marton

Next

Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot] and 53 guests