<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Bacula + MSSQL]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=40601</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=40601&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Bacula + MSSQL».]]></description>
		<lastBuildDate>Sat, 13 Mar 2021 16:32:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468655#p468655</link>
			<description><![CDATA[<div class="quotebox"><cite>XliN пишет:</cite><blockquote><p>...и буду их сжимать там xz...</p></blockquote></div><p>Очень жаль, <strong>XliN</strong>.&nbsp; <img src="https://linuxforum.ru/img/smilies/au.gif" alt="au" /> <br />Тогда ещё один аргумент, последний... )) В случае повреждения архива бэкапа.<strong>xz</strong>, его вряд ли получится восстановить: <a href="https://www.linuxquestions.org/questions/linux-newbie-8/how-to-recover-files-from-corrupt-tar-xz-4175498722/?__cf_chl_jschl_tk__=2b1cfbe3876134d5ede5088aff347e1612e63155-1615650821-0-AX27amVqlYGobllNxPQ4ut2H9UY6OT9ktOCBJ26LUq2N4WlIyVQF5iY6RGo6WnyR2v--WNA_08WzbSIAzYDlXCVbVCeiszAjz6RC07shXgkELxUQw40aSRSf23zpq0e68_9zqHNRSU5FSaTqjtkt2780XqtPxF7BWO2aEpmslOk2w2wjjuwCeU0pXWbxABP6OMyTJdGZTBTOAYc4-b4k-1WPuvbNv3G0gnPsz4hqojYulXQIXfoLlEP1Fgs7-bRZlGNzCw2Q8hEsfe_082V6U30H3Laxy1TA6p0RROz67K0cmmnWqSYSZF9mhK-Gry3ejMPU2Kp53sIMyTg0VDX16aclwhpaFhyUlQ4m7wReffwa_EEFrZLXvP_NPPGGZlqyNcuZXWgXFj58NMvDBU_N78XG4_qGWzQxnNNkIBQ-KyMsAwHVZ9GqGygogjcc_QcXRs6mdtOUR-IMIzH3OOojwNPcOQyADWmKWg_F22vp7vJr">how to recover files from corrupt tar.xz</a> А у <strong>bzip2</strong> есть своя, родная утилита для рековера: <a href="https://docs.oracle.com/cd/E86824_01/html/E54763/bzip2recover-1.html"><strong><span style="color: #008000">bzip2recover (1)</span></strong></a>. Так что bzip2 - рулез, а xz- сакс.&nbsp; <img src="https://linuxforum.ru/img/smilies/bi.gif" alt="bi" /></p>]]></description>
			<author><![CDATA[null@example.com (alex_q_2000)]]></author>
			<pubDate>Sat, 13 Mar 2021 16:32:50 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468655#p468655</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468653#p468653</link>
			<description><![CDATA[<p>Это все ерунда. Добавил места на диске где лежат дампы баз и буду их сжимать там xz, а потом уже забирать бакулой.</p><p>Вернее все делать бакулой. Снимать дамп, сжимать и класть этот архив рядом и его забирать, а потом чистить папку.<br />Через одно место, но попробую.</p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Sat, 13 Mar 2021 11:46:34 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468653#p468653</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468638#p468638</link>
			<description><![CDATA[<p><strong>alex_q_2000</strong>, bzip2 по сути - доработанная версия gzip, который является классикой ещё со времён первых Linux <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> <br />А xz - zip-сжатие уже целых массивов RAID.</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Thu, 11 Mar 2021 09:01:35 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468638#p468638</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468634#p468634</link>
			<description><![CDATA[<div class="quotebox"><cite>XliN пишет:</cite><blockquote><p>К сожалению все это читал, а другие сжатия не поддерживаются (((</p></blockquote></div><p><a href="https://ru.wikipedia.org/wiki/Bzip2">Аргументы командной строки bzip2 в основном такие же, как и у утилиты gzip</a></p><p>Может тупо переименовать /usr/bin/bzip2 в /usr/bin/gzip и посмотреть, что будет?<br />Если заведётся и результат положительный, можно будет распространить это &quot;ноу-хау&quot; в массы. <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p><p>Я серьёзно... <strong>Wolfenberg</strong> уже говорил, что <strong>bzip2</strong> более забористый, а значит будет с чем сравнить...</p><p>По-джедайски это выглядит так:<br /></p><div class="codebox"><pre><code>#Установить bzip2 как gzip
mv /usr/bin/gzip /usr/bin/gzip.orig; ln -s /usr/bin/bzip2 /usr/bin/gzip
#Вернуть как было
mv -f /usr/bin/gzip.orig /usr/bin/gzip</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (alex_q_2000)]]></author>
			<pubDate>Wed, 10 Mar 2021 11:40:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468634#p468634</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468632#p468632</link>
			<description><![CDATA[<p><strong>XliN</strong>, ну тогда совет выше - указывать параметр сжатия для GZIP. К сожалению, сжатие RAR в Linux не поддерживается.</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Wed, 10 Mar 2021 07:58:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468632#p468632</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468631#p468631</link>
			<description><![CDATA[<p>К сожалению все это читал, а другие сжатия не поддерживаются (((<br /><strong>*** Добавлено: 09.03.2021 18:32:14 ***</strong></p><div class="quotebox"><cite>Wolfenberg пишет:</cite><blockquote><p>Нужно позабористее? bzip2<br />Ещё мощнее пресс? xz</p></blockquote></div><p>Да вот нельзя блин их ((( xz самый любмый мой<br /></p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Tue, 09 Mar 2021 15:32:14 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468631#p468631</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468607#p468607</link>
			<description><![CDATA[<p>Это не то случайно?&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> <br /><a href="https://www.bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html#SECTION001470000000000000000">compression=GZIP9</a></p><p><em>Specifying GZIP uses the default compression level 6 (i.e. GZIP is identical to GZIP6). If you want a different compression level (1 through 9), you can specify it by appending the level number with no intervening spaces to GZIP. Thus compression=GZIP1 would give minimum compression but the fastest algorithm, and compression=GZIP9 would give the highest level of compression, but requires more computation. According to the GZIP documentation, compression levels greater than six generally give very little extra compression and are rather CPU intensive.</em></p><p><em>You can overwrite this option per Storage resource with AlowCompression option.</em></p><p>При указании GZIP используется уровень сжатия по умолчанию 6 (т. е. GZIP идентичен GZIP6). Если вам нужен другой уровень сжатия (от 1 до 9), вы можете указать его, добавив номер уровня без промежуточных пробелов в GZIP. Таким образом, сжатие=GZIP1 даст минимальное сжатие, но самый быстрый алгоритм, а сжатие=GZIP9 даст самый высокий уровень сжатия, но потребует больше вычислений. Согласно документации GZIP, уровни сжатия, превышающие шесть, обычно дают очень мало дополнительного сжатия и довольно интенсивны для процессора.</p><p><strong>Вы можете перезаписать эту опцию для ресурса хранения с помощью опции AllowCompression</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (alex_q_2000)]]></author>
			<pubDate>Tue, 02 Mar 2021 16:18:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468607#p468607</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468605#p468605</link>
			<description><![CDATA[<p><strong>XliN</strong>, gzip хорошо идёт для обычных текстов.<br />Нужно позабористее? bzip2<br />Ещё мощнее пресс? xz</p>]]></description>
			<author><![CDATA[null@example.com (Wolfenberg)]]></author>
			<pubDate>Tue, 02 Mar 2021 15:20:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468605#p468605</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468604#p468604</link>
			<description><![CDATA[<p>Существует winrar для Linux.<br />Правда, только rar командная строка, но использовать можно.<br />Можете попробовать.</p>]]></description>
			<author><![CDATA[null@example.com (ValentinK)]]></author>
			<pubDate>Tue, 02 Mar 2021 13:26:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468604#p468604</guid>
		</item>
		<item>
			<title><![CDATA[Bacula + MSSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=468603#p468603</link>
			<description><![CDATA[<p>Доброго дня. Ни кто не имеет опыта резервирования базы данных MS SQL средствами bacula?</p><p>Я все настроил. Все хорошо. На сервере с базой средствами самой mssql создается дамп базы blabla.bak Весит он 230 гигов.<br />Бакула забирает его себе и должна сжать его gzip`ом. Это все отрабатывает. НО!!! Сжимает на процента два всего.</p><p>Если я этот же файл возьму и сожму на винде с базой тем же раром и 7зипом, он будет весить гораздо меньше. Чуть ли не в два раза.</p><p>Может можно это как то решить?</p><p>P.S. Для того же Bareos есть плагин для этой базы. Есть у меня идея конечно как сделать, но хотелось бы услышать мнения.<br /><strong>*** Добавлено: 02.03.2021 11:31:48 ***</strong></p><p>Вот сделался бекап. И он 2% всего сжал!!! Как такое может быть?<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">&nbsp; Build OS:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;x86_64-pc-linux-gnu ubuntu 18.04<br />&nbsp; JobId:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 26<br />&nbsp; Job:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BackupWinFull.2021-03-02_06.00.00_03<br />&nbsp; Backup Level:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Full<br />&nbsp; Client:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;dbs0-fd&quot; 5.2.10 (28Jun12) Microsoft Standard Edition (build 9200), 64-bit,Cross-compile,Win64<br />&nbsp; FileSet:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;WinFileSet&quot; 2021-03-01 00:41:42<br />&nbsp; Pool:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;pooldbs0&quot; (From Job resource)<br />&nbsp; Catalog:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;MyCatalog&quot; (From Client resource)<br />&nbsp; Storage:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;dbs0-db&quot; (From Pool resource)<br />&nbsp; Scheduled time:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;02-мар-2021 06:00:00<br />&nbsp; Start time:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;02-мар-2021 06:00:03<br />&nbsp; End time:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;02-мар-2021 11:24:11<br />&nbsp; Elapsed time:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5 hours 24 mins 8 secs<br />&nbsp; Priority:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10<br />&nbsp; FD Files Written:&nbsp; &nbsp; &nbsp; &nbsp;3<br />&nbsp; SD Files Written:&nbsp; &nbsp; &nbsp; &nbsp;3<br />&nbsp; FD Bytes Written:&nbsp; &nbsp; &nbsp; &nbsp;238,680,683,451 (238.6 GB)<br />&nbsp; SD Bytes Written:&nbsp; &nbsp; &nbsp; &nbsp;238,680,684,216 (238.6 GB)<br />&nbsp; Rate:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;12272.8 KB/s<br />&nbsp; Software Compression:&nbsp; &nbsp;2.8% 1.0:1<br />&nbsp; Comm Line Compression:&nbsp; None<br />&nbsp; Snapshot/VSS:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;yes<br />&nbsp; Encryption:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;no<br />&nbsp; Accurate:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;no<br />&nbsp; Volume name(s):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DBS0-full-MIS-2021_3_1-1|DBS0-full-MIS-2021_3_2<br />&nbsp; Volume Session Id:&nbsp; &nbsp; &nbsp; 1<br />&nbsp; Volume Session Time:&nbsp; &nbsp; 1614642596<br />&nbsp; Last Volume Bytes:&nbsp; &nbsp; &nbsp; 134,123,130,245 (134.1 GB)<br />&nbsp; Non-fatal FD errors:&nbsp; &nbsp; 0<br />&nbsp; SD Errors:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br />&nbsp; FD termination status:&nbsp; OK<br />&nbsp; SD termination status:&nbsp; OK<br />&nbsp; Termination:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Backup OK</div><br /></p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Tue, 02 Mar 2021 08:31:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=468603#p468603</guid>
		</item>
	</channel>
</rss>
