These are chat archives for allegro/ralph

13th
Jul 2018
Silencedpulse
@Silencedpulse
Jul 13 2018 14:49
Is there a Backup/Restore option? I don't see one. We are migrating servers and using the Import csv feature has worked for many things but it fails on the Hardware, which is what I have the most of. The error is DataCenterAsset matching query does not exist. A Backup/Restore option would be easier.
NickPignato
@NickPignato
Jul 13 2018 15:25
Hello! i am just wondering if ralph has a way to auto populate all our data center assets that comes with ralph itself or if someone knows or has made something to auto populate everything
or would it be easier to just get all the info i need into a json and do something with the api to auto populate all the assets
✪ vi4m Marcin Kliks
@vi4m
Jul 13 2018 17:00
@Silencedpulse we don’t have something like that at the moment. Mysql database dump + attachments backups is something we do for backups for now.
@NickPignato see csv import / export
NickPignato
@NickPignato
Jul 13 2018 17:12
ok thank you
NickPignato
@NickPignato
Jul 13 2018 17:31
no that cant be it
I will keep looking
✪ vi4m Marcin Kliks
@vi4m
Jul 13 2018 17:32
No this is just about migrating from Ralph 2
NickPignato
@NickPignato
Jul 13 2018 17:32
yeah figured
if you got a link that would be amazing, if not i am going to keep searching
✪ vi4m Marcin Kliks
@vi4m
Jul 13 2018 17:33
This is visible in GUI - actions button on the listing
What type of data do you have ?
NickPignato
@NickPignato
Jul 13 2018 17:35
we have about 1700 data center assests and growing, alot of its outdated so we have a way to get all the info to put into ralph but it will take forever to do manually. So we are looking into a way to have it get auto populated with all the updated info
right now its all in json but can be changed to whats needed
the hostname/SN/ Remarks/rack/position/orientation/management ip stuff like that
NickPignato
@NickPignato
Jul 13 2018 17:51
ok i see the import feature on the site but i want it to be automated so I will have to set that up
unless something is setup for that already
✪ vi4m Marcin Kliks
@vi4m
Jul 13 2018 18:54
so then you can use API’s for programmaticaly adding assets http://ralph-demo.allegro.tech/api/
there is also ralph-cli commandline script for discovering using couple of plugins http://ralph-cli.readthedocs.io/en/latest/
let us know if something from the api docs needs to be updated