[linuxola] linuxola Nachrichtensammlung, Band 21, Eintrag 6
Philipp Hanselmann
philipp at schoolnet.na
Don Jul 12 23:55:58 CEST 2007
On Thu, 12 Jul 2007 20:38:31 +0200, wrote Amadeus Wittwer:
> Hello
>
> Am Donnerstag, 12. Juli 2007 schrieb Pelliccia Giovanni:
>
>> evtl. hat Amadeus noch eine Dokumentation.
>>
> Hier zwei Scripts die mit Cron regelmässig gestartet werden können.
>
> ---------------------------------------------------> sync_home.sh
> ############## #!/bin/bash # mount -t ext3 /dev/hdc3 /backup-home
> rsync -a --delete /home/ /backup-home/ umount /backup-home
>
>
> -----------------------------------------------------> sync_root.sh
> ############## #!/bin/bash mount -t ext3 /dev/hdc1 /backup-root
> rsync -av --delete --exclude /proc/ --exclude /sys/ --exclude
> /media/ --exclude /backup/ --exclude /backup-home/ --exclude
> /backup-root/ --exclude /var/spool/cron/crontabs/ / /backup-root/
> umount /backup-root
Danke für die Inputs ...
Mitterweile habe ich sbackup gefunden. Leider ist es mit dem Backup nicht alleine getan. Das Problem liegt eher beim Wiederherstellen, irgendwie müssen alle users nach einer Neuinstallation automatisch wieder hergestellt werden (inclusiv chmod auf den user directory and import aller user in /etc/passwd). Ich schreibe wahrscheinlich ein eigenes skript für dies...
Gruss Philipp
>
>
> peace + be wild amadeus
>
> _______________________________________________
> linuxola mailing list
> linuxola at wilhelmtux.ch
> http://maillists.wilhelmtux.ch/mailman/listinfo/linuxola
---------------------------------------------------------------------------
SchoolNet NA - Youth Empowerment through Information and Communication Technology
SchoolNet Namibia provides sustainable, low cost technology solutions and internet access, as well as technical support, training services and rich educational content to schools, community-based educational organisations, and educational practitioners throughout Namibia.
www.schoolnet.na
toll free number: 0800 005793
Philipp Hanselmann
philipp at schoolnet.na
tel +264 (0)66 267134
fax +264 (0)66 267135
cell +264 (0)81 2273695