The Post method on Rsync Class doesn't work because $to is not setted, to fix that I made this.

public function post() {
$to = $this->to . '/www/';
passthru('rdiff-backup -v5 --remove-older-than 2W '. escapeshellarg($to));
}