How to use QNAP as object storage for Veeam Backup and Replication 12.1 with Immutability Backup


Userlevel 7
Badge +7
  • Veeam Vanguard, Veeam Legend
  • 196 comments

QNAP QuObjects application is free and certificated for objects with immutability, which means you can use it as object storage within Veeam for a backup repository that supports their immutability feature.

QNAT QuObjects Requirements:

 

1.Log on to the NAS as an administrator.

2.Select App Center.

 

3.Click the Search icon on the App Center page.

 

4.Enter QuObjects and select the QuObjects and click Install.

 

5.Click Open after Installation is completed.

 

6.Ensure turn on Server Connection on the QuObjects S3 Compatible Object Service page and select User Management.

 

7.Click Add User on the User Management page.

 

8.Select a user on the Add an Authorized User page and click Add.

 

9.Click the Add key icon on the User Management page.

 

10.Ensure QuObjects creates an access key for the user and select Storage Space.

 

11.Click Create on the Storage Space page.

 

12.Enter the storage space name in the Folder Name field on the Create Storage Space page, select the user and click Create.

 

13.Select the new created storage space name from the drop-down list and click Create.

 

14.On the Create Bucket page, enter the name in the Bucket name field and select Private as Permission.

15. Select Enabled for the Versioning and Object Lock in the Advance Settings.

16.In the Versioning, don't select the Number of days and versions to retain.

17.In the Object Lock, select Disabled as Default retention, select Enhance S3 client compatibility and click Create.

 

18.Click OK to ensure you want to continue.

 

19.Log on to the Veeam and Replication 12.1 manager server.

20.Open Veeam and Replication 12.1 Console.

21.Select Backup Infrastructure and click Add Repository.

 

22.Select Object storage on the Add Backup Repository.

 

23.Select S3 Compatible on the Object Storage.

 

24.Select S3 Compatible on the S3 Compatible page.

 

25.On the Name page, enter the IP Address or DNS name in the Name field and click Next.

 

26.On the Account page, enter the Amazon S3 Service endpoint of QuObjects in the Service Point field. The Amazon S3 Service endpoint name is at Server Settings of QuObjects.

 

27.You can enter the QNAP device location as Region.

28.Click Add to create a Credential.

 

29.On the Credentials page, click OK after enter the Access key and Secret key.

 

30.The Access and Secret key is in the User Management settings of QuObjects.

 

31.Key the Direct as Connection mode and click Next.

 

32.Click Continue Security Alert on the Certificate Security Alert page.

 

33.On the Bucket page, click Browse in the Bucket field.

 

34.Select the Bucket that we created it from QuObjects settings on the Select Bucket page and click OK.

 

35.Click Browse in the Folder field.

 

36.Click New Folder on the Select Folder page.

 

37.Enter the folder name and click OK.

 

38.On the Bucket page, select Make recent backups immutable and change the days as you need and click Next.

 

39.On the Mount Server page, keep the default settings and click Next.

 

40.Click Apply on the Review page.

 

41.Click Next on the Apply page.

 

42.Click Finish on the Summary page.

 

43.On the Home page, select Virtual Machine from the drop-down list of Backup Job.

 

44.On the Name page, enter specific job name in the name field and click Next.

 

45.Click Add On the Virtual Machines page.

 

46.Add the Virtual Machines and click Next.

 

47.Select the new immutable storage from the drop-down list of Backup repository on the Storage page.

48.Change the Retention policy as you need and click Next.

 

49.Click Next on the Guest Processing page.

 

50.On the Schedule page, configure the schedule settings and click Apply.

 

51.Click Finish on the Summary page and run the backup job.

 

52.Verify the backup result in the Object Storage.

 

53.Let’s test it. If you try to select Delete from disk it will fail.

 

54.The error message is Failed to delete backup Error: Unable to delete the backup because it is marked as immutable until 22 January 2024 14:26:41.

 


11 comments

Userlevel 6
Badge +3

Awesome write-up @CarySun, I’ve personally been using the QuObjects App on my QNAP in my homelab for almost a year now, and it’s been working great. 

I’m not sure what scales it’d go to, but for SMBs it’s a great option, and what I’d consider far better than SMB/iSCSI off the NAS.

Userlevel 7
Badge +7

@NZ_BenThomas QuObjects is not a new application from QNAP. There are lots of customers who ask me about this. Now, I just need to send this link to them. Make work easier and enjoy my life. 😅

Userlevel 7
Badge +21

Great writeup Cary.  Never used QNAP but good to know that you can use it as Object with Immutability. 👍🏼

Userlevel 1

@CarySun Very well documented article.  No issues getting my QNAP set up using this.

I’ve got a QNAP TS-873AeU-RP with SSD Cache Acceleration, and Multiple Spinning disks for Storage.

I was able to use the above method with no issue.

(I also have a “Backup Copy” job to an Internet Hosted Repository - CyberFortress)

 

After about a week of successful backups, I began to see errors.  

**Processing MyServer Error: S3 delete multiple objects request failed to delete object…….**

**Error: S3 delete multiple objects request failed to delete object…….**

 

Has anyone else seen this in their environment?

 

I’m unable to find any other resource pertaining to the QNAP configuration on Veeam or QNAP Website.  QNAP Support has only provided an article from 2019 (outdated).

 

Thanks, *B*

Userlevel 7
Badge +6

Thanks for sharing, @CarySun ! 👏🏻 👏🏻 👏🏻

Userlevel 7
Badge +14

@b.car I would recommend to contact QNAPs support regarding your issue. In addition you might want to check the following topic in the Forums where other's shared there experience and issues. 

https://forums.veeam.com/post517323.html?hilit=Qnap#p517323

Userlevel 1

@regnor - I had previously contacted QNAP Support.  They told me to wait on an update for QuObjects.  I found that rather disappointing as I have failed backups, and their response was “wait for an app update”.  I can appreciate there are bugs that need to be worked out, but when I read that comment, It was not very impressive to me.

 

Userlevel 7
Badge +8

My QNAP is so old i blocked it from my firewall from accessing the internet. I had no clue they could do object storage now.  Time to add something to my wishlist!

Userlevel 1

My QNAP is so old i blocked it from my firewall from accessing the internet. I had no clue they could do object storage now.  Time to add something to my wishlist!

I am using the QNAP in an Enterprise environment. (Not my choice)

If you are going to use this in an Enterprise Environment, please test, test, test. before you go into production.

This was forced upon me, and I’m trying my best to make it work. (not much success here)

See the article from Regnor above, it might change your mind.

https://forums.veeam.com/post517323.html?hilit=Qnap#p517323

Good Luck!

Userlevel 7
Badge +8

My QNAP is so old i blocked it from my firewall from accessing the internet. I had no clue they could do object storage now.  Time to add something to my wishlist!

I am using the QNAP in an Enterprise environment. (Not my choice)

If you are going to use this in an Enterprise Environment, please test, test, test. before you go into production.

This was forced upon me, and I’m trying my best to make it work. (not much success here)

See the article from Regnor above, it might change your mind.

https://forums.veeam.com/post517323.html?hilit=Qnap#p517323

Good Luck!

 

Oh i meant for a homelab. We have a few small NAS devices in the building but we direct connect them to the PC’s now. 

Userlevel 7
Badge +14

@b.car You can also let our support check your logs and maybe they can provide you some optimizations. But I wouldn't be to confident to find a solution as some object storage implementations just don't scale very well. As you've seen, the feedback in the forums isn't that positive. In addition there's only a single QNAP device in the Veeam Ready database, which is full-flash and one of the high end models, if I remember that correctly.

Comment