manticoresoftware / manticoresearch-backup

Repository for Manticore Search backup scripts
GNU General Public License v3.0
3 stars 1 forks source link

Bugs and fixes #4

Closed dmitrykuzmenkov closed 2 years ago

sanikolaev commented 2 years ago

Notes after functional testing

Copyright

[root@0391e5b35b86 ~]# /manticoresearch-backup/build/manticore_backup
2022-10-03 15:34:24 [Error] Failed to find target dir to store backup: none

Let's show copyright here too similar to searchd/indexer/indextool:

[root@0391e5b35b86 ~]# searchd -ksjjfkd
Manticore 5.0.3 79a994220@220924 dev (columnar 1.16.1 abd8d4d@220927)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-2022, Manticore Software LTD (https://manticoresearch.com)

[35:04.073] [1821] FATAL: malformed or unknown option near '-ksjjfkd'; use '-h' or '--help' to see available options.

It should look like this:

[root@0391e5b35b86 ~]# /manticoresearch-backup/build/manticore_backup
Copyright (c) 2017-2022, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

2022-10-03 15:34:24 [Error] Failed to find target dir to store backup: none

Emojis

Looks not good in less:

image

I'm sure there's a way to have emojis displayed ok in less, vim etc, but I'm not sure it's easy for most, so I suggest we don't use emojis in output of manticore_backup.