В общем виде запуск утилиты выглядит следующим образом:
RepoManager --operation=Значение [options]
RepoManager -oЗначение [options]
Где:
--operation или -o. Выполняемая операция. Обязательный параметр;
Значение. Значение параметра;
[options]. Дополнительные параметры, зависящие от выполняемой операции.
Для обновления репозитория в качестве значения параметра --operation/-o укажите значение update-repo. Последующий список параметров полностью соответствует тому списку, который указывается при создании репозитория. Описание параметров представлено в подразделе «Создание репозитория метаданных в OC Linux».
Примеры создания в различных СУБД:
RepoManager -oupdate-repo -toracle -sserver -mRepository -uUser -wPassword -f/home/files/current.rm4
RepoManager --operation=update-repo --dbms-type=oracle --server=Server --schema=Repository --user=User -password=Password --archive-file=/home/files/current.rm4
RepoManager -oupdate-repo -tpostgres -s10.10.10.10 -dRepository -uUser -wPassword -f/home/files/current.rm4
RepoManager --operation=update-repo --dbms-type=postgres --server=10.10.10.10 --database=Repository --user=User -password=Password --archive-file=/home/files/current.rm4
RepoManager -oupdate-repo -tsqlite -d/home/prognoz/test.sqlite -f/home/prognoz/current.rm4
RepoManager --operation=update-repo -tsqlite -database=/home/prognoz/test.sqlite --archive-file=/home/files/current.rm4
RepoManager -update-repo -tmssql -sMSServer -dRepository -uUser -wPassword -f/home/files/current.rm4
RepoManager --operation=update-repo --dbms-type=mssql --server=MSServer --database=Repository --user=User -password=Password --archive-file=/home/files/current.rm4
См. также:
Создание и управление репозиториями метаданных | Менеджер репозитория