lets say if i were to create a app for rental management and want to backup it in case of hdd malfunction so i can easily restore it later on
Do you run in a VM?
VM is better, you can make the whole thing back up.
You could also make it open source and put it onto gitlab or github - that way you can get inputs from other users, AND have a permanent backup too
This may help you:
why not use version control ? if you want to keep it private use bitbucket its free