<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>monkey-business.biz &#187; Backup</title> <atom:link href="http://www.monkey-business.biz/tag/backup/feed/" rel="self" type="application/rss+xml" /><link>http://www.monkey-business.biz</link> <description>Belästigung der Allgemeinheit - der private Weblog</description> <lastBuildDate>Tue, 24 Jan 2012 14:53:33 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>daily</sy:updatePeriod> <sy:updateFrequency>4</sy:updateFrequency> <item><title>Debian Backups verschlüsseln &#8211; Artikel Update</title><link>http://www.monkey-business.biz/920/debian-backups-verschlusseln-artikel-update/</link> <comments>http://www.monkey-business.biz/920/debian-backups-verschlusseln-artikel-update/#comments</comments> <pubDate>Sun, 23 May 2010 14:07:06 +0000</pubDate> <dc:creator>Loaden</dc:creator> <category><![CDATA[Belästigung der Allgemeinheit - mein privater Weblog]]></category> <category><![CDATA[Backup]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[verschlüsselt]]></category><guid isPermaLink="false">http://www.monkey-business.biz/?p=920</guid> <description><![CDATA[Mein Artikel &#8220;Debian Backup mittels Paketlisten &#38; MySQL Dumps &#38; FTP Upload&#8221; wurde soeben aktuallisiert. Das Script passt nun die Prozess und I/O Priorität für den eigenen Prozess an um den Server nicht bei seinen regulären Arbeiten zu behindern und verschlüsselt das Backup auf Wunsch mit GnuPG. Zum Artikel gehts mit diesem Link: Verschlüsseltes Debian [...]]]></description> <content:encoded><![CDATA[<p>Mein Artikel <a title="Debian Backups verschlüsseln" href="/282/debian-backup-mittels-paketlisten-mysql-dumps-ftp-upload/">&#8220;Debian Backup mittels Paketlisten &amp; MySQL Dumps &amp; FTP Upload&#8221;</a> wurde soeben aktuallisiert. Das Script passt nun die Prozess und I/O Priorität für den eigenen Prozess an um den Server nicht bei seinen regulären Arbeiten zu behindern und verschlüsselt das Backup auf Wunsch mit GnuPG.</p><p>Zum Artikel gehts mit diesem Link: <a title="Debian Backups verschlüsseln" href="/282/debian-backup-mittels-paketlisten-mysql-dumps-ftp-upload/">Verschlüsseltes Debian Backup</a></p> ]]></content:encoded> <wfw:commentRss>http://www.monkey-business.biz/920/debian-backups-verschlusseln-artikel-update/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Debian Backup mittels Paketlisten &amp; MySQL Dumps &amp; FTP Upload</title><link>http://www.monkey-business.biz/282/debian-backup-mittels-paketlisten-mysql-dumps-ftp-upload/</link> <comments>http://www.monkey-business.biz/282/debian-backup-mittels-paketlisten-mysql-dumps-ftp-upload/#comments</comments> <pubDate>Sun, 14 Mar 2010 13:39:29 +0000</pubDate> <dc:creator>Loaden</dc:creator> <category><![CDATA[Belästigung der Allgemeinheit - mein privater Weblog]]></category> <category><![CDATA[Administration]]></category> <category><![CDATA[Backup]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[dpkg]]></category> <category><![CDATA[FTP]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Paketlisten]]></category> <category><![CDATA[Shell]]></category> <category><![CDATA[Ubuntu]]></category><guid isPermaLink="false">http://www.monkey-business.biz/?p=282</guid> <description><![CDATA[Auf der Suche nach einem Backup Shell Script für meinen Debian Server wurde ich in den weiten des Internets nicht fündig. Zumindest fand ich kein Script das genau das tat was ich wollte. Also machte ich mich selbst ans Werk. Vorweg: Das Script erstellt nicht einfach eine simple Kopie des Festplatteninhalts. Dies verbraucht meiner Meinung [...]]]></description> <content:encoded><![CDATA[<p>Auf der Suche nach einem Backup Shell Script für meinen Debian Server wurde ich in den weiten des Internets nicht fündig. Zumindest fand ich kein Script das genau das tat was ich wollte. Also machte ich mich selbst ans Werk. Vorweg: Das Script erstellt nicht einfach eine simple Kopie des Festplatteninhalts. Dies verbraucht meiner Meinung nach zu viel Speicherplatz. Sämtliche Debian Binarys müssen nämlich nicht gesichert werden. Denn diese sind von den Servern aus der sources.list abrufbar. Einzig und allein die Binarys unter /usr/local/ werden, neben den Konfigurationsdateien unter /etc/ und den Dateien unter /var/ /home/ und /root/, gesichtert. Natürlich können diese Verzeichnisse geändert werden. Es reicht die Variable TOBACKUP im Konfigurationsteil des Scriptes um die entsprechenden Verzeichnisse zu erweitern oder mit Hilfe der Variable TOEXCLUDE Unterverzeichnisse vom Backup auszuschließen. Die Kernel Version, Distribution, Architektur und der Installationszeitpunkt des Systems werden nochmals seperat in der Datei uname.txt gesichert.</p><p>Ebenso erstellt das Script SQL Dumps von allen MySQL Datenbanken des Servers und läd das gesamte Backup, verschlüsselt oder nur komprimiert, optional auch auf einen FTP Space übertragen. Wichtig ist das das Verzeichnis das in OUTDIR eingetragen ist exisitert. Sowohl bei lokalem speichern des Backups als auch beim remote Backup Vorgang auf den FTP Space. Eine Übertragung auf einen FTP Backup Space erfolgt nur, wenn FTP Zugangsdaten hinterlegt sind. Sollte etwas in die Option BACKUPPASS eingetragen sein verschlüsselt das Script die Daten mit GnuPG.</p><p>Die Kommentare im Script habe ich in englisch gehalten. Damit sollte eigentlich jeder zurecht kommen und ich muss das Script nicht mehrsprachig kommentiert online stellen. Auf alle Konfigurationsoptionen möchte ich hier im Text nicht weiter eingehen. Die Variablenbezeichnungen sowie die Kommentare sollten alles erklären.</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Author: Tobias Jäck</span>
<span style="color: #666666; font-style: italic;">## License: GPL version 3</span>
&nbsp;
<span style="color: #666666; font-style: italic;">##</span>
<span style="color: #666666; font-style: italic;">## &lt;Configuration&gt;</span>
<span style="color: #666666; font-style: italic;">##</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Backup prefix</span>
<span style="color: #007800;">PREFIX</span>=<span style="color: #ff0000;">&quot;yourprefix_&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Dirs which should be backed</span>
<span style="color: #007800;">TOBACKUP</span>=<span style="color: #ff0000;">&quot;/root/ /home/ /etc/ /var/ /usr/local/&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Dirs which shouldn't be backed</span>
<span style="color: #007800;">TOEXCLUDE</span>=<span style="color: #ff0000;">&quot;/yourdirstoexclude/&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## MySQL login data</span>
<span style="color: #007800;">MYSQLUSER</span>=<span style="color: #ff0000;">&quot;yoursqluser&quot;</span>
<span style="color: #007800;">MYSQLPASS</span>=<span style="color: #ff0000;">&quot;yoursqlpass&quot;</span>
<span style="color: #007800;">MYSQLHOST</span>=<span style="color: #ff0000;">&quot;yoursqlhost&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Dir to save backup</span>
<span style="color: #007800;">OUTDIR</span>=<span style="color: #ff0000;">&quot;yourdirtosave&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## FTP login form the backup FTP server (optional)</span>
<span style="color: #007800;">FTPHOST</span>=<span style="color: #ff0000;">&quot;optionalyourftphost&quot;</span>
<span style="color: #007800;">FTPUSER</span>=<span style="color: #ff0000;">&quot;optionalyourftpuser&quot;</span>
<span style="color: #007800;">FTPPASS</span>=<span style="color: #ff0000;">&quot;optionalyourftppss&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Backup password (optional)</span>
<span style="color: #007800;">BACKUPPASS</span>=<span style="color: #ff0000;">&quot;optionalyourpassword&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Working dir</span>
<span style="color: #007800;">WORKINGDIR</span>=<span style="color: #ff0000;">&quot;/tmp/&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Logfile</span>
<span style="color: #007800;">LOGFILE</span>=<span style="color: #ff0000;">&quot;/var/log/<span style="color: #007800;">${PREFIX}</span>backup.log&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">##</span>
<span style="color: #666666; font-style: italic;">## &lt;/Configuration&gt;</span>
<span style="color: #666666; font-style: italic;">##</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$OUTDIR</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Set prozess priority</span>
	renice <span style="color: #660033;">-19</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$$</span> <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$LOGFILE</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Set I/O priority</span>
	ionice <span style="color: #660033;">-c2</span> <span style="color: #660033;">-n1</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$$</span> <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$LOGFILE</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Date and time</span>
	<span style="color: #007800;">DATE</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%Y-%m-%d-%H-%M-%S&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Create and enter working dir</span>
	<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #800000;">${WORKINGDIR}</span><span style="color: #800000;">${PREFIX}</span><span style="color: #800000;">${DATE}</span>
	<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #800000;">${WORKINGDIR}</span><span style="color: #800000;">${PREFIX}</span><span style="color: #800000;">${DATE}</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Save version</span>
	<span style="color: #c20cb9; font-weight: bold;">uname</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;uname.txt&quot;</span>
	<span style="color: #007800;">TOBACKUP</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${TOBACKUP}</span> uname.txt&quot;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Create a list with installed deb pakets</span>
	<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--get-selections</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;deb.list&quot;</span>
	<span style="color: #007800;">TOBACKUP</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${TOBACKUP}</span> deb.list&quot;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Create MySQL dump environment</span>
	<span style="color: #c20cb9; font-weight: bold;">mkdir</span> mysqldumps<span style="color: #000000; font-weight: bold;">/</span>
	<span style="color: #007800;">TOBACKUP</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${TOBACKUP}</span> mysqldumps/&quot;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Create MySQL dumps from all databases</span>
	<span style="color: #007800;">DBS</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(mysql  -h $MYSQLHOST -u $MYSQLUSER -p$MYSQLPASS -Bse 'show databases' 2&gt;&gt; $LOGFILE)</span>&quot;</span>	
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$?</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">## Delete temporary files</span>
		<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> <span style="color: #800000;">${WORKINGDIR}</span><span style="color: #800000;">${PREFIX}</span><span style="color: #800000;">${DATE}</span>
		<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">for</span> DB <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$DBS</span>; <span style="color: #000000; font-weight: bold;">do</span>
		mysqldump <span style="color: #660033;">-h</span> <span style="color: #007800;">$MYSQLHOST</span> <span style="color: #660033;">-u</span> <span style="color: #007800;">$MYSQLUSER</span> -p<span style="color: #007800;">$MYSQLPASS</span> <span style="color: #007800;">$DB</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;mysqldumps/<span style="color: #007800;">${DB}</span>.sql&quot;</span>
	<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">## Exclude dirs</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TOEXCLUDE</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
		<span style="color: #007800;">TOEXCLUDE</span>=<span style="color: #ff0000;">&quot;--exclude <span style="color: #007800;">${TOEXCLUDE}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Compress and / or encrypt files</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$BACKUPPASS</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>	
&nbsp;
		<span style="color: #007800;">VAR_EXTENSION</span>=<span style="color: #ff0000;">&quot;.tar.bz2.gpg&quot;</span>
		<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-cf</span> - <span style="color: #007800;">$TOBACKUP</span> <span style="color: #007800;">$TOEXCLUDE</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> gpg <span style="color: #660033;">--symmetric</span> <span style="color: #660033;">--bzip2-compress-level</span> <span style="color: #000000;">9</span> <span style="color: #660033;">--passphrase</span> <span style="color: #800000;">${BACKUPPASS}</span>  <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${PREFIX}</span><span style="color: #007800;">${DATE}</span><span style="color: #007800;">${VAR_EXTENSION}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">else</span>
&nbsp;
		<span style="color: #007800;">VAR_EXTENSION</span>=<span style="color: #ff0000;">&quot;.tar.bz2&quot;</span>
		<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-cf</span> - <span style="color: #007800;">$TOBACKUP</span> <span style="color: #007800;">$TOEXCLUDE</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bzip2</span> <span style="color: #660033;">-c</span> <span style="color: #660033;">--best</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${PREFIX}</span><span style="color: #007800;">${DATE}</span><span style="color: #007800;">${VAR_EXTENSION}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$FTPHOST</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$FTPUSER</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$FTPPASS</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">## Save backup on FTP server</span>
		ncftpput <span style="color: #660033;">-u</span> <span style="color: #007800;">$FTPUSER</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$FTPPASS</span> <span style="color: #007800;">$FTPHOST</span> <span style="color: #007800;">$OUTDIR</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${PREFIX}</span><span style="color: #007800;">${DATE}</span><span style="color: #007800;">${VAR_EXTENSION}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$LOGFILE</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">else</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">## Save backup lokal</span>
		<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${PREFIX}</span><span style="color: #007800;">${DATE}</span><span style="color: #007800;">${VAR_EXTENSION}</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$OUTDIR</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$LOGFILE</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">## Delete temporary files</span>
	<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> <span style="color: #800000;">${WORKINGDIR}</span><span style="color: #800000;">${PREFIX}</span><span style="color: #800000;">${DATE}</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$?</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>		
		<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
	<span style="color: #000000; font-weight: bold;">else</span>	
		<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">else</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Error: Output dir is empty&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$LOGFILE</span> 
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div><p>Der Name des komprimierten Backups setzt sich wie folgt zusammen: %Präfix%%Jahr%-%Monat%-%Tag%-%Stunde%-%Minute%-%Sekunde%.tar.bz2. Die Log Datei des Scripts findest du unter /var/log/%Präfix%backup.log. Enthalten sind dort Statistiken und Fehler zur FTP Übertragung sowie kritische Konfigurationsfehler.</p><p>Im Script werden Prozess und I/O Priorität angepasst um den Server nicht an seiner regulären Arbeit zu hindern. Beachte dabei das ein Ausführen von nice nur mit root Rechten möglich ist.</p><p>Mögliche Probleme mit Paketabhängigkeiten sollten sich nach dem erfolgreichen ausführen dieses Befehls erledigt haben:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ncftp <span style="color: #c20cb9; font-weight: bold;">bzip2</span> gnupg</pre></div></div><p>Sowohl date als auch tar, nice, ionice dpkg und mysql / mysqldump sind normalerweise auf dem Server vorhanden.</p><p>Bei Fragen oder Problemen scheue nicht die Kommentarfunktion zu verwenden.</p> ]]></content:encoded> <wfw:commentRss>http://www.monkey-business.biz/282/debian-backup-mittels-paketlisten-mysql-dumps-ftp-upload/feed/</wfw:commentRss> <slash:comments>14</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 5/14 queries in 0.007 seconds using disk: basic

Served from: www.monkey-business.biz @ 2012-02-05 02:11:37 -->
