Understanding a Logic →
There is a WP Plugin, which is also available free of cost for basic usage here.
If you see code its is mostly PHP, JS, and CSS, but when executed it creates it own extension file → “.wpre”, which is later used in retaining the backup either on the same domain, some other domain or restoring some previous versions if backups were taken and those backups were available.
What I understand from the logical perspective is that it creates a backup of Wordpress Theme files + Database and then zip it somehow and creates extension “.wpre” How are such extensions created, and how does system understand them. It is like .php, .css or .js kind of extensions.