Copyright (C) 2008-2021 Oliver Bohlen.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free Documentation License".
This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
One of the most important things for a server are backups. I wrote a little script to automatically do this job dayly.
I create my backups on an external harddisk being mounted during the boot process to /srv/backups.
First set the profile and update the system:
rm /etc/make.profile && ln -s /usr/portage/profiles/hardened/x86 /etc/make.profile && emerge -uDvN world
If you want to use this solution you need the following howto(s) finished:
File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--
Click here for a download of the complete file: /etc/crontab
Changed on 15.11.10Run backup daily at 2:15 am
15 2 * * * root /usr/local/sbin/backup.sh 2>&1 | cat -vT | ifne mail -s "Daily Backup `date`" user1
Please send a feedback to: doc<at>gabosh.net
Howto listingHere you can find the official Gentoo Linux Forums where you can find a lot of answers.
Here a link to the official Gentoo Linux Homepage.