Mir ist es gelungen, rsync für den Topf zu portieren.
Hier liegt die Datei. Einfach per ftp ins ProgramFiles spielen. Danach muss rsync einmalig ausführbar gemacht werden und das geschieht via Telnet:
Wenn alles geklappt hat und man gibt nur rsync ein, sollte eine Liste aller Optionen kommen. Dann habe ich eine externe HDD angeschlossen (NTFS = saulangsam) und nachgesehen, wie sie vom System gemountet wurde:
Code: Alles auswählen
# mount
rootfs on / type rootfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt/games type jfs (rw,nointegrity)
/dev/sda2 on /mnt/hd type jfs (rw,nointegrity)
/dev/sdb1 on [color=blue]/mnt/sdb1[/color] type fuseblk (rw,noatime,user_id=0,group_id=0,allow_other)
Nachdem sda* die interne ist, wurde die externe Platte in das Verzeichnis /mnt/sdb1 gemountet. Ein kurzer Check:
Code: Alles auswählen
# ls -l /mnt/sdb1
drwxrwxrwx 1 root root 0 Jul 8 2010 $RECYCLE.BIN
drwxrwxrwx 1 root root 4096 Jun 9 2010 RECYCLER
drwxrwxrwx 1 root root 0 Jun 15 2010 Rene
drwxrwxrwx 1 root root 0 May 29 2010 System Volume Information
-rwxrwxrwx 2 root root 12013940736 May 14 2010 Tante Herthas Rindsrouladen_20100515.rec
-rwxrwxrwx 2 root root 132636 May 15 2010 Tante Herthas Rindsrouladen_20100515.rec.inf
-rwxrwxrwx 2 root root 23810496 May 14 2010 Tante Herthas Rindsrouladen_20100515.rec.nav
-rwxrwxrwx 2 root root 6385180672 Jul 1 2010 U2 in Concert - 360° At The Ros_20100702.rec
-rwxrwxrwx 2 root root 132636 Jul 4 2010 U2 in Concert - 360° At The Ros_20100702.rec.inf
-rwxrwxrwx 2 root root 6623232 Jul 1 2010 U2 in Concert - 360° At The Ros_20100702.rec.nav
Passt.
Also schnell ein Backupverzeichnis anlegen, und den Kopiervorgang starten
Code: Alles auswählen
# mkdir /mnt/sdb1/Topf
# rsync -auvn --delete /mnt/hd/DataFiles/ /mnt/sdb1/Topf/
Das
n bei
auvn bedeutet Trockentraining, er tut nur so, als würde er. Wenn alles gut aussieht, die Zeile ohne
n nochmals ausführen. Jedes Mal, wenn rsync ausgeführt wird, werden neue Dateien in das Topf-Verzeichnis der externen Platte kopiert bzw. Dateien gelöscht, die nur auf der externen existieren (Option --delete).