hammer command to export the organization

Posted on

I have this command that worked in Satellite 6.4 but does not work in 6.10. Both on RHEL 7.9. I need to export the entire organization to the NFS mount.

/bin/hammer content-view version export --export-dir /NFS_mount1/dir1 --id 1 >> /var/tmp/hammer.log

I get an error running the above in satellite 6.10:

Error: No such sub-command 'export'.

See: 'hammer content-view version --help'.

There is also this command, not sure if I should run it first:

/bin/hammer content-view version export-legacy --organization "my_org" --content-view "Default Organization View" --version "1.0" >> /var/tmp/hammer.log

Responses