Posted on 05-29-2020 10:00 PM
Has anyone gotten a script or custom pkg to deploy Carbonite Pro?
Posted on 07-01-2020 03:59 PM
I wrote one. This will always deploy the most recent version of Carbonite. I just wrote it and it seems to be working well. They asked for a copy so if you see anything wrong please let me know.
You will need to have a .XML that has some basic information placed into /Library (LocalAutoConfig.xml).
I have the dmg place the .xml in first then run this script. The .xml will be removed.
<AutoConfig> <Silent>1</Silent> <RunActivatePostInstall>0</RunActivatePostInstall> <StartClientPostActivate>0</StartClientPostActivate> </AutoConfig>
#!/bin/bash
########################################################################################
# Created By: Sam Fike
# Date: July 1, 2020
# Exit Codes:
# 1 - Logged into admin account
# 2 - Download Failed
# 3 - Install Failed
########################################################################################
# Locations:
DCProtect="/Applications/Carbonite Endpoint.app/Contents/DCProtect/DCProtect.app/Contents/MacOS/DCProtect"
CarbonitePackage="/Library/Carbonite.pkg"
# Getting current logged in user
DeviceUser=$(users | awk '{print $1}')
# Make sure DeviceUser doesn't equal admin
if [ "$DeviceUser" == "ADMIN_ACCOUNT" ]; then
echo "System is logged into admin account, will not register properly"
exit 1
fi
# Downloading the most recent version of the software
if ! /usr/bin/curl -o "$CarbonitePackage" "https://dcgeneral.blob.core.windows.net/downloads/red-us2/DCProtectInstall.pkg"; then
echo "Was unable to download Carbonite package."
exit 2
fi
# Installing Carbonite
if ! /usr/sbin/installer -allowUntrusted -pkg "$CarbonitePackage" -target /; then
echo "Was unable to install Carbonite package."
exit 3
fi
# Registering Carbonite
DeviceFullName=$(id -F "$DeviceUser")
"$DCProtect" -autoactivation -activationurl="YOUR_COMPANY_URL" -activationcode="YOUR-COMPANY-CODE" -email="$DeviceUser"@YOUR_COMPANY.com -displayName="$DeviceFullName"
rm -rf "$CarbonitePackage"
exit 0
Posted on 07-08-2020 08:40 PM
@Pagigostra How do I find -activationurl="YOUR_COMPANY_URL" and -activationcode="YOUR-COMPANY-CODE"
Posted on 07-09-2020 09:57 PM
I think maybe this is not the right product. This is for a cloud backup software login URL here.
https://account.carbonite.com/smb/dashboard
Posted on 09-17-2020 01:51 PM
@Pagigostra For email, do you have a good way to bring in user's alias' if this does not match userid?
Posted on 06-15-2022 01:15 PM
I did not test that.
Posted on 06-15-2022 11:12 AM
How do you copy the LocalAutoConfig.xml to /Library?
Posted on 06-15-2022 01:13 PM
If I recall correctly, I just used a .dmg to put the .xml into that location. Sorry haven't used this product in a long time.
10-11-2022 04:41 PM - edited 10-11-2022 04:43 PM
How is Carbonite compared to say OneDrive, CrashPlan/Code 42 or others as backup / sync?
CrashPlan/Code 42 is klunky to say the least with it's user setup.
OneDrive with the new KFM (Known Folder Movement), and the ability to re-direct Document and Desktop folder is actually excellent. I am not sure I have seen anything as easy and transparent as OneDrive for backup / sync...
But what about environments that are not MS / Office 365...