Fix indent and whitespaces
Encrypt backup after rrd data is added, it fixes #2836