We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

Barracuda Backup

Where do I get an SSH key to backup my Mac OS X server using the Barracuda Backup Service?

  • Type: Knowledgebase
  • Date changed: one year ago

Solution #00003909


Scope:
All Barracuda Backup Servers, all firmware versions.


Scope:
The Barracuda Backup Service uses SSHFS to back up data stored on a Mac OS X server running an SSH daemon. To allow your Backup Server to securely connect to your server, you must use a public key.


Create a Root Account

Set up a root account based on your software release.

OS X Yosemite/El Capitan OS X (10.10 and higher)
  1. From the Apple menu, click System Preferences.
  2. From the View menu, click Users & Groups.
  3. Select Remote Login. For allow access for, select All users.
Mac OS X v10.6.x
  1. From the Apple menu, click System Preferences.
  2. From the View menu, click Accounts.
  3. Click the lock and authenticate as an administrator account.
  4. Click Login Options, and click Edit at the bottom right of the screen.
  5. Click Open Directory Utility, and in the Directory Utility, click the lock.
  6. Enter the administrator account name and password, and click OK
  7. From the Edit menu, click Enable Root User.
  8. Enter the root password you wish to use in both the Password and Verify fields, and click OK.
Mac OS X v10.5.x
  1. From the Finder's Go menu, choose Utilities, and open Directory Utility.
  2. Click the lock in the Directory Utility window.
  3. Enter an administrator account name and password, and click OK.
  4. From the Edit menu, click Enable Root User.
  5. Enter the root password you wish to use in both the Password and Verify fields, and click OK.
Mac OS X v10.3.x through v10.4.x
  1. Click the Finder icon in the Dock.
  2. From the Go menu, click Applications.
  3. Open the Utilities folder.
  4. Open the NetInfo Manager utility.
  5. Click the lock in the NetInfo Manager window.
  6. Enter the administrator account name and password, and click OK
Mac OS X 10.2

For Mac OS X 10.2 and later, choose Enable Root User from the Security menu.

Mac OS X 10.0 and 10.1
  1. From the Domain menu, point to Security, and click Enable Root User.
  2. If you have not previously set a root password, an alert box displays the message NetInfo Error, indicating that the password is blank. Click OK.
  3. Enter the root password you wish to use, and click Set.
  4. Enter the password again, and click Verify.
  5. Click the lock to prevent changes.

Log in as the Root User

  1. Open the /etc/sshd_config file, and navigate to the line PermitRootLogin.
  2. Uncomment the line, and set the value to yes:
    PermitRootLogin yes 
  3. Run the following commands to stop and restart sshd:
    launchctl stop com.openssh.sshd 
    launchctl start com.openssh.sshd  

You can now log in using the root account based on your software release.

Mac OS X v10.2 and Later
  1. If you are logged in, choose Log Out from the Apple menu.
  2. If you are logging in from a list of usernames with pictures, click Other.
  3. In the Name field, type: root
  4. In the Password field, type the password you defined earlier.
  5. Mac OS X v10.0 to v10.1.5

    After enabling the root user, you must log out from Mac OS X and log back in as the root user. Logging in to Mac OS X from a list of usernames is the default behavior for later versions of Mac OS X. Logging in by typing your username in a text entry field is the default behavior in earlier versions of Mac OS X. You can choose either method in Login preferences. The root user does not appear in the list, so you need the text entry option. If necessary, follow these steps to change the login method to text entry:

    1. From the Apple menu, click System Preferences.
    2. From the View menu, click Login.
    3. Click the Login Window tab.
    4. Select Name and password entry fields, and complete the steps in the next section to log in as root account.
  1. If you are logged in, choose Log Out from the Apple menu.
  2. In the Name field, type: root
  3. In the Password field, type the password you defined earlier.

Set up SSH Key for Mac

For each local Barracuda Backup appliance, identify the data sources that are to be backed up. There may be more than one data source on each server, and each can have unique backup characteristics.

  1. Log in to the Barracuda Backup web interface, and select the associated Barracuda Backup appliance in the left pane.
  2. Go to the BACKUP > Sources page, and click Add Computer to identify the computer.
  3. Enter the IP address of the Mac Server.
  4. From the Computer Type drop-down menu, select Mac OS X.
  5. In the Mac OS X Information section, enter root in the Username field.
  6. Download the SSH Key installer, and run the setup.
  7. Once the key is installed, save the settings. Click Save in the web interface.
  8. In the Add Data Source page, enter the remaining system details.
  9. In the Folder Selection section, you can Select All Folders for backup, or click Pick Certain Folders to specify individual folders for backup.
  10. Click Save.

Link to This Page: 

https://campus.barracuda.com/solution/50160000000HYGVAA4