Corey Kovacs wrote:
> Hopefully this is a new question, if not, could someone point me to  
> the info?
>
> I'd like to be able to do something on the order of ...
>      cobbler system dump --name=sys1
>      cobbler profile dump --all
>
> Which would simply dump the internal info to a file suitable for  
> reconstructing a cobbler database. Think of an ldif file for leap.  
> This could be as simple as a file containing cobbler commands required  
> to recreate all profiles and systems.
>
> If this can be done already in a "cobbler"ish way, how is it done?
>
>
> Regards,
>
> Corey
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

What is the use case here?

For backup purposes, the directories you care about are:

    /var/lib/cobbler
    /etc/cobbler
    /var/www/cobbler

    (I need to make a Wiki page on this)

For cloning servers, the answer is "cobbler replicate".  

    https://fedorahosted.org/cobbler/wiki/ReplicateMaster

If you want to replicate just specific records between servers, we can't 
do that yet, but if you are careful you can just scp specific files from 
/var/lib/cobbler/config.   If you miss dependencies on other config 
files files or data that is not on the other server though, you'll wish 
you used cobbler replicate.

--Michael








_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to