Seite 1 von 26

SmartBackup

Verfasst: So 24. Nov 2013, 18:38
von FireBird
Damit die Töpfe noch ein wenig näher an ihr Limit kommen :twisted:, gibt es ein neues TAP. SmartBackup sichert das komplette ProgramFiles auf eine per INI festgelegte Zielplatte. Das kann…
  • …die eingebaute sein, was natürlich nur für Testzwecke sinnvoll ist.
  • …eine per USB angeschlossene Platte/Stick sein. Die Platte muss nicht gemountet sein, sie wird automatisch erkannt, wenn das Zielverzeichnis existiert. Wird die Platte beim Start von SB nicht gefunden, wartet SB bis zu 3 Minuten auf ihr Auftauchen.
  • …ein gemountetes NAS. Wird das Ziel nicht gefunden, wartet SB wieder bis zu 3 Minuten. Wurde in der INI ein Mount-Befehl eingegeben, setzt SB diesen vorher ab. Musste sich SB um das Mounten kümmern, wird das NAS nach dem Ende des Backups auch wieder von SB abgeklemmt.
Die INI muss manuell bearbeitet werden, die Standardwerte erzeugen ein Backup auf die interne Platte. Hier z.B. meine INI:

Code: Alles auswählen

; Internal disk
; Use for testing only because it doesn't make sense to backup on the same disk
; MountCommand is not used in this case
;DestDevice=Internal
;DestPath=/mnt/hd/SmartBackup
;MountCommand=


; External disk
; MountCommand is not used in this case
;DestDevice=External
;DestPath=/SmartBackup
;MountCommand=


; Network device
; Choose whatever mount point you like, but none within ProgramFiles
; If MountCommand may be left empty if the NAS is mounted by another TAP
; If SmartBackup mounts the NAS share, it will unmount it after the backup has finished
DestDevice=NAS
DestPath=/mnt/hd/SmartBackup
MountCommand=mount -t nfs 192.168.0.251:/raid0/data/Raid/Backups/SmartBackup /mnt/hd/SmartBackup/
Folgend ein Beispiel-Log von einem Backup auf mein NAS. Das Logging erfolgt in die TAPSystem.log.

Code: Alles auswählen

2013-11-21 22:34:33 SmartBackup: SmartBackup V1.0
2013-11-21 22:34:33 SmartBackup: Destination: NAS not mounted, waiting up to 3 minutes
2013-11-21 22:34:33 SmartBackup: Launching mount command 'mount -t nfs 192.168.0.251:/raid0/data/Raid/Backups/SmartBackup /mnt/hd/SmartBackup/'
2013-11-21 22:36:19 SmartBackup: Destination: NAS @ '/mnt/hd/SmartBackup/'
2013-11-21 22:36:19 SmartBackup: Performing recursive scan
2013-11-21 22:38:16 SmartBackup: Scan result: 56 folders, 5705 files, 385.5 MB
2013-11-21 22:38:16 SmartBackup: Last backup found: 2013-11-19
2013-11-21 22:40:15 SmartBackup: Copied: 64 files, 184.7 MB
2013-11-21 22:40:15 SmartBackup: DeDupe: 5641 files, 200.8 MB
2013-11-21 22:40:15 SmartBackup: Exiting
DeDupe ist ein Feature: hat sich eine Datei seit dem letzten Backup nicht verändert, erzeugt SmartBackup nur einen Hard-Link vom vorhergehenden Backup. Obiger Log-Eintrag bedeutet also, dass sich seit dem vorangegangenen Backup nur 64 Dateien geändert haben und DeDupe mir auf dem NAS 200MB Platz gespart hat. :) Das Ziel muss Hard-Links natürlich unterstützen, sonst wird normal kopiert.

SB führt auch eine automatische Bereinigung der Backup-Verzeichnisse durch (dieses Feature ist noch nicht fertiggestellt). Dabei sollen im Endeffekt die Backupverzeichnisse der letzten 8 Tage, 4 Backups im Wochenabstand, 12 Backups im Monatsabstand und dann jeweils das Letzte eines Jahres übrig bleiben.

Und zu guter Letzt wird SmartBackup ab der nächsten Version von SmartEPG automatisch nach dem Scan gestartet und muss daher nicht in den AutoStart.

Das TAP gibt es via TAPtoDate oder von hier.

AW: SmartBackup

Verfasst: So 24. Nov 2013, 18:40
von Twilight
vielen dank dafür :)

twilight

AW: SmartBackup

Verfasst: So 24. Nov 2013, 18:42
von JayTee
Super Sache, danke FireBird. :up: ;)

AW: SmartBackup

Verfasst: So 24. Nov 2013, 19:22
von Mucki
Klasse !
Danke Alex !! :hello:

AW: SmartBackup

Verfasst: So 24. Nov 2013, 19:26
von TV-Junkie
Wow :D

AW: SmartBackup

Verfasst: So 24. Nov 2013, 20:31
von ameise999
hallo,

vielen dank für das neue tap :D :

1. es gehört in den autostart?
2. muss ein externes laufwerk zur verfügung stehen oder kann generell die interne platte
verwendet werden?

info wäre nett.

gruss

AW: SmartBackup

Verfasst: So 24. Nov 2013, 20:34
von JayTee
Die eingebaute Platte ist nur zum testen sinnvoll (siehe FireBirds Post :u: )

Was nutzt dir ein Backup auf ner kaputten Platte?

Es gehört eher nicht in den Autostart, SE wird es zukünftig automatisch nachstarten,
bis dahin würde ich es ab und an manuell starten

AW: SmartBackup

Verfasst: So 24. Nov 2013, 20:38
von ameise999
JayTee hat geschrieben:Die eingebaute Platte ist nur zum testen sinnvoll (siehe FireBirds Post :u: )

Was nutzt dir ein Backup auf ner kaputten Platte?

Es gehört eher nicht in den Autostart, SE wird es zukünftig automatisch nachstarten,
bis dahin würde ich es ab und an manuell starten


hi,

vielen dank für die erklärung :? ich war mir halt nicht so ganz sicher. :oops:

gruss

AW: SmartBackup

Verfasst: So 24. Nov 2013, 20:48
von JayTee
ameise999 hat geschrieben:...ich war mir halt nicht so ganz sicher. :oops:


Wenn du wüsstest wie oft ich den smilie zuletzt im internen Thread genutzt habe. ;)

Ich war auch selten sicher. :u:

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 06:39
von Twilight
hier, weiterhin alles bestens :up:

Code: Alles auswählen

2013-11-25 05:12:10 SmartBackup: SmartBackup V0.1
2013-11-25 05:12:10 TimerDiags: TAP is running at slot 1: 'SmartBackup V0.1'
2013-11-25 05:12:10 SmartBackup: Destination: NAS not mounted, waiting up to 3 minutes
2013-11-25 05:12:10 SmartBackup: Launching mount command 'mount -t nfs 192.168.2.9:/volume1/Backups/SRP_Beta/SmartBackup /mnt/hd/SmartBackup/'
2013-11-25 05:12:14 SmartBackup: Destination: NAS @ '/mnt/hd/SmartBackup/'
2013-11-25 05:12:14 SmartBackup: Performing recursive scan
2013-11-25 05:15:42 SmartBackup: Scan result: 72 folders, 11839 files, 377.4 MB
2013-11-25 05:15:43 SmartBackup: Last backup found: 4112-173-42
2013-11-25 05:18:40 SmartBackup: Copied: 87 files, 120.5 MB
2013-11-25 05:18:40 SmartBackup: DeDupe: 11752 files, 257.0 MB
2013-11-25 05:18:41 SmartBackup: Exiting
twilight

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 07:22
von macfan
Immer wieder etwas Neues! :respekt: :thanks:

Gruß, Horst

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 10:53
von ameise999
hallo,

jetzt doch noch fragen:

1. reicht ein usb-stick mit 1gb?
wie sollte dieser formatiert sein fat32 oder ntfs?
kann der stick immer angesteckt bleiben?

gruss

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 11:11
von JayTee
1GB?

Radio Eriwan sagt:
im Prinzip schon, aber...

Code: Alles auswählen

2013-11-25 06:54:17 SmartBackup: Copied: 1465 files, 275.8 MB
2013-11-25 06:54:17 SmartBackup: DeDupe: 6247 files, 319.1 MB
bei mir würde es somit schnell knapp. ;)

Liegt halt daran wie groß dein ProgramFiles-Ordner ist.

Zur Formatierung kann ich dir leider nix sagen

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 11:53
von Isarwolf
Ich habe heute mal SmartBackup getestet.
Auf die interne Platte kein Problem.
Bei einem externen USB-Stick gibt es Probleme.
Das Backup beginnt, aber es kommt zu einem Reboot.

Code: Alles auswählen

2013-11-25 11:09:28 SmartBackup: SmartBackup V1.0
2013-11-25 11:09:28 TimerDiags: TAP is running at slot 9: 'SmartBackup V1.0'
2013-11-25 11:09:28 SmartBackup: Destination: external disk @ '/mnt/sdb1/SmartBackup/'
2013-11-25 11:09:28 SmartBackup: Performing recursive scan
2013-11-25 11:10:10 TimerDiags: No events for 29040 ms
2013-11-25 11:11:17 SmartBackup: Scan result: 55 folders, 4488 files, 505.6 MB
2013-11-25 11:11:18 SmartBackup: No previous backup found, this might be the first one.
2013-11-25 11:12:18 TimerDiags: --------------------------------
2013-11-25 11:12:18 TimerDiags: TimerDiags V3.4g has been launched
2013-11-25 11:12:18 TimerDiags: SysID=42031(CRP-2401CI+), Firmware=0x0101, Uptime=1772
2013-11-25 11:12:18 TimerDiags: Bootreason = Timer
2013-11-25 11:12:18 TimerDiags: CHECKPIP disabled
2013-11-25 11:12:18 TimerDiags: CHECKMISSEDTIMERDIALOG disabled
2013-11-25 11:12:18 TimerDiags: CHECKRECMONITOREXTDISK disabled
2013-11-25 11:12:18 TimerDiags: CHECKKEYEVENT disabled
2013-11-25 11:12:21 RebuildNAV: Launching RebuildNAV V5.2
2013-11-25 11:12:22 RebuildNAV: SysID=42031(CRP-2401CI+), Firmware=0x0101

USB-Stick 2,0 GB, Fat 32
Manchmal wird der Stick auch nicht erkannt, aber das ist ein anderes Problem.

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 12:59
von FireBird
Ist in der INI als Ziel nur "/SmartBackup" eingetragen?

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 14:19
von ameise999
JayTee hat geschrieben:1GB?

Radio Eriwan sagt:
im Prinzip schon, aber...

Code: Alles auswählen

2013-11-25 06:54:17 SmartBackup: Copied: 1465 files, 275.8 MB
2013-11-25 06:54:17 SmartBackup: DeDupe: 6247 files, 319.1 MB
bei mir würde es somit schnell knapp. ;)

Liegt halt daran wie groß dein ProgramFiles-Ordner ist.

Zur Formatierung kann ich dir leider nix sagen


hallo,

danke für die info. ein 2gb stick scheint wohl zu reichen, wie weiter unten beschrieben.

gruss

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 14:25
von Isarwolf
FireBird hat geschrieben:Ist in der INI als Ziel nur "/SmartBackup" eingetragen?


Ja

Code: Alles auswählen

; External disk
; MountCommand is not used in this case
DestDevice=External
DestPath=/SmartBackup
MountCommand=

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 14:32
von Isarwolf
ameise999 hat geschrieben:hallo,

danke für die info. ein 2 gb stick scheint wohl zu reichen, wie weiter unten beschrieben.

gruss

Mein Backup ist ca 500 MB

Code: Alles auswählen

2013-11-25 10:27:50 SmartBackup: Scan result: 55 folders, 4488 files, 505.6 MB
Also reicht ein Stick mit 1 GB leicht.

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 14:45
von ameise999
Isarwolf hat geschrieben:Mein Backup ist ca 500 MB

Code: Alles auswählen

2013-11-25 10:27:50 SmartBackup: Scan result: 55 folders, 4488 files, 505.6 MB
Also reicht ein Stick mit 1 GB leicht.


danke :D :

gruss

AW: SmartBackup

Verfasst: Mo 25. Nov 2013, 14:51
von Isarwolf
Jetzt war es ein Freeze:

Code: Alles auswählen

2013-11-25 14:39:03 SmartBackup: SmartBackup V1.0
2013-11-25 14:39:03 TimerDiags: TAP is running at slot 9: 'SmartBackup V1.0'
2013-11-25 14:39:03 SmartBackup: Destination: external disk @ '/mnt/sdb1/SmartBackup/'
2013-11-25 14:39:03 SmartBackup: Performing recursive scan
2013-11-25 14:39:37 TimerDiags: No events for 23850 ms
2013-11-25 14:40:34 SmartBackup: Scan result: 55 folders, 4488 files, 505.9 MB
2013-11-25 14:40:34 SmartBackup: No previous backup found, this might be the first one.
2013-11-25 14:47:47 TimerDiags: --------------------------------
2013-11-25 14:47:47 TimerDiags: TimerDiags V3.4g has been launched
2013-11-25 14:47:47 TimerDiags: SysID=42031(CRP-2401CI+), Firmware=0x0101, Uptime=20151
2013-11-25 14:47:48 TimerDiags: Bootreason = [size=100]Remote key
[/size]