Nexus HA - Blob Store Backup

1,336 views
Skip to first unread message

Vikram Kumar

unread,
Nov 28, 2018, 9:57:36 AM11/28/18
to Nexus Users
Hi Team , 

 Can you please help me how take blob store back up ? what configurations are required. I have gone thru below link but not provided sufficient information.








Michael Prescott

unread,
Nov 28, 2018, 10:07:19 AM11/28/18
to vikramd...@gmail.com, nexus...@glists.sonatype.com
Backing up your blob store happens outside of NXRM. If you're using a file-based blob store, you would use whatever your organization is using to back up files. There is no special NXRM operation you need to do to prepare the blob store for backup, just do a regular full or incremental backup, depending on your policies.

(Backing up the database/configuration, however, requires that you run an export task—if you're trying to back up a running instance of NXRM.)

--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/428a59e0-d801-4493-89a4-2a9b336209f2%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
Message has been deleted

Snehit

unread,
Nov 29, 2018, 9:13:03 AM11/29/18
to Nexus Users, vikramd...@gmail.com
Hi,

I am also trying to backup my Nexus3 instance .What the best way to backup/restore all configuration and repository metadata and achieve high fidelity in case of DR.

Appreciate your help. 

Thank You.

mke...@sonatype.com

unread,
Nov 29, 2018, 9:26:46 AM11/29/18
to Nexus Users, vikramd...@gmail.com
Hello,

You can find documentation regarding backup/restore here: https://help.sonatype.com/repomanager3/backup-and-restore

There is also some information regarding cluster design for HA (only available with Nexus PRO) here: https://help.sonatype.com/repomanager3/high-availability/designing-your-cluster-backup-restore-process

Regards,

Michael.

gotvi...@gmail.com

unread,
Dec 3, 2018, 11:06:35 AM12/3/18
to Nexus Users
I hope this helps.

Nexus HA - As per my understanding OSS does not support HA.  Only PRO versions does.

Backup - (This is what I tried and is working.  I'm still in the process of testing the restore end to end)
You basically need to do two things. (https://help.sonatype.com/repomanager3/backup-and-restore/prepare-a-backup)  You need to backup the database and also the blobs.
* For database, the steps are as follows
    (1) Login to Nexus with an user that has admin access.
    (2) Goto "Server administration and configuration" -> "Tasks" -> "Create Task" -> "Admin - Export databases for backup" and fill in the required details and save.
    (3) Make sure you note down the frequency you set for this task to run as this is important for blobs backup.
    (4) Based on the configuration the db will be backed up in the location specified.
* For blobs, based on the frequency setup in databases, you need to backup the blobs folder at the exact same time.  For this (this is what I did. You can follow the one you are comfortable with) you can run a script to backup the blobs folder as a tar or zip at the same time the database backup happens (using a cronjob) and store them to the location you want.

Vikram Kumar

unread,
Dec 6, 2018, 9:19:52 AM12/6/18
to Nexus Users
Thank you so much.
Reply all
Reply to author
Forward
0 new messages