Active
Project:
Snapshot
Version:
6.x-0.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2011 at 14:19 UTC
Updated:
20 May 2011 at 14:19 UTC
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));
}