After modifying src/dird/ua_tree.c and recompiling bacula, it's ok now. It needs comments in src/dird/ua_tree.c :
... static int cdcmd(UAContext *ua, TREE_CTX *tree) { TREE_NODE *node; char cwd[2000]; if (ua->argc != 2) { ua->error_msg(_("Too few or too many arguments. Try using double quotes.\n")); return 1; } /* * Rem JCA, bug : blocks with Node has no children. * if (!tree_node_has_child(tree->node)) { * ua->send_msg(_("Node %s has no children.\n"), tree->node->fname); * return 1; * } */ node = tree_cwd(ua->argk[1], tree->root, tree->node); if (!node) { /* Try once more if Win32 drive -- make absolute */ if (ua->argk[1][1] == ':') { /* win32 drive */ bstrncpy(cwd, "/", sizeof(cwd)); bstrncat(cwd, ua->argk[1], sizeof(cwd)); node = tree_cwd(cwd, tree->root, tree->node); } if (!node) { ua->warning_msg(_("Invalid path given.\n")); } else { tree->node = node; } } else { tree->node = node; } return pwdcmd(ua, tree); } ... Jacky Le 22/03/2012 15:29, Jacky Carimalo a écrit : > Hi, > > I have a problem with restore, that gives : > > With bat, I choose : > Client, List jobs of client and select a Job, > Restore from time, > I obtain the list of files and directories, > But when I click on an empty directory, > I have : > > Current Dir Node truc has no children > > and even if I click on another directory, this message stays and I can't > see anymore the contents of others directories. > > I have the same problem when I restore with the bconsole. > > (For information, brestore works for small jobs, but I have a spinning > circle for big jobs : it's another problem.) > > Configuration : > Host: x86_64-linux-gnu -- debian 6.0.4 > Bacula version: Bacula 5.2.6 (21 February 2012) > Database : PostgreSQL 9.1 > Bat : bat 5.2.6 (21 February 2012) > > Does anyone has the same problem and solution ? > > Thanks > Jacky > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Jacky CARIMALO Université de Nantes Direction des Systèmes d'Information Tel : 02 53 48 49 22 (en interne : 22 49 22) Fax : 02 53 48 49 09 ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users