Copyright (C) 2008-2017 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.

Howto: Backup for Gentoo Linux

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:

Required hardware

For this topic you need the following hardware: External harddisk

Changes in /etc/crontab

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.10
Issued by olli
Beginning line 22

Run backup daily at 2:00 am

0 2 * * *       root    /usr/local/sbin/ 2>&1 | cat -vT | mail -s "Daily Backup `date`" root

Please send a feedback to: doc<at>

Howto listing
File Index

Here 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.

Edit Howto

About / Impressum

Click here for About / Impressum


If you want to support my work you can find my Amazon whishlist here