Hallo.
Seit einiger Zeit funktioniert mein backintime Job, den ich wie im Wiki beschrieben eingerichtet habe, nicht mehr. Der Job soll als root einmal täglich laufen. Wenn ich das file 1backintime auf der Konsole als root starte, wird das backup auch erstellt. Nur als anacron Job läuft das nicht. Mir sind folgende syslog Einträge aufgefallen:
Jan 18 19:24:28 hades anacron[1315]: Job `cron.daily' started Jan 18 19:24:28 hades anacron[2581]: Updated timestamp for job `cron.daily' to 2012-01-18 Jan 18 19:24:29 hades backintime (unknown): INFO: Lock Jan 18 19:24:29 hades backintime (unknown): INFO: on process begins Jan 18 19:24:29 hades backintime (unknown): INFO: Profile_id: 1 Jan 18 19:24:29 hades backintime (unknown): WARNING: Can't find snapshots folder !
Ich frage mich wieso hier "unknown" steht. Hier mal das backintime script:
root@hades:/etc/cron.daily# ls -la total 116 drwxr-xr-x 2 root root 4096 2012-01-07 20:44 . drwxr-xr-x 207 root root 20480 2012-01-18 20:10 .. -rwxr-xr-x 1 root root 311 2008-09-03 01:38 0anacron -rwxr-xr-x 1 root root 61 2011-07-08 22:53 1backintime
mit Inhalt:
#!/bin/bash export HOME=/root backintime -b > /dev/null 2>&1
Hat jemand eine Idee, woran es liegen könnte?
Gruß,
Razzel
Moderiert von redknight:
Das scheint mir eine backupfrage zu sein, die solltren wir am besten im Backupforum behandeln.