Subj : Win 7 drive map problem
To   : Mike Powell
From : Torsten Bamberg
Date : Wed Jan 02 2019 12:10 am

Hallo Mike!

01.01.2019 09:46, Mike Powell schrieb an TORSTEN BAMBERG:

>> You know rsync?
MP> No but after reading this I think I do need to know it.  :)
Ah, okay. Well, rsync uses it's own connections between two boxes.
And rsync is very fast transfering small and big files.

>> =##= Anfang "rsyndeam.cmd" =##=
>> REM Dieses Script starten, und auf dem BSD-Rechner
>> REM 192.168.0.19 (Unix) unter ~root/rsync
>> REM das Script ./backup_mbox01 starten
>> CD e:\dbahn\tool\rsync
>> rsync.exe --daemon --config=rsync.conf --no-detach -v
>> =##=   Ende "rsyndeam.cmd" =##=
>> This is the 'server' script on one of my OS/2 computers.
>> Remotly rsync from one of the BSD Computers getting the files.
>> You don't need smbfs or ndfs for this.

MP> So, if I am reading this right, the rsyndeam.cmd runs on the OS/2 box,
Yes.
MP> allowing the BSD script ./backup_mbox01 to run on the BSD box.  The
MP> BSD script connects remotely to the OS/2 box.
Yes.
MP> My German translation of the comments is probably not great, so this
MP> question may be answered, but I am thinking that the scripts run
MP> independently and the OS/2 cmd script opens the channel for the
MP> connection but does not cause the BSD script to run?
Thats right.

MP> I assume the BSD script runs an rsync client?
Sure.

this ist ./backup_mbox01 of the freebsd box:

=##= Anfang "backup_mbox01" =##=
rem -t = preserve file time and date - erhalte dateidatum
rem -h = human readable - lesbar fuer menschen
rem -v = verbose - alles anzeigen
rem -r = recursive sync - alle unterverzeichnisse auch synchronisieren
rem -- update = neu neuere Dateien transferieren

REM erst rsyndaem.cmd auf Mailbox01 192.168.0.15 starten, und dann diese
REM Datei.
REM Damit werden alle Dateien von 192.168.0.15 auf diesem Rechner gesichert.

rsync -rvht --update rsync://192.168.0.15/pub_c/ /mnt/backup/mbox01/lw/lw_c
rsync -rvht --update rsync://192.168.0.15/pub_e/ /mnt/backup/mbox01/lw/lw_e
rsync -rvht --update rsync://192.168.0.15/pub_f/ /mnt/backup/mbox01/lw/lw_f
REM rsync -rvht rsync://192.168.0.15/pub_c/ /mnt/backup/mbox01/lw/lw_c
REM rsync -rvht rsync://192.168.0.15/pub_e/ /mnt/backup/mbox01/lw/lw_e
REM rsync -rvht rsync://192.168.0.15/pub_f/ /mnt/backup/mbox01/lw/lw_f
=##=   Ende "backup_mbox01" =##=

MP> This is great!  :)
Common practice to backup in the BSD-World.

MP> Mike
Bye/2 Torsten

... MAILBOX01 on OS2: up 12d 0h 04m load: 36 proc, 150 threads (tbupv1.1)
--- GoldED+ 1.1.5-18
* Origin: DatenBahn BBS Hamburg (2:240/5832)