无法使用rest-api导出artifactory sytem备份

时间:2022-04-11 15:45:47

Team,

球队,

I am getting below error when i am trying to export the artifactory system.

当我试图导出神器系统时,我得到以下错误。

[root@akkji01-E5154 backup]# curl -u username:password -H "content-type: application/json" -X POST "http://akkji01-e5154:8081/artifactory/api/export/system" -T {export-settings.json} Beginning full system export... Creating temp export directory: /artifactory/backup/20171114.131207.tmp

[root @ akkji01-E5154 backup] #curl -u username:password -H“content-type:application / json”-X POST“http:// akkji01-e5154:8081 / artifactory / api / export / system”-T {export-settings.json}开始完整系统导出...创建临时导出目录:/artifactory/backup/20171114.131207.tmp

500 : Failed to create backup dir: /artifactory/backup/20171114.131207.tmp

500:无法创建备份目录:/artifactory/backup/20171114.131207.tmp

Any idea?

任何想法?

Regards, Jithendar

此致,Jithendar

1 个解决方案

#1


0  

Have you checked the permissions on /artifactory and /artifactory/backup? They need to be the same owner as the artifactory service is running under. For an RPM installation that’s the userid “artifactory”.

你有没有检查/ artifactory和/ artifactory / backup的权限?它们需要与运行神器服务的所有者相同。对于RPM安装,它是用户标识“artifactory”。

#1


0  

Have you checked the permissions on /artifactory and /artifactory/backup? They need to be the same owner as the artifactory service is running under. For an RPM installation that’s the userid “artifactory”.

你有没有检查/ artifactory和/ artifactory / backup的权限?它们需要与运行神器服务的所有者相同。对于RPM安装,它是用户标识“artifactory”。