Rsync

14 Mar

Script to sync desktop to mirvy server (backup of Brunatex song files).

@echo off
echo Try rsync -auvzbP file remote:/home/myusername
set PATH=H:\PROGRA~1\Rsync;%PATH%
set CYGWIN=binmode tty
set TERM=ansi
set USERNAME=<username>

set HOME=H:\PROGRA~1\Rsync set RSYNC_RSH=ssh.exe

REM
REM Backup all of d:\Brunatex Pro Tools New
REM
rsync246 -e ssh -Cavz –delete "/cygdrive/d/Brunatex Pro Tools New" <username>@mirvy:/var/0DATA/brunatex

REM
REM Backup all of j:\Pro Tools New
REM
rsync246 -e ssh -Cavz –delete "/cygdrive/j/Pro Tools New" <username>@mirvy:/var/0DATA/brunatex

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: