Dear all, Would it be possible somehow to not only export a single history of a user (to file) but also all histories of a user in one go. Or even all user-bound histories/settings and such? I would like to import them into another galaxy instance (basically from our internal development (galaxy_central) server to our public production (galaxy-dist) server), but going over them one-by-one will be a laborious task. Both instances are up-to-date. I do have admin access to both the galaxy instances (as we own them) so admin bound tools and/or possibilities from commandline would be suitable as well. Since I am unsure where it fits in the user-list or dev-list I cross-posted to both (sorry). Thanks in advance! Alex
(New feature discussion belong on the -dev list.) This is not possible now but is pretty simple to do in the future: (a) abstract the import/export history functionality into the UsesHistoryMixin; and (b) make import/export available via the API. I've made a Trello card for this: https://trello.com/c/qhu1KdWU Best, J. On Nov 29, 2012, at 8:36 AM, Bossers, Alex wrote:
Dear all,
Would it be possible somehow to not only export a single history of a user (to file) but also all histories of a user in one go. Or even all user-bound histories/settings and such? I would like to import them into another galaxy instance (basically from our internal development (galaxy_central) server to our public production (galaxy-dist) server), but going over them one-by-one will be a laborious task. Both instances are up-to-date. I do have admin access to both the galaxy instances (as we own them) so admin bound tools and/or possibilities from commandline would be suitable as well. Since I am unsure where it fits in the user-list or dev-list I cross-posted to both (sorry).
Thanks in advance!
Alex
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
Jeremy Thanks for the reply and the "card" :-) Didn't know if it was there or not so that's why the crosspost. I was thinking whether I could establish the same from using the DB access directly!? Or would that be too dangerous? In the past I have tried to transfer the user tables from an old instance into a fresh one....but failed due to all sorts of unpredictable errors.. Alex -----Oorspronkelijk bericht----- Van: Jeremy Goecks [mailto:jeremy.goecks@emory.edu] Verzonden: donderdag 29 november 2012 17:35 Aan: Bossers, Alex CC: galaxy-dev@lists.bx.psu.edu Galaxy-dev Onderwerp: Re: [galaxy-dev] Data/history/user export and import (New feature discussion belong on the -dev list.) This is not possible now but is pretty simple to do in the future: (a) abstract the import/export history functionality into the UsesHistoryMixin; and (b) make import/export available via the API. I've made a Trello card for this: https://trello.com/c/qhu1KdWU Best, J. On Nov 29, 2012, at 8:36 AM, Bossers, Alex wrote:
Dear all,
Would it be possible somehow to not only export a single history of a user (to file) but also all histories of a user in one go. Or even all user-bound histories/settings and such? I would like to import them into another galaxy instance (basically from our internal development (galaxy_central) server to our public production (galaxy-dist) server), but going over them one-by-one will be a laborious task. Both instances are up-to-date. I do have admin access to both the galaxy instances (as we own them) so admin bound tools and/or possibilities from commandline would be suitable as well. Since I am unsure where it fits in the user-list or dev-list I cross-posted to both (sorry).
Thanks in advance!
Alex
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
I was thinking whether I could establish the same from using the DB access directly!? Or would that be too dangerous? In the past I have tried to transfer the user tables from an old instance into a fresh one....but failed due to all sorts of unpredictable errors..
We (the Galaxy team) do not recommend that you modify the database directly; there's just too much going on (keys, relationships, etc) to ensure that things go smoothly. In fact, the whole point of the API is to provide a high-level, programmer interface so that developers do not have to work at a low (e.g. database) level. If you were going to write some code, you'd be best to try extending the API to support what you want. Should you get history import/export working, we'd be happy to incorporate it in the Galaxy source. Best, J.
participants (3)
-
Bossers, Alex
-
Jeremy Goecks
-
Jeremy Goecks