Backup: Fixed start of timing and logging

Timing and logging was started after the setup of the database, which resulted in erroneous timing. Of course this should be done as soon as possible.
install: Fixed installation bug

Fixed misuse of the cp command when the source is already installed. Instead of overwriting the current source code, the code was being placed in a wrong subdirectory.