Importing backed up system doesn't overwrite previous system

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Importing backed up system doesn't overwrite previous system

sdeschenes
I just recently upgraded from Artifactory 2.3 to Artifactory 3.0.4. I followed the upgrade instructions as indicated on http://www.jfrog.com/confluence/display/RTF/Upgrading+Artifactory for upgrading from Version 2.2.x and higher. I exported my system to a location on the hard drive. I installed a new instance of Artifactory to a new location, created a new service, and started the server (note: I didn't define a new database, I just used the default settings). After I imported my backed up service, I noticed it didn't overwrite the old system (stored at $USER_HOME$/.artifactory). $USER_HOME$/.artifactory is now double in size on the server's hard drive even though Artifactory is reporting the correct nunmber of artifacts.

Is there anything I can do to free up the space on the hard drive? Was I supposed to remove the old system ($USER_HOME$/.artifactory) prior to upgrading?

Thanks,
Scott Deschenes
Reply | Threaded
Open this post in threaded view
|

Re: Importing backed up system doesn't overwrite previous system

Ariel
This post was updated on .
Hi Scott,

It seems that your issue is that you installed Artifactory version 3.0.4
$ARTIFACTORY_HOME in the same directory as the old instance (2.3).
Please notice that you need to install the new Artifactory instance in a
different location than the old one. see here:
http://www.jfrog.com/confluence/display/RTF/Upgrading+Artifactory#UpgradingArtifactory-Artifactory2.2.xaboveUpgradingFromVersion2.2.xandAbovetoVersion3.x

After you installed Artifactory 3.0.4 in a new location, and in a different
$ARTIFACTORY_HOME, you can run the import again.
After the import process complete, verify that all of your artifacts are
there and then you can delete the ***old *** $ARTIFACTORY_HOME

That should fix the issue you described.

Hope that helps,

Ariel


Reply | Threaded
Open this post in threaded view
|

Re: Importing backed up system doesn't overwrite previous system

sdeschenes

Thanks Ariel for your quick reply.

 

-Scott

 

From: Ariel Seftel [mailto:[hidden email]]
Sent: Sunday, November 03, 2013 8:17 AM
To: [hidden email]
Subject: Re: [Artifactory-users] Importing backed up system doesn't overwrite previous system

 

Hi Scott,

 

It seems that your issue is that you installed Artifactory version 3.0.4 $ARTIFACTORY_HOME in the same directory as the old instance (2.3). 

Please notice that you need to install the new Artifactory instance in a different location than the old one. see here:

<a href="http://www.jfrog.com/confluence/display/RTF/Upgrading&#43;Artifactory#UpgradingArtifactory-Artifactory2.2.xaboveUpgradingFromVersion2.2.xandAbovetoVersion3.x">http://www.jfrog.com/confluence/display/RTF/Upgrading+Artifactory#UpgradingArtifactory-Artifactory2.2.xaboveUpgradingFromVersion2.2.xandAbovetoVersion3.x

 

After you installed Artifactory 3.0.4 in a new location, and in a different $ARTIFACTORY_HOME, you can run the import again. 

After the import process complete, verify that all of your artifacts are there and then you can delete the **old $ARTIFACTORY_HOME**

 

That should fix the issue you described. 

Hope that helps,

 

Ariel

 

 

 

On Thu, Oct 31, 2013 at 6:49 PM, sdeschenes <[hidden email]> wrote:

I just recently upgraded from Artifactory 2.3 to Artifactory 3.0.4. I
followed the upgrade instructions as indicated on
http://www.jfrog.com/confluence/display/RTF/Upgrading+Artifactory for
upgrading from Version 2.2.x and higher. I exported my system to a location
on the hard drive. I installed a new instance of Artifactory to a new
location, created a new service, and started the server (note: I didn't
define a new database, I just used the default settings). After I imported
my backed up service, I noticed it didn't overwrite the old system (stored
at $USER_HOME$/.artifactory). $USER_HOME$/.artifactory is now double in size
on the server's hard drive even though Artifactory is reporting the correct
nunmber of artifacts.

Is there anything I can do to free up the space on the hard drive? Was I
supposed to remove the old system ($USER_HOME$/.artifactory) prior to
upgrading?

Thanks,
Scott Deschenes



--
View this message in context: http://forums.jfrog.org/Importing-backed-up-system-doesn-t-overwrite-previous-system-tp7579370.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 

The information contained in this electronic message and any attached document(s) is intended only for the personal and confidential use of the designated recipients named above. This message may be confidential. If the reader of this message is not the intended recipient, you are hereby notified that you have received this document in error, and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify sender immediately by telephone (603) 262-6300 or by electronic mail immediately. Thank you.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users