How to restore an rsync backup?
In tutorials about rsync backup there is only written how to create a backup, but (almost) never how to restore it, which is certainly as important.Let's say there is a server being backed up using rsync to a remote location. One day something happens to the server and all files are gone. The same OS is then reloaded.
Now what should be done to restore the data? I mean which commands and what first?
And what about the usernames? I suppose change it with some script?
And finally what about the databases? Are they going to be corrupted? All of them or just a small part of it?