Services\Synchronize::startLocalToRemoteSync PHP Method

startLocalToRemoteSync() public method

public startLocalToRemoteSync ( $input )
    public function startLocalToRemoteSync($input)
    {
        try {
            $this->startBackup();
            $this->syncToRemote($this->listener->current_time, $this->listener->backup_file, $input);
            return $this->listener->syncSucceeds('Successfully synchronized local to remote.');
        } catch (Exception $e) {
            return $this->listener->syncFails($e->getMessage(), 'backend/synchronize/localToWeb');
        }
    }