Hello, 11.11.2008 18:15, Bob Hetzel wrote: > I've currently got over 150 backup clients installed with bacula so when > I want to do a restore and I have it list the clients by name the list > is rather unwieldy. I'm thinking the list is ordered by when they were > added? > > If it's doing a database query to generate this client list, where can > the sort order be changed? Ideally I'd like to change it to order by > client name.
This seems to be done in cats/sql_get.c function get_client_ids(). I'm not sure if simply adding an "ORDER BY" statement works with all databases if you order by a field not actually requested. Also, this could break existing scripts where you do something like echo 'status client 1 ' so I would carefully consider such a change. Arno > Bob > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users