rsync script from homepage: trouble
Wayne Davison
wayned at samba.org
Thu Sep 23 03:56:09 GMT 2004
On Wed, Sep 22, 2004 at 06:47:39PM -0700, Johannes Graumann wrote:
> rsync error: syntax or usage error (code 1) at main.c(726)
Your first rsync command is missing a space prior to the destination
spec (I added it in front of the "$BSERVER:" bit):
> rsync -e ssh --delete -a $HOME/emptydir/ $BSERVER:/aule/data_rsync/$BACKUPDIR/
> and a plethora of this
>
> > make_bak_dir mkdir "/home/Wednesday" failed: Permission denied
It looks like you didn't set the --backup-dir correctly:
> --backup-dir=/home/$BACKUPDIR
In the first command you refer to it as /aule/data_rsync/$BACKUPDIR, not
/home/$BACKUPDIR.
..wayne..
More information about the rsync
mailing list