<?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>Infrastructure Archives - HackBuddies</title>
	<atom:link href="https://www.hackbuddies.com/category/infrastructure/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.hackbuddies.com/category/infrastructure/</link>
	<description>Solutions and optimizations for your daily IT issues and work</description>
	<lastBuildDate>Fri, 19 Jun 2020 12:14:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.hackbuddies.com/wp-content/uploads/2019/07/cropped-apple-icon-152x152-150x150.png</url>
	<title>Infrastructure Archives - HackBuddies</title>
	<link>https://www.hackbuddies.com/category/infrastructure/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Installation of OpenMediaVault5 NAS Raspberry Pi</title>
		<link>https://www.hackbuddies.com/installation-of-openmediavault5-nas-raspberry-pi/</link>
					<comments>https://www.hackbuddies.com/installation-of-openmediavault5-nas-raspberry-pi/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 19 Jun 2020 12:14:31 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Network]]></category>
		<guid isPermaLink="false">https://www.hackbuddies.com/?p=793</guid>

					<description><![CDATA[<p>I have been using my old Raspberry Pi 2 Model B+ as a media center with LibreELEC for a very long time. Today, I decided to install another system on my device because I have no Network Attached Storage (NAS) at home, but a few external hard disk drives (HDDs). Using all of them via [&#8230;]</p>
<p>The post <a href="https://www.hackbuddies.com/installation-of-openmediavault5-nas-raspberry-pi/">Installation of OpenMediaVault5 NAS Raspberry Pi</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have been using my old Raspberry Pi 2 Model B+ as a media center with LibreELEC for a very long time. Today, I decided to install another system on my device because I have no Network Attached Storage (NAS) at home, but a few external hard disk drives (HDDs). Using all of them via USB is not that comfortable, so I want to access them via my private network at home. The most popular system to run a NAS server on a Raspberry Pi is called OpenMediaVault. I will guide you through the Installation of OpenMediaVault5 NAS Raspberry Pi</p>
<h2>Required Hardware</h2>
<ul>
<li>Raspberry Pi</li>
<li>Power Supply</li>
<li>microSD card</li>
<li>Screen</li>
<li>HDMI cable</li>
<li>Keyboard</li>
<li>Mouse</li>
<li>Network Connection</li>
<li>External hard drive</li>
</ul>
<h2>Installation and Setup of Raspberry OS</h2>
<h3>Write Image to microSD card</h3>
<p>At first we are going to install Raspberry Pi OS (or as it was previously named Raspbian) by writing the image to the microSD card. They provide a simple Imager tool for multiple operating systems like Windows, macOS and Ubuntu. You can download it <a href="https://www.raspberrypi.org/downloads/" target="_blank" rel="noopener noreferrer">here</a></p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/1.png"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-781" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/1.png" alt="Download of Raspberry Pi Imager" width="669" height="440" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/1.png 669w, https://www.hackbuddies.com/wp-content/uploads/2020/06/1-300x197.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/1-639x420.png 639w" sizes="(max-width: 669px) 100vw, 669px" /></a></p>
<p>After downloading the Imager application, simply execute the setup and start the installation:</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/2.png"><img decoding="async" class="alignnone size-full wp-image-782" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/2.png" alt="Installation of Raspberry Pi Imager" width="495" height="388" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/2.png 495w, https://www.hackbuddies.com/wp-content/uploads/2020/06/2-300x235.png 300w" sizes="(max-width: 495px) 100vw, 495px" /></a></p>
<p>After the installation is completed, you can open the application on your system. Then you can select the operating system which should be written to the SD card. Now you can select the target, which is of course the microSD card of the Raspberry Pi.</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/3.png"><img decoding="async" class="alignnone size-full wp-image-783" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/3.png" alt="Write Raspberry Pi OS Image to SD Card" width="683" height="455" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/3.png 683w, https://www.hackbuddies.com/wp-content/uploads/2020/06/3-300x200.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/3-630x420.png 630w" sizes="(max-width: 683px) 100vw, 683px" /></a></p>
<p>After pressing Write, you can see the progress of writing the image to the SD card on the bottom.</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/4.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-784" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/4.png" alt="Write Raspberry Pi OS Image to SD Card" width="679" height="449" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/4.png 679w, https://www.hackbuddies.com/wp-content/uploads/2020/06/4-300x198.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/4-635x420.png 635w" sizes="auto, (max-width: 679px) 100vw, 679px" /></a></p>
<p>When the image has been written to the SD card, the image is getting verified:</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/5.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-785" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/5.png" alt="Verify Raspberry Pi OS Image to SD Card" width="677" height="449" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/5.png 677w, https://www.hackbuddies.com/wp-content/uploads/2020/06/5-300x199.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/5-633x420.png 633w" sizes="auto, (max-width: 677px) 100vw, 677px" /></a></p>
<p>If verification is completed, you can remove the SD card from the card reader or laptop and insert it into your Raspberry Pi.</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/6.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-786" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/6.png" alt="Write Raspberry Pi OS Image to SD Card Finished" width="526" height="227" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/6.png 526w, https://www.hackbuddies.com/wp-content/uploads/2020/06/6-300x129.png 300w" sizes="auto, (max-width: 526px) 100vw, 526px" /></a></p>
<h3>Configuration of Raspberry Pi OS</h3>
<p>When you have inserted the SD card to your raspberry, you can also connect a keyboard, a mouse, a screen and a network cable if possible. Then you can connect the power supply to boot it. At the first start, the operating system will get installed. This will take a few minutes, but not too long. After that, you can continue with the basic configuration which is pretty straightforward. You can define things like time and date, keyboard layout, WiFi Connection and so on. I would also suggest you to change the password of the default user &#8220;pi&#8221; to your personal one.</p>
<h3>Establish a SSH/VNC connection</h3>
<p>In the configuration of your Raspberry Pi you can also enable services. I suggest you to enable at least the following 2 services: SSH and VNC so you can remotely connect to your device from your laptop. This has also the advantage that you do not need anything attached at your Raspberry Pi (like screen, mouse or keyboard).</p>
<p>After activating the SSH service in the configuration, you can use your favourite SSH client. I am using <a href="https://mobaxterm.mobatek.net/" target="_blank" rel="noopener noreferrer">MobaXterm</a>. Simply enter the IP address of the Pi, specify the username &#8220;pi&#8221; and your personalized password. You have to use the default SSH port 22.</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/7.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-787" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/7.png" alt="Raspberry Pi SSH Connection" width="893" height="236" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/7.png 893w, https://www.hackbuddies.com/wp-content/uploads/2020/06/7-300x79.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/7-768x203.png 768w, https://www.hackbuddies.com/wp-content/uploads/2020/06/7-696x184.png 696w" sizes="auto, (max-width: 893px) 100vw, 893px" /></a></p>
<p>If you see the following output, you connected successfully to your Raspberry Pi via Secure Shell!</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/8.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-788" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/8.png" alt="Raspberry Pi SSH Connection" width="868" height="577" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/8.png 868w, https://www.hackbuddies.com/wp-content/uploads/2020/06/8-300x199.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/8-768x511.png 768w, https://www.hackbuddies.com/wp-content/uploads/2020/06/8-696x463.png 696w, https://www.hackbuddies.com/wp-content/uploads/2020/06/8-632x420.png 632w" sizes="auto, (max-width: 868px) 100vw, 868px" /></a></p>
<p>Another possibility is to use the VNC connection if you want the graphical user interface (GUI) of the Raspberry Pi OS. To establish a VNC connection, you need additional software like <a href="https://www.realvnc.com/de/raspberrypi/" target="_blank" rel="noopener noreferrer">RealVNC</a>. After installing the application, start it and enter the remote IP address of the Pi:</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-802" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC.png" alt="Establish VNC connection" width="217" height="97" /></a></p>
<p>Then you are able to see the video output of your Raspberry Pi OS and can do everything there.</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC2.png"><img loading="lazy" decoding="async" class="alignnone size-large wp-image-803" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC2.png" alt="" width="696" height="495" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC2.png 719w, https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC2-300x213.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC2-696x495.png 696w, https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC2-591x420.png 591w, https://www.hackbuddies.com/wp-content/uploads/2020/06/VNC2-100x70.png 100w" sizes="auto, (max-width: 696px) 100vw, 696px" /></a></p>
<h2>Installation of OpenMediaVault (OMV)</h2>
<p>Now, after the setup and configuration of Raspberry Pi OS is completed, we can finally move on to the installation of our NAS software OpenMediaVault. The basic installation is truly simple, because we just need to execute one line of script in the Pi command line:</p>
<pre class="wp-block-code"><code>wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash</code></pre>
<p>This line of code will directly start the install script for OMV5. Basically there is no action needed from our side. So, grab a coffee or something like that because this will take up to a hour to complete. After starting it, you will see this screen:</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/9.png"><img loading="lazy" decoding="async" class="alignnone size-large wp-image-789" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/9-1024x398.png" alt="OpenMediaVault Installation Started" width="696" height="271" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/9-1024x398.png 1024w, https://www.hackbuddies.com/wp-content/uploads/2020/06/9-300x117.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/9-768x299.png 768w, https://www.hackbuddies.com/wp-content/uploads/2020/06/9-1536x597.png 1536w, https://www.hackbuddies.com/wp-content/uploads/2020/06/9-696x271.png 696w, https://www.hackbuddies.com/wp-content/uploads/2020/06/9-1068x415.png 1068w, https://www.hackbuddies.com/wp-content/uploads/2020/06/9-1081x420.png 1081w, https://www.hackbuddies.com/wp-content/uploads/2020/06/9.png 1644w" sizes="auto, (max-width: 696px) 100vw, 696px" /></a></p>
<p>During the execution, you might see a lot of packages getting installed on your system:<a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/10.png"><img loading="lazy" decoding="async" class="alignnone size-large wp-image-790" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/10-1024x550.png" alt="OpenMediaVault Installation Running" width="696" height="374" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/10-1024x550.png 1024w, https://www.hackbuddies.com/wp-content/uploads/2020/06/10-300x161.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/10-768x413.png 768w, https://www.hackbuddies.com/wp-content/uploads/2020/06/10-1536x826.png 1536w, https://www.hackbuddies.com/wp-content/uploads/2020/06/10-696x374.png 696w, https://www.hackbuddies.com/wp-content/uploads/2020/06/10-1068x574.png 1068w, https://www.hackbuddies.com/wp-content/uploads/2020/06/10-781x420.png 781w, https://www.hackbuddies.com/wp-content/uploads/2020/06/10.png 1663w" sizes="auto, (max-width: 696px) 100vw, 696px" /></a></p>
<p>If you were patient enough to let it finish, you will finally see this screen, where the SSH connection gets lost because of a reboot of the device. When the Pi is running again, the installation of OpenMediaVault5 NAS Raspberry Pi is completed!</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/11.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-791" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/11.png" alt="OpenMediaVault Installation Finished" width="438" height="298" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/11.png 438w, https://www.hackbuddies.com/wp-content/uploads/2020/06/11-300x204.png 300w" sizes="auto, (max-width: 438px) 100vw, 438px" /></a></p>
<h2>OpenMediaVault Web Interface</h2>
<p>OpenMediaVault will automatically start when your Raspberry Pi boots up. You can access the web interface by simply entering the IP address of the Pi into your web browser on your laptop e.g. in the same network. In my case it is http://192.168.8.112/<br />
The default login is:<br />
Username: admin<br />
Password: openmediavault</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/12.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-792" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/12.png" alt="OpenMediaVault Login" width="427" height="281" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/12.png 427w, https://www.hackbuddies.com/wp-content/uploads/2020/06/12-300x197.png 300w" sizes="auto, (max-width: 427px) 100vw, 427px" /></a></p>
<p>The web interface looks like that:</p>
<p><a href="https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV.png"><img loading="lazy" decoding="async" class="alignnone size-large wp-image-806" src="https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV-1024x482.png" alt="" width="696" height="328" srcset="https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV-1024x482.png 1024w, https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV-300x141.png 300w, https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV-768x362.png 768w, https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV-696x328.png 696w, https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV-1068x503.png 1068w, https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV-892x420.png 892w, https://www.hackbuddies.com/wp-content/uploads/2020/06/OMV.png 1314w" sizes="auto, (max-width: 696px) 100vw, 696px" /></a></p>
<p>So, this was the guide to get OpenMediaVault5 NAS Raspberry Pi running. I will go into detail on using it as a NAS in another article, but I need some more time to write it. Hope to see you soon again on my site.</p>
<p>The post <a href="https://www.hackbuddies.com/installation-of-openmediavault5-nas-raspberry-pi/">Installation of OpenMediaVault5 NAS Raspberry Pi</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hackbuddies.com/installation-of-openmediavault5-nas-raspberry-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Generate ACL Report of File Share with PowerShell to CSV</title>
		<link>https://www.hackbuddies.com/generate-acl-report-of-file-share-with-powershell-to-csv/</link>
					<comments>https://www.hackbuddies.com/generate-acl-report-of-file-share-with-powershell-to-csv/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 12 Jun 2020 09:48:55 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://www.hackbuddies.com/?p=775</guid>

					<description><![CDATA[<p>I think all of you who are administrating file servers, file shares and their permissions, maybe also together with colleagues, will know this situation. Especially at large and complex structures, there are some permissions for users directly granted at the folder and not via the Active Directory / LDAP group. Maybe there are also some [&#8230;]</p>
<p>The post <a href="https://www.hackbuddies.com/generate-acl-report-of-file-share-with-powershell-to-csv/">Generate ACL Report of File Share with PowerShell to CSV</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I think all of you who are administrating file servers, file shares and their permissions, maybe also together with colleagues, will know this situation. Especially at large and complex structures, there are some permissions for users directly granted at the folder and not via the Active Directory / LDAP group. Maybe there are also some wrong AD groups set or inheritance is broken. I want to show you how you can recursively generate an Access Control List Report (NTFS permissions), which is a good basis to clean up your file share permissions. You can Generate ACL Report FileShare with PowerShell.</p>
<p>Basically it is a very simple script, but I will quickly go through it. Of course you need to define the UNC path to the file share or folder. Then you will loop through all the existing directories with a Foreach. At each folder you will get the permissions with <a href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-acl?view=powershell-7" target="_blank" rel="noopener noreferrer">Get-ACL</a>. Then you need another Foreach to get through all the granted permissions which are inherited or directly set. Then you will add each line to your report and finally export it as a CSV file for further processing. That&#8217;s it!</p>
<pre>$FolderPath = dir -Directory -Path "\\fileserver\fileshare"
$Report = @()
Foreach ($Folder in $FolderPath) {
$Acl = Get-Acl -Path $Folder.FullName
foreach ($Access in $acl.Access)
{
$Properties = [ordered]@{'FolderName'=$Folder.FullName;'AD
Group or
User'=$Access.IdentityReference;'Permissions'=$Access.FileSystemRights;'Inherited'=$Access.IsInherited}
$Report += New-Object -TypeName PSObject -Property $Properties
}
}
$Report | Export-Csv -path "C:\scripts\FolderPermissions.csv"</pre>
<p>You can extend this script by sending the report as email message directly via PowerShell, <a href="https://www.hackbuddies.com/sending-an-email-within-a-powershell-script/">look here</a>. You can also create a scheduled task / cronjob for this script to Generate ACL Report FileShare periodically.</p>
<p>The post <a href="https://www.hackbuddies.com/generate-acl-report-of-file-share-with-powershell-to-csv/">Generate ACL Report of File Share with PowerShell to CSV</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hackbuddies.com/generate-acl-report-of-file-share-with-powershell-to-csv/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Robocopy: How to Copy Massive Amounts of Data reliably</title>
		<link>https://www.hackbuddies.com/robocopy-how-to-copy-massive-amounts-of-data/</link>
					<comments>https://www.hackbuddies.com/robocopy-how-to-copy-massive-amounts-of-data/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 30 May 2020 08:42:14 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://www.hackbuddies.com/?p=699</guid>

					<description><![CDATA[<p>Introduction Last time I had the task to copy massive amounts of data between two file share systems. With massive amounts I talk about Terabytes 🙂 In addition, one of the systems was productive and the other one the new system, so the solution needed to be reliable and stable. So I asked myself, how [&#8230;]</p>
<p>The post <a href="https://www.hackbuddies.com/robocopy-how-to-copy-massive-amounts-of-data/">Robocopy: How to Copy Massive Amounts of Data reliably</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Last time I had the task to copy massive amounts of data between two file share systems. With massive amounts I talk about Terabytes 🙂 In addition, one of the systems was productive and the other one the new system, so the solution needed to be reliable and stable. So I asked myself, how can I transfer these files and folders? The answer is Robocopy: How to Copy Massive Amounts of Data</p>
<p>So I tried several things and had a look at the possibilites of the systems. I ended up using the simple Robocopy command with the file shares. Of course the client/server executing the Robocopy command had to be in the same local network in order to ensure a good copy speed.</p>
<p>Robocopy offers you the opportunity to define a lot of parameters for your copy job. For example you can define if the Access Control List (NTFS Permissions) should be copied to the destination host, or if you want to create the Access Groups from scratch. Imagine that on the old system there was a lot of direct access set for the users instead of Active Directory groups &#8211; in this case building the Access Groups from scratch can be very helpful to get a clean file share.<br />
Another great thing about Robocopy is that it has basically a Resume option because it copies only the changed or new files after comparing source and destination host.</p>
<h2>The Robocopy Command</h2>
<p>But let&#8217;s talk about the command itself which is pretty simple and you can fulfill nearly all requirements with a One-Liner!</p>
<p>Basically you can split the command as following:</p>
<ul>
<li>Source</li>
<li>Destination</li>
<li>Source Options</li>
<li>Copy Options</li>
</ul>
<p>So let&#8217;s start with the probably most basic command. We want to copy a local directory from one partition to another</p>
<pre>robocopy c:\temp\test d:\temp\</pre>
<p>This simple command will copy the folder test and all files to the location d:\temp &#8211; but not subfolders!</p>
<h3>Copy Everything (including permissions)</h3>
<p>If you simply want to copy everything (also subfolders, empty subfolders, file owners) from the source to destination including the NTFS permission (Windows Access Control list) you can use this command.</p>
<pre>robocopy c:\temp\test d:\temp\ /E /COPYALL</pre>
<h3>Copying over Network</h3>
<p>If you want to use the Robocopy command for copying over the network, like in my case, I recommend you to use the following options and switches to get a good result.</p>
<p>/E -&gt; copy all subfolders, including empty ones.<br />
/V -&gt; produce Verbose output, showing skipped files.<br />
/ZB -&gt; use restartable mode; if access denied use Backup mode.<br />
/R:1 -&gt; number of Retries on failed copies<br />
/W:1 -&gt; Wait time between retries: default is 30 seconds<br />
/NP -&gt; No Progress &#8211; don&#8217;t display percentage copied.<br />
/COPYALL -&gt; COPY ALL file info (equivalent to /COPY: DATSOU)<br />
/LOG -&gt; LOG location</p>
<pre>robocopy \\source_share\folder \\destination_share\folder /E /V /ZB /R:1 /W:1 /NP /COPYALL /LOG:c:\robocopy.log</pre>
<p>So, this ultimative copy job will copy all subfolders, copy all file information, produces verbose output to show skipped files, will retry failed copies and uses the restartable mode with backup mode in case of failed access. In Addition a log file will be generated with all the details of every single file copied. It is simply great! 🙂</p>
<p>Source: <a href="https://community.netapp.com/t5/Data-ONTAP-Discussions/Fileserver-Migration-with-robocopy/td-p/118615" target="_blank" rel="noopener noreferrer">https://community.netapp.com/t5/Data-ONTAP-Discussions/Fileserver-Migration-with-robocopy/td-p/118615</a></p>
<p>Please find the whole documentation of the Robocopy command directly at <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy" target="_blank" rel="noopener noreferrer">Microsoft Docs</a><br />
Robocopy: How to Copy Massive Amounts of Data</p>
<p>The post <a href="https://www.hackbuddies.com/robocopy-how-to-copy-massive-amounts-of-data/">Robocopy: How to Copy Massive Amounts of Data reliably</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hackbuddies.com/robocopy-how-to-copy-massive-amounts-of-data/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Setup Of A Raspberry Pi NAS with OpenMediaVault</title>
		<link>https://www.hackbuddies.com/setup-of-a-raspberry-pi-nas-with-openmediavault/</link>
					<comments>https://www.hackbuddies.com/setup-of-a-raspberry-pi-nas-with-openmediavault/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 30 Sep 2019 15:09:37 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Network]]></category>
		<guid isPermaLink="false">https://www.hackbuddies.com/?p=515</guid>

					<description><![CDATA[<p>I have been using my old Raspberry Pi 2 Model B+ as a media center with LibreELEC for a very long time. Today, I decided to install another system on my device because I have no Network Attached Storage (NAS) at home, but a few external hard disk drives (HDDs). Using all of them via [&#8230;]</p>
<p>The post <a href="https://www.hackbuddies.com/setup-of-a-raspberry-pi-nas-with-openmediavault/">Setup Of A Raspberry Pi NAS with OpenMediaVault</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have been using my old Raspberry Pi 2 Model B+ as a media center with LibreELEC for a very long time. Today, I decided to install another system on my device because I have no Network Attached Storage (NAS) at home, but a few external hard disk drives (HDDs). Using all of them via USB is not that comfortable, so I want to access them via my private network at home. The most popular system to run a NAS server on a Raspberry Pi is called OpenMediaVault. The downloads of the OpenMediaVault images are available at Sourceforge:<br />
<a href="https://sourceforge.net/projects/openmediavault/files/Raspberry%20Pi%20images/">https://sourceforge.net/projects/openmediavault/files/Raspberry%20Pi%20images/</a></p>
<p>The difference to other Raspberry Pi images is that they offer .img.xz files, which can be written directly to the SD card without decompressing. To write the image to the SD card, the application balenaEtcher is available for different operating systems and also in a portable version, thus you do not need to install the application:<br />
<a href="https://www.balena.io/etcher/">https://www.balena.io/etcher/</a></p>
<p>At first, select the downloaded image and the target device (should be the microSD card of your Raspberry):<a href="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashImage.png"><img loading="lazy" decoding="async" class=" td-modal-image alignnone wp-image-512 size-full" src="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashImage.png" alt="" width="794" height="451" srcset="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashImage.png 794w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashImage-300x170.png 300w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashImage-768x436.png 768w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashImage-696x395.png 696w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashImage-739x420.png 739w" sizes="auto, (max-width: 794px) 100vw, 794px" /></a></p>
<p>Now, the flashing process is running:<a href="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingProcess.png"><img loading="lazy" decoding="async" class=" td-modal-image alignnone wp-image-514 size-full" src="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingProcess.png" alt="" width="794" height="451" srcset="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingProcess.png 794w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingProcess-300x170.png 300w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingProcess-768x436.png 768w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingProcess-696x395.png 696w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingProcess-739x420.png 739w" sizes="auto, (max-width: 794px) 100vw, 794px" /></a></p>
<p>After completion, you should see the following screen:<a href="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingComplete.png"><img loading="lazy" decoding="async" class=" td-modal-image alignnone wp-image-513 size-full" src="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingComplete.png" alt="" width="794" height="451" srcset="https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingComplete.png 794w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingComplete-300x170.png 300w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingComplete-768x436.png 768w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingComplete-696x395.png 696w, https://www.hackbuddies.com/wp-content/uploads/2019/09/BalenaEtcherFlashingComplete-739x420.png 739w" sizes="auto, (max-width: 794px) 100vw, 794px" /></a></p>
<p>Great! After flashing the image to the SD card, the installation of the system will be completed after first start of your Raspberry Pi. This can take a few minutes. Please note that a network connection is required during this installation procedure. After one more reboot, the system is ready to use.<br />
The system can be accessed via the Web Interface. Simply enter the IP address of the Pi in your browser. The default login data for the web interface is:<br />
<em>admin :: openmediavault</em></p>
<p>The default login data for a SSH connection is:<br />
<em>root :: openmediavault</em></p>
<p>The post <a href="https://www.hackbuddies.com/setup-of-a-raspberry-pi-nas-with-openmediavault/">Setup Of A Raspberry Pi NAS with OpenMediaVault</a> appeared first on <a href="https://www.hackbuddies.com">HackBuddies</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hackbuddies.com/setup-of-a-raspberry-pi-nas-with-openmediavault/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
