Encrypt backup after rrd data is added, it fixes #2836