Backup Script

Discuss and share scripts and script files...
Post Reply
winclimber
Posts: 2
Joined: 11 Mar 2012 14:28

Backup Script

Post by winclimber »

Ich bin gerade dabei einen PC "auszumisten". Das heisst ich sichere alle noch benötigten Daten auf eine externe Festplatte und lösche allen "Mist".
Nützlich finde ich dafür die Funktion Farbmarkierungen bzw Tags zu vergeben. Damit kann ich allle zu sichernden Daten markieren (die unmarkierten bleiben dann für den Papierkorb übrig).
Der möglichst "automatische" Sicherungs-Workflow sollte so ablaufen (meine aktuelle Idee).

1. Markierung der zu sichernden Daten mit Farben (rot z.B) oder einen Tag (SI z.B)
2. Kopieren der markierten Daten, möglichst mit Hashprüfung (CRC o.ä.) ob alles richtig kopiert wurde.
3. Wenn der Kopiervorgang fertig ist, sollten alle korrekt kopierten Daten die Farbmarkierung (z. B von rot nach grün, wo die Hashprüfung Fehler ergab zb nach gelb)
ODER das Tag wechseln von hier SI nach z.b SE (Sicherung erfogreich) , bei Fehlern z.b nach SIError.
Ist so ein Workflow mit XY-Explorer möglich?
Wie ich hörte geht das nur mit Scripting - Scripting kann ich leider nicht.

Über Hilfe würde ich mich freuen. Danke

Wolfgang

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Backup Script

Post by j_c_hallgren »

winclimber wrote:Über Hilfe würde ich mich freuen. Danke
Hi and welcome to the XY forums!

You'll increase your chances of of getting a reply greatly by posting in English!
Don is German and understands what you posted as do maybe a couple of others but this is almost exclusively an English only forum so suggest you translate and repost as such.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

winclimber
Posts: 2
Joined: 11 Mar 2012 14:28

Re: Backup Script

Post by winclimber »

I am cleaning up my PC now. That means I copy all needed data on an extern HD and delete all the useless data. Very useful is the possibility to mark file names by labelling with colours or by giving tags. So I can mark all the data files that need to be copied to the HD (and all the other files without mark have to be deleted). For a better overview of the already copied data the marking colour or the tag name should change after the successfully finished copy. I know how to do this manually. But I would like to do this "automatically" if possible. My suggestion for a workflow:

1. Mark all the data files that have to be copied with a colour (e.g. red) or a tag (e.g. Sl) - this has to be done "manually", of course.
2. Copy the marked files with verification.
3. If the copy is finished, change the label of the data file automatically. E.g. change the marking colour from red to green if the verification resulted no mistake or to yellow if the resulted verification resulted a mistake (similar if tags are used for labelling: e.g. change tag from SI to SE when the copy is correct or to SError if a mistake occurred).

Is such a workflow with XY-Explorer possible?
I heard that it would, but only with Scripting - and this does not belong to my facilities ...

A little help would be great. Thanks ...

Wolfgang
Post Posted: 11 Mar 2012 14:37

Post Reply