take backup locations into account