V5 Frequently Asked Questions
Search:     Advanced search
Browse by category:

Running Attix5 Backup Pro version 5.1 or earlier as a non-admin user on Mac

Views: 1748
Votes: 0
Posted: 12 Mar, 2012
by: Harnekar T.
Updated: 12 Mar, 2012
by: Harnekar T.

The installed default settings for Attix5 Backup Pro version 5.1 or earlier will need manual permissions adjustment if the backup is to be run by a non-admin user. Version 6 and above install with the correct permissions to be used by non-admin users.

Installation steps

  1. Log in as an administrative user and install Attix5 Backup Professional as normal.
  2. Note the username of the user you will be logging in as.
  3. While still logged in as an administrative user, open a terminal window and close the Backup Monitor and Attix5 Backup Pro applications if open.

Post-installation steps

Permissions need to be set for the various folders used by Attix5 Backup Professional. The ownership of /Applications/Attix5 Backup Professional SE.app and all contents need to be set to the user's username, with everyone granted read write access. The same ownership and permissions should be set for  /Applications/Backup Monitor.app and /System/Library/StartupItems/A5Backup.

The only exception to this is for "a5backup" in /Applications/ Attix5 Backup Professional SE.app/Contents/Resources - the owner of this should be root.

Note: The following steps apply for Attix5 D&L client, and also any Attix5 rebrands. Simply adjust the paths to match the paths used by your installer.

The simplest way to set the correct permissions is using terminal. Using terminal, run the command “sudo –s” to enter super user mode.

Note: You may encounter permissions issues if using “su” to enter super user mode.

Enter the following commands, replacing “user” with the username of your user:

  • chown –R user:everyone /Applications/Attix5\ Backup\ Professional\ SE.app/
  • chmod –R ga+rwx /Application/Attix5\ Backup\ Professional\ SE.app/
  • chown root:everyone /Applications/Attix5\ Backup\ Professional\ SE.app/Contents/Resources/a5backup
  • chmod ga+rwx /Applications/Attix5\ Backup\ Professional\ SE.app/Contents/Resources/a5backup
  • chown -R user:everyone /Applications/Backup\ Monitor.app/
  • chmod -R ga+rwx /Applications/Backup\ Monitor.app/
  • chown -R user:everyone /System/Library/StartupItems/A5Backup
  • chmod -R ga+rwx /System/Library/StartupItems/A5Backup

Edit the /Applications/Attix5 Backup Professional.app/Contents/Resources/a5backup file (using vi, pico or other text editor) set the BACKUP_USER to the appropriate username. For example, with “user” as the username, “BACKUP_USER=user”

Note: If the Mac is 64-bit, you will need to set the option "-d32" in the A5OPTIONS setting at this point.

Save and close the file.

Still using the text editor, create a file in the user’s home directory called “startsvc”. For example, “vi /Users/user/startsvc”. Enter the following text in the file:

#! /bin/sh

/System/Library/StartupItems/A5Backup/A5Backup start

Save and close the file.

Ownership of the startsvc file needs to be set to the user, and the file made executable. This can also be done from terminal with the following commands:

  • chown user:user /Users/user/startsvc
  • chmod +x /Users/user/startsvc

Close the terminal window, log out the administrative user, and log in as the non-admin user. Go to System Preferences > Accounts, and select the user on the left.

Click the Login Items tab, click on the plus to add an item. A browse window will open in the /Users/<username> folder.

Choose the file startsvc, which should show up as a Unix executable binary, click Add, and close the window.

Restart (or logoff then login), and the script should start the A5Backup service.

Start the Backup Monitor application manually, and set this to Open at Login.

Backup Monitor should run without appearing with a "stopped" icon, and you should be able to launch Attix5 Backup Professional client from this, or directly from the Applications folder.

Others in this Category
document KB006 - Backup Client Cache & ToBackup folders
document KB019: Making a snapshot backup using a Snapshot Server
document KB031: Untrusted SSL cert chain
document KB062: Restoring a single mailbox with SMR and AD
document KB067: Backup fails with "database is full"
document KB082: Corrupt client database
document KB085: 'Could not create the Java virtual machine' when trying to load the Backup Client GUI
document KB091: Backup Client MSI Installer
document KB095: Client error: "String index out of range: -1"
document KB098: Cannot increase the socket time out to more than 600 seconds
document KB100: Username cannot be empty for login
document KB101: Backup fails due to Database errors
document KB105: What are the criteria used to determine the capability of a backup client?
document KB106: Which is faster: backup or restore?
document KB112: Japanese, Chinese or Korean characters display as blocks
document KB132: Scheduler stops working
document KB134: No archive dates available with Snapshot Backup
document KB136: How to upgrade a D&L to SE
document KB137: Enable Debug Logging in SE and D&L
document KB140: Proxy server causes communication problems during a backup
document KB144: Backup fails due to overlimit on FS but limit is correct
document KB147: What do those sizes related to patching mean in the logs?
document KB162: Advanced backups will not always run in V4.4
document KB164: How to include the user's My Documents directory in profiling
document KB165: How to exclude certain files or folders with profiling
document KB166: How does the backup client know which Windows user to use for profiling?
document KB167: Storage Platform 4.4 update 4
document KB174: V3.x clients cannot backup to a V5 Storage Platform
document KB189: How to recover a single Exchange 2003 mailbox without using the Exchange or SMR plug-ins
document KB194: SMR gives 'Invoke of: GetObject' error during backup after upgrade to v5
document KB197: Email Notification fails to send test message with v5 SE.
document KB201: Restoring archived month-ends
document KB202: Month-end archiving not taking place on Mirror Server
document KB203: Resource file missing when trying to start D&L or SE
document KB204: Examples to backup and restore MySQL
document KB206: Storage Platform Console on 64bit
document KB217: How to suppress the bootup/login splash screen
document KB222: Server Edition GUI won't open after upgrade from v4.4 to v5.1
document KB225: Client Error: Cannot connect to storage server
document KB232: Account creation fails on Storage Platform
document KB235: D&L Tray icon not loading when logging on in Vista
document KB238: VSS plugin does not pickup up Exchange on SBS 2003
document KB247: After auto upgrade from V5.0 to V5.1 the tray icon shows the service is stopped during the cache update
document KB249: How to do a Full exchange 2007 restore using VSS plugin
document KB250: Restoring Exchange 2007 into Recovery Storage Group using the VSS plugin
document KB252: V5.1 Advanced scheduler does not work in some cases
document KB254: VSS Backup and Restore of Active Directory
document KB257: MAC Snow Leopard failing to backup
document KB263: Ensuring V5 clients can backup to a V6 Storage Platform
document KB270: SP V5.1 Update 6
document KB271: System State backup on Server 2008 (using WBAdmin)



RSS