TIP: Click on subject to list as thread! ANSI
echo: os2
to: Mike Powell
from: Torsten Bamberg
date: 2019-01-02 00:10:42
subject: Win 7 drive map problem

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)
SEEN-BY: 1/19 16/0 120/544 123/130 131 201/119 203/0 221/0 6 360 229/426
SEEN-BY: 240/5832 261/38 280/5003 292/854 320/119 219 633/267 280 640/1384
SEEN-BY: 712/132 620 848 770/1
@PATH: 240/5832 320/219 221/0 640/1384 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.