Improve UI for restore from commandline on linux

Hello

Could you please enhance the browse command.
It was quite troublesome to make a restore today, we finally found a workaround by looking at the url when you make a restore via the web , and extracted the backupid and path , it s kinda disturbing considering browse also shows an id.
So if you could please fix that

Also for better readability please convert the timestamp to a human form please.

in bonus, if it was actually possible to browse or list backuped files from commandline , it would be nice, so it would show which path to use
I tried with server path first , before understanding i needed to use the backupname as a root path for the files to restore

1 Like

Hello guys,

I have the same problem as @orogor. I try to restore a file using the command line “urbackupclientctl” in a linux client but it is imposible for me to obtain any result with the browse option with the command line , the same thing happens to me when using the restore-start option.

Regards.

It should work, but hasn’t a nice UI currently (gives JSON output and not output formatted for humans). It should also allow listing files and browsing into backups.

If it doesn’t work you should give more info about which commands you try to use and what doesn’t work exactly.

Hello @uroni,

This is a capture of the browser with the last backups of the Linux Client blade24.ual.es (CentOS release 5.11 (Final)):

And this is a capture trying to get a list of backups from the same client:

imagen

Finally, what values ​​should I provide with the -b option of the restore-start command?

Regards.

Show the output of urbackupclientctl status please.

Here you have a capture with the state:

imagen

Regards.

Sorry, the error messages aren’t great as well it seems.

Could you put the client into debug logging mode (edit /etc/default/urbackupclient and then restart) run urbackupclientctl browse and then post the last log messages?

Hello,

I show the result.

imagen

A piece of log (/var/log/urbackupclient.log)

2018-02-13 15:18:41: ClientService cmd: PONG
2018-02-13 15:18:45: ClientService cmd: GET FILE BACKUPS TOKENS#pw=mkZMDG7N3Ow9gcmaisSrafYeItkFqB&tokens=kAr9lso1GVsI0I61jBoo;Idq70vtaFLuOooB0QzO2;jSoqmxJkjy1qSO5vynkZ;bh8qngX8Yfj0UMQmzedO;cN3X60J4X4I7o1MrL2N7;ZuJL2AnGNLbXYnyqjcI0;sELVZqWJG9Fs9Pliqc1r;zZ5T2n5pGmRH32a2tsH2;8gnWUA6t9S8OJBSfKZV2;2OtrsUm7IVc9a3wbsWMG;WD38IaFB5tkwjYnmTNd9;lIfqxlZ2IbYaTqfPEzxL;gsoo4D5uRxZY8qTMP1FN;SgEYi3IO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ni7rmi96g;8VpD98qaoZbqGQVn07gA;OPpirz7CbrjgD8DNAZpb;wLDhfqk5sMP6lHxqYLeG;hUrm18lzeJnkNzlpSAip;GM62nHr6jYdyWAVMWDDO;9HEkQoAF8UTqhmihNHIE;pbMqxZLPxnsPfR26SshV;UHn5UZG3EseJhshyFPFN;XzbQxqux3O3YlU7pWlca;DogJlyXUq1Y6KIhHgaTE;xRNQuxHq3kTmP2T9vvk5;Gzxc9864j0nQo0PBEZTa;aWeESpfE7oWX2pOHZYZ0;xvTj0Ta9a97bfaQe9dZj;FfezNxej2ykv6fUwiJ5Z
2018-02-13 15:18:45: Waiting for pings...
2018-02-13 15:18:45: done. (Waiting for pings)
2018-02-13 15:18:45: rc=0 hasError=true state=0
2018-02-13 15:19:41: ClientService cmd: PONG
2018-02-13 15:20:41: ClientService cmd: PONG
2018-02-13 15:21:41: ClientService cmd: PONG

Best regards,

Hello @uroni,

Is there anything else about this issue?

Regards.

No idea, maybe there would be something in the server debug log…