Home > Backup, Bash scripting, Mac administration, Mac OS X, Packaging > Uninstalling the Retrospect 6.x backup client

Uninstalling the Retrospect 6.x backup client

Something I liked about the old Installer VISE Retrospect backup client installer was that it had an “Uninstall” function. That ability was lost when Retrospect’s builders switched to using standard Apple .pkg installers. There was an unofficial AppleScript uninstaller that was posted in the Retrospect forums, but it didn’t address the issue of 10.6’s receipts being stored in a different directory. So I’ve built this script to take care of uninstalling Retrospect 6.x clients:


#!/bin/sh

sudo killall retroclient
sudo killall pitond
sudo rm -rf /Applications/Retrospect\ Client.app
sudo rm -rf /Library/StartupItems/RetroClient
sudo rm /Library/Preferences/retroclient.state
sudo rm -rf /Library/Receipts/retrospectClient.pkg
sudo rm -rf /Library/Receipts/retroclient.pkg
sudo rm /var/db/receipts/com.retrospect.retroclientstartupitems.pkg.bom
sudo rm /var/db/receipts/com.retrospect.retroclientstartupitems.pkg.plist
sudo rm /var/db/receipts/com.retrospect.retrospectclient.pkg.bom
sudo rm /var/db/receipts/com.retrospect.retrospectclient.pkg.plist


Script available here on my GitHub repository.

It should stop both older and newer Retrospect 6.x clients on both 10.5.x and 10.6.x and clean up all application, settings and receipts files. Because I also wanted to be able to hand this script off as needed to those not necessarily comfortable with running scripts, I’ve also built a script-only installer package to run these commands. It’s posted here for download.

  1. July 11, 2012 at 4:25 pm

    Very Nice and very useful!

  2. September 13, 2012 at 10:17 am

    I had a lot more files in /var/db/receipts/ :
    com.retrospect.retroclientstartupitems.pkg.bom
    com.retrospect.retroclientstartupitems.pkg.plist
    com.retrospect.com.retrospect.RetrospectClientPrefpane.pkg.bom
    com.retrospect.RetrospectClientPrefpane.pkg.plist
    com.retrospect.launchd.retroclient.pkg.bom
    com.retrospect.launchd.retroclient.pkg.plist
    com.retrospect.launchd.retroclientapp.pkg.bom
    com.retrospect.launchd.retroclientapp.pkg.plist
    com.retrospect.launchd.updateretroclient.pkg.bom
    com.retrospect.launchd.updateretroclient.pkg.plist
    com.retrospect.retrospectclient.pkg.bom
    com.retrospect.retrospectclient.pkg.plist

    so, sudo rm /var/db/receipts/com.retrospect.*

  3. John Haffner
    March 10, 2014 at 6:21 pm

    Useful! I have to uninstall a bunch of Retrospect clients. Works really well, especially with Alex’s modification.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 167 other followers

%d bloggers like this: