Tag Archives: operations

How to Back Up Nexus Configuration and Repository Artifacts


January 25, 2010 By Juven Xu

If you recently installed Nexus and have started using it to support internal development and collaboration, you will likely want to know how to configure backups to capture your configuration files and repository data.   Any system as central to your development effort as a repository manager needs to be backed up on a daily basis.   Hard drives and power supplies fail, and critical repository artifacts in a hosted repository may be inadvertently deleted.

In this post, I go through the recommended procedures for backing up a Nexus installation.   I discuss which files and directories need to be backed up, and I make some specific recommendations about backup configuration.   Luckily, Nexus was designed to use the filesystem to store both configuration and repository data.   This means that backing up your Nexus installation is as easy as configuring an automated backup tool such as amanda or a simple backup script that uses rsync.   There is no database to export or server to suspend for the duration of the backup.  Backing up or restoring a Nexus installation is as easy as copying a set of files. Continue reading

Installing Nexus on a Solaris Zone


March 12, 2009 By Brian Fox

nx-big_large1I recently setup a Nexus Pro instance on a Solaris zone for Apache. The ASF infra team requests documentation for any production instance to assist in maintenance down the road. I captured every step of the process from setting up the users, installing Nexus, hooking it into SMF (Solaris’s inet.d replacement), to configuring mod_proxy and https certificates, and allowing rsync access from the Maven Central Repository.

In addition to serving as a server book for this instance, I think these docs are a great resource for users to see an end to end installation on Solaris (almost all of it is applicable to Linux as well).

I will continue to update these pages as things change and will also document exactly how I have configured the Nexus application as well, to show how to properly configure Repository Targets, Permissions, Staging Profiles, etc.

Here’s the link to the docs, Enjoy.