How do I backup and index?

How do backup and index? I want to have a backup just incase of human error will delete it

backup works well in RT-mode by stopping daemon and copy \ archive data_dir

Restore is the same - stop the daemon and copy data_dir content from backup

https://manual.manticoresearch.com/Securing_and_compacting_an_index/Flushing_RAM_chunk_to_disk#FLUSH-RTINDEX