Einzelnen Beitrag anzeigen
Ungelesen 13.09.12, 21:28   #9
spartan-b292
Echter Freak
 
Benutzerbild von spartan-b292
 
Registriert seit: Mar 2010
Ort: /home/spartan-b292
Beiträge: 2.856
Bedankt: 1.701
spartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punktespartan-b292 leckt gerne myGully Deckel in der Kanalisation! | 230828 Respekt Punkte
Standard

Wie oben schon gesagt ich mache meine Backups alle mit rsync und/oder tar.
Das sieht als S***** mit tar ca so aus:

Code:
#!/bin/bash
set $(date)

#Einmal pro Woche, Sonntags ein voll Backup.
if  test "$1" == "Sun" ;then
tar cfz <meinbackup.tar.gz> <zu sichernder Ordner>

#An allen anderen tagen ein inkrementelles Backup:

else
find <zu sichernder Ordner> -depth -type f  -ctime -1 -o -mtime -1 -print > <ausgabedatei>
tar cfzvT meinbackup.tar.gz "<ausgabedetei>"
Die Namen in den <> musst du natürlich noch anpassen.
Das ist im Prinzip schon alles damit erhälst du ein .tar.gz Archiv mit deinen Datein. Einmal pro Woche ein vollbackup und an den restlichen Tagen ein inkrementelles. Das ganze kannst du dann noch beliebig erweitern.

EDIT:
Hier habe ich noch einen guten ARtikel dazu gefunden sogar mit fertigem S*****.
http://anouar.im/2011/12/how-to-back...pg-on-osx.html
__________________
"They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety"
spartan-b292 ist offline   Mit Zitat antworten