<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash.]]></title><description><![CDATA[<p>Brauche mal Hilfe für <a href="https://fedifreu.de/tags/linux" rel="tag">#<span>linux</span></a> <a href="https://fedifreu.de/tags/debian" rel="tag">#<span>debian</span></a> <a href="https://fedifreu.de/tags/trixie" rel="tag">#<span>trixie</span></a> <a href="https://fedifreu.de/tags/nas" rel="tag">#<span>nas</span></a> <a href="https://fedifreu.de/tags/usbraid" rel="tag">#<span>usbraid</span></a> <a href="https://fedifreu.de/tags/nfs" rel="tag">#<span>nfs</span></a> <a href="https://fedifreu.de/tags/usb" rel="tag">#<span>usb</span></a> <a href="https://fedifreu.de/tags/rsync" rel="tag">#<span>rsync</span></a> <a href="https://fedifreu.de/tags/bash" rel="tag">#<span>bash</span></a>.</p><p>Ich habe ein <a href="https://fedifreu.de/tags/Script" rel="tag">#<span>Script</span></a> das nicht funktioniert und doch funktioniert *grrrr*</p><p>(Script Begin)<br />#!/bin/bash</p><p>set -ex</p><p># check for mount<br />grep /backup /etc/mtab &gt; /dev/null || exit 1</p><p># directory to backup<br />BDIR=/home/wilma_wein/</p><p># Destination dir for rsync<br />DDIR=/media/backup</p><p># excludes file - this contains a wildcard pattern per line of files to exclude<br />EXCLUDES=/root/rsy.excl</p><p># BACKUPDIR=${1:-`date +%A`}<br />BACKUPDIR=${1:-"day"`date +%d`}</p><p>OPTS="--force<br />    --ignore-errors \<br />    --delete-excluded \<br />    --exclude-from=$EXCLUDES<br />    --delete --backup --backup-dir=$DDIR/$BACKUPDIR -a -v"</p><p>export PATH=$PATH:/bin:/usr/bin:/usr/local/bin</p><p># if destination does not exist, make it;-)<br />[ -d $DDIR ] || mkdir $DDIR</p><p># write logfile<br />echo oooooooooooooooooooooooooooooooooooooooooooo &gt;&gt; /root/rsy.log<br />date &gt;&gt; /root/rsy.log</p><p># delete existing backup dir<br />[ -d $DDIR/$BACKUPDIR ] &amp;&amp; (echo remaking $DDIR/$BACKUPDIR &gt;&gt; /root/rsy.log; rm  -r $DDIR/$BACKUPDIR)</p><p># now the actual transfer<br />rsync $OPTS $BDIR $DDIR/current &gt;&gt; /root/rsy.log</p><p>(Script Ende)<br />.<br />.<br />Dieses Script soll mir mein komplettes /home sichern und gelöschte dateien in den heutigen Tag (Ordner day20 anlegen) und die gelöschte oder alte Datei (sofern geändert) verschieben. Die geänderte neue Datei im BackUp Ordner belassen.</p><p>Folgende Laufwerke sind in meiner <a href="https://fedifreu.de/tags/fstab" rel="tag">#<span>fstab</span></a> gemountet:</p><p># Angeschlossenes USB RAID Laufwerk.<br />/dev/sdb1       /media/USBRaid      ext4    auto,nouser,exec,async,noatime    0       0<br /># Network Attached Storage Synology<br />192.168.2.120:/volume1/backup    /media/synology223j/backup    nfs    auto,user,exec,async,noatime   0      0<br />.<br />.<br />Das Script funktioniert einwandfrei mit dem <a href="https://fedifreu.de/tags/USBRaid" rel="tag">#<span>USBRaid</span></a> Laufwerk (RAID 0 - Striping)<br />aber nicht mit dem <a href="https://fedifreu.de/tags/Synology" rel="tag">#<span>Synology</span></a> <a href="https://fedifreu.de/tags/NAS" rel="tag">#<span>NAS</span></a> (RAID 1 - Mirroring), dort wird mir mein /home auch im Tagesordner gespeichert.<br />.<br />.<br />??? Kann sich hier wer vorstellen oder weiß warum das mit der <a href="https://fedifreu.de/tags/NAS" rel="tag">#<span>NAS</span></a> nicht funzt ???</p>]]></description><link>https://board.circlewithadot.net/topic/01f9e1de-52db-42cc-ae56-5dad56724f9c/brauche-mal-hilfe-für-linux-debian-trixie-nas-usbraid-nfs-usb-rsync-bash.</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 00:31:44 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/01f9e1de-52db-42cc-ae56-5dad56724f9c.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 May 2026 12:12:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Thu, 21 May 2026 06:41:27 GMT]]></title><description><![CDATA[<p><span><a href="https://mastodon.social/@atzinger">@<span>atzinger</span></a></span> <br />Das ist Richtig, das habe ich in diesem script nicht angepasst, das Original im cron Ordner stimmt dagegen schon. Habe nicht aufgepasst. Danke.</p>]]></description><link>https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116611198978919777</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116611198978919777</guid><dc:creator><![CDATA[daumenlutscher@fedifreu.de]]></dc:creator><pubDate>Thu, 21 May 2026 06:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Wed, 20 May 2026 21:28:38 GMT]]></title><description><![CDATA[<p><span><a href="/user/dasaweb%40wue.social">@<span>dasaweb</span></a></span> <br />Danke.<br />Das bringt mich weiter.<br />Ist voll cool</p>]]></description><link>https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116609025187719748</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116609025187719748</guid><dc:creator><![CDATA[daumenlutscher@fedifreu.de]]></dc:creator><pubDate>Wed, 20 May 2026 21:28:38 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Wed, 20 May 2026 18:49:35 GMT]]></title><description><![CDATA[<p><span><a href="/user/daumenlutscher%40fedifreu.de">@<span>daumenlutscher</span></a></span> Geh einfach mal auf <a href="https://chatgpt.com" rel="nofollow noopener"><span>https://</span><span>chatgpt.com</span><span></span></a> und kopiere deinen Toot komplett rein. Einfach unformatiert. Und schau, was passiert.</p>]]></description><link>https://board.circlewithadot.net/post/https://wue.social/users/dasaweb/statuses/116608399785680643</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://wue.social/users/dasaweb/statuses/116608399785680643</guid><dc:creator><![CDATA[dasaweb@wue.social]]></dc:creator><pubDate>Wed, 20 May 2026 18:49:35 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Wed, 20 May 2026 18:21:36 GMT]]></title><description><![CDATA[<p>Im Skript ist dein Destination-Dir /media/backup. In deiner fstab wird weder das eine noch das andere dorthin gemountet.</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.social/ap/users/115943272473907683/statuses/116608289745462099</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.social/ap/users/115943272473907683/statuses/116608289745462099</guid><dc:creator><![CDATA[atzinger@mastodon.social]]></dc:creator><pubDate>Wed, 20 May 2026 18:21:36 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Wed, 20 May 2026 17:53:59 GMT]]></title><description><![CDATA[<p><span><a href="/user/dasaweb%40wue.social">@<span>dasaweb</span></a></span> <br />Das liegt eher daran, dass ich davon minus null Ahnung habe.<br />Ich habe von diesen Sachen (LLM) einen großen Bogen drum gemacht uuuuuund mich damit noch nie beschäftigt. <img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title="🤷" alt="🤷" /><img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f3fb.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--skin-tone-2" style="height:23px;width:auto;vertical-align:middle" title="🏻" alt="🏻" />‍<img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/2640.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--female_sign" style="height:23px;width:auto;vertical-align:middle" title="♀" alt="♀" />️</p>]]></description><link>https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116608181174075598</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116608181174075598</guid><dc:creator><![CDATA[daumenlutscher@fedifreu.de]]></dc:creator><pubDate>Wed, 20 May 2026 17:53:59 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Wed, 20 May 2026 15:38:28 GMT]]></title><description><![CDATA[<p><span><a href="/user/daumenlutscher%40fedifreu.de">@<span>daumenlutscher</span></a></span> Na gut, wer nicht will, der hat schon.</p>]]></description><link>https://board.circlewithadot.net/post/https://wue.social/users/dasaweb/statuses/116607648311879662</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://wue.social/users/dasaweb/statuses/116607648311879662</guid><dc:creator><![CDATA[dasaweb@wue.social]]></dc:creator><pubDate>Wed, 20 May 2026 15:38:28 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Wed, 20 May 2026 15:22:31 GMT]]></title><description><![CDATA[<p><span><a href="/user/dasaweb%40wue.social">@<span>dasaweb</span></a></span> <br />LLM?<br />Hilfe, bitte nicht!</p>]]></description><link>https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116607585589364182</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://fedifreu.de/ap/users/116059083632854009/statuses/116607585589364182</guid><dc:creator><![CDATA[daumenlutscher@fedifreu.de]]></dc:creator><pubDate>Wed, 20 May 2026 15:22:31 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash. on Wed, 20 May 2026 13:37:15 GMT]]></title><description><![CDATA[<p><span><a href="/user/daumenlutscher%40fedifreu.de">@<span>daumenlutscher</span></a></span> Ich würde die Frage genau so mal in ein LLM deiner Wahl werfen, bin mir sicher, damit kommst du weiter.</p>]]></description><link>https://board.circlewithadot.net/post/https://wue.social/users/dasaweb/statuses/116607171687158699</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://wue.social/users/dasaweb/statuses/116607171687158699</guid><dc:creator><![CDATA[dasaweb@wue.social]]></dc:creator><pubDate>Wed, 20 May 2026 13:37:15 GMT</pubDate></item></channel></rss>