rsync und cron
Heinz Benner
postmanisonline at googlemail.com
Mit Dez 31 12:38:09 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo Liste,
im Moment versuche ich mittels rsync und cron Sicherungskopien wichtiger
Verzeichnisse anzulegen.
Von der Konsole klappt das Ganze händisch mittels (chgrp macht
allerdings noch Probleme):
rsync -a /home/Benutzer/Verzeichnis/ /media/rescueDisk/
Problematisch wird es allerdings, wenn ich folgendes in meine crontab
eintrage:
# m h dom mon dow command
14 13 * * * rsync -a /home/Benutzer/Verzeichnis/ /media/rescueDisk/
In diesem Fall werden nur "unsichtbare" Verzeichnisse und deren Inhalt
kopiert.
Wie muss also ein richtiger Eintrag in der crontab lauten?
Danke!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJW2exxx2kYKWJku0RAhMZAJsGafcB7uFFoDuwUKuJBcHHxdkRSgCeMzrX
RReAlq0hOp+MG3kZouOGETQ=
=/PmT
-----END PGP SIGNATURE-----