A partner of ours asked me today to help him mount storage for backups on his linux backup server

His storage was located on a Windows 2008 Server, and so the question is how to get the Windows storage visible on our White Label Online Backup Server?

Turns out it’s not hard, but it is tricky!

How to Mount a Windows Share on Ubuntu Linux

Integrating Windows Storage with Ubuntu

This guide explains how to make Windows storage accessible on an Ubuntu server.

Step 1: Set Up a Windows Share

Create a Windows share and give “windowsuser” read/write access. This step ensures the Ubuntu system can identify and access the shared storage.

Step 2: Create Ubuntu Mount Point

Use mkdir /jail/home1 to create a directory in Ubuntu, which will be the point where the Windows share appears in the Linux system.

Step 3: Install Samba on Ubuntu

Install Samba with apt-get install smbfs, necessary for Ubuntu to communicate with the Windows share.

Step 4: Configure fstab in Ubuntu

Open /etc/fstab using nano /etc/fstab and prepare to add the mount details. This file controls the automatic mounting of devices.

Step 5: fstab Configuration Details

Add //192.168.100.1/windowsshare /jail/home1 cifs credentials=/root/.smbcredentials,uid=nobody,gid=nogroup,iocharset=utf8,codepage=unicode,unicode 0 0. This line specifies the Windows server’s address, the mount point in Ubuntu, and uses the CIFS protocol necessary for Samba mounts, along with the credentials file location and file system options.

Step 6: Credential Management

Create /root/.smbcredentials and enter username=windowsuser and password=windowspassword. This file securely stores the login details for the Windows share.

Step 7: Secure the Credentials File

Execute chown root:root /root/.smbcredentials; chmod 400 /root/.smbcredentials to restrict access to this file, enhancing security.

Effortless Access to Windows Shares

By following these steps, you can smoothly integrate your Windows and Ubuntu systems, allowing for efficient shared storage and backup management.

If you need to get more background info on how to mount samba shares on Ubuntu, try these resources:

 

Want to Start an Online Backup Business?

🔒 See the Full How-To Guide for Online Backup Success

Need the Complete Technical Deep Dive?

Download the Backup Ops Web Console Platform Overview

Access the full 8-page document detailing:

  • Business Model Advantages, including zero infrastructure investment and month-to-month flexibility.
  • Technical Specifications, Client Compatibility, Data storage and recovery management.
  • Step-by-Step Rapid Deployment and Ongoing USA-Based Technical Support.

How Can We Help?

The team at WholesaleBackup is happy to listen and share their backup & recovery expertise spanning over 20 years of business-class backup software solutions for resellers, MSPs, and IT Pros. If you are ready to begin building a more profitable and reliable backup service you’re in the right place.

  • Learn how to get started with labeling & deploying your own backup service
  • See how to schedule, run backups, and restore data
  • Understand how to remotely manage and monitor end-user’s backups
  • Get any questions you have addressed

Take a minute to fill out the form and we’ll follow up with you about your request. For a quicker response start a conversation in the chat.

Label & Launch Your Backup Software in 5 Mins

Start your all-inclusive, no-risk, free trial today

REGISTER

See What Our Partners Are Saying About Us

Manage Pointe Technologies

After trying multiple name brand backup vendors, we finally Partnered with WholesaleBackup and couldn’t be happier with the functionality and cost.

Michael Vaughan - Infrastructure Architect, ManagePointe Technologies, Inc
vanguard bulldog technologies

We were able to quickly restore our clients data without any issues using their last good backup – saving them from total data loss and stopping their business!

Joe Massa - IT Administrator, BullDog Technologies (Vanguard Systems)
digitalninjaz - partner

Your response time to any and all my request is far superior to any customer service I’ve ever received my ENTIRE CAREER.

Bao Tran, Digital NinjaZ (Founder)
Managed IT Solutions (for Dentists)

After using another white-label cloud backup solution for years, switching to WholesaleBackup has been a lifesaver. MUCH less maintenance, cost, bandwidth, and the U.S. based support is the stellar.  The software and interface is SO much simpler and easy to use.   I would recommend WholesaleBackup to any MSP looking to streamline their cloud backup system.

Beau Odom - COO, PCSI Managed IT Solutions
cloud9 wholesalebackup partner

I am very impressed with the level of customer care and communication you have put forth into making sure that our setup with you guys goes smoothly.  It is rare nowadays to find vendors that take pride in their products as well as show concern for a client’s well-being.

Glen Rostant, President Cloud 9 Solutions, Inc.

Get Started Now

Simply Pick a Backup Platform Storage Option

You’ll only pay the raw cost of the data used on the cloud storage platform directly.
We never mark up cloud storage backup costs so you can maximize revenue when pricing your online backup service.

AWS S3

S3 storage option for WholesaleBackup

Wasabi

Wasabi cloud storage option for WholesaleBackup

Backblaze B2

Backblaze cloud storage option for WholesaleBackup

Google Storage

GCS (Google) cloud storage option for WholesaleBackup

Synology C2

Synology cloud storage option for WholesaleBackup

Self-Hosted Windows Server

Self-hosted Windows Server storage option for WholesaleBackup

macOS Platform

Run WholesaleBackup software on the macOS platform