n3dr

Nexus 3 backup via command line?

╄→尐↘猪︶ㄣ 提交于 2020-04-04 18:32:11
问题 In Nexus 3 backup procedure has changed. In Nexus 2 recommended was to run a OS scheduled task / cron job to rsync some directories to a backup location. In Nexus 3 the recommended way seems to be to create to schedule a predefined Nexus Task Export configuration & metadata for backup Task . And then also create a cron job to backup what gets exported with this task. Is it still possible in Nexus 3 to do a old style backup? Shutdown the server and backup certain directories? And then for

How to backup all Nexus 3 artifacts?

匆匆过客 提交于 2019-12-21 22:01:22
问题 I was wondering how to download all (not one or two specified ones) artifacts from a Nexus 3 repo to local disk. In Nexus 2 it was easy since everything was stored on disk and I would just rsync all the artifacts to my local disk. But in Nexus 3 all artifacts are stored in the OrientDB and I will have to take an other route. I was thinking about downloading them per http after getting a complete list somehow. Does anybody has an idea on how to perform such an export? 回答1: I modified following

How to backup all Nexus 3 artifacts?

痴心易碎 提交于 2019-12-04 15:07:49
I was wondering how to download all (not one or two specified ones) artifacts from a Nexus 3 repo to local disk. In Nexus 2 it was easy since everything was stored on disk and I would just rsync all the artifacts to my local disk. But in Nexus 3 all artifacts are stored in the OrientDB and I will have to take an other route. I was thinking about downloading them per http after getting a complete list somehow. Does anybody has an idea on how to perform such an export? I modified following groovy scirpt, which can be uploaded using the API: https://gist.github.com/kellyrob99