90530
Goto Top

Robocopy erzeugt einen versteckten Systemordner

Ich sichere bei meinem Server die Festplatte d: auf eine NDAS mit Laufwerk e:


robocopy.exe d: e: /MIR /COPY:DAT /DCOPY:T /R:0 /X /V /TS /FP /NP /ETA /TEE > "c:\robo.txt"
ist ok, Hauptordner wird sichtbar angeziegt

Problem:
Wenn ich aber die Variable %date% eingebe wird der Ordner auf e: als versteckter Sytemordner angelegt
robocopy.exe d: e:\%date% /MIR /COPY:DAT /DCOPY:T /R:0 /X /V /TS /FP /NP /ETA /TEE > "c:\robo.txt"

Wie kann ich sicherstellen, dass der Datumsordner sichtbar angezeigt wird?

Content-Key: 180319

Url: https://administrator.de/contentid/180319

Printed on: April 25, 2024 at 01:04 o'clock

Member: bastla
bastla Feb 09, 2012 at 17:24:09 (UTC)
Goto Top
Hallo termito!

Versuch's doch mal mit
robocopy.exe d: e:\%date:.=_% /MIR /COPY:DAT /DCOPY:T /R:0 /X /V /TS /FP /NP /ETA /TEE > "c:\robo.txt"
Grüße
bastla
Mitglied: 90530
90530 Feb 09, 2012 at 19:29:29 (UTC)
Goto Top
Hi bstla immer noch gleiches Problem
Mitglied: 60730
60730 Feb 09, 2012 at 20:42:55 (UTC)
Goto Top
salve,

  • welches Robocopy?
dcopy kommt mir spanisch vor....

Und dann gibts immer einen Weg, wie es immer geht...
md e:\%date%
cd /d e:\%date%
robocopy.exe d: e: usw usf

Wobei mir der MIR Befehl in einem Ordner %date% etwas russisch vorkommt.....
Mitglied: 90530
90530 Feb 09, 2012 at 21:21:29 (UTC)
Goto Top
serges,

ich habe jetzt alles mögliche ausprobiert. Es scheint ein Problem von robocopy zu sein. Ich nutze Version XP027.

robocopy macht den Zielordner versteckt.
Habe jetzt Ordner e:\backup manuell erstellt und dann folgendes eingegeben
robocopy.exe d: e:\backup /MIR /COPY:DAT /R:1 /X /V /TS /FP /NP /ETA /TEE /MT:8 > "c:\robo.txt"

Sobald robocopy startet wird der Ordner hier "backup" versteckt
Member: Skyemugen
Skyemugen Feb 10, 2012 at 07:18:18 (UTC)
Goto Top
Aloha,

T-Mo kommt es spanisch vor, hola dcopy, meine XP010 Version kennt diese Befehlsoption auch nicht, teste doch mal mit einer anderen Robocopy-Version.

greetz André
Mitglied: 90530
90530 Nov 29, 2014 at 05:58:54 (UTC)
Goto Top
Schalter /A-:H macht das Backup sichtbar