The cart is empty
Category: Act!
January 04 2015

REPOSTED with thanks from Mike Lazarus, who originally posted on Saturday, December 13, 2014



Dropbox-Cloud-Storage-ServiceA couple of years ago, in an article called Taking your ACT! on Holiday, I discussed the use of Dropbox to help with off-site backups. One of the issues with this is that Dropbox only uploads the files when you’re logged into the system and that means it’s not a great option for backing up the database on your server.

A little research and some testing later, and I have the solution for you –

Run Dropbox as a Windows service


What this means is that, when Windows is running, Dropbox will also be running without you needing to be logged in to the server. The benefit of this is that Dropbox will be able to keep uploading backups created by the Act! Scheduler to the cloud.
So, how do we go about this? Well, we need to install Dropbox and set it up as a service.

Setting up



    1. Log into your Windows Server as a local administrator

    1. Download the Windows Server 2003 Resource Kit, which you can download from: https://www.microsoft.com/en-au/download/details.aspx?id=17657  Note: There isn’t a later version of the Resource Kit. Don’t worry about that if on 2008 You just need the files INSTSRV.EXE and SRVANY.EXE from this kit

    1. Install the Server Resource Kit or just copy the two files (INSTSRV and SRVANY) to: C:\Program Files (x86)\Windows Resource Kits\Tools Note: You only need the two files mentioned. They can be in any folder – I’ve used the location from the default install. If you change the location, you’ll need to adjust those paths in a few spots.

    1. Download Dropbox from: https://db.tt/82ZOShy


Install and setup Dropbox



    1. Install Dropbox as per normal

    1. Select a folder for Dropbox to use – I prefer not to use the user folder for this, so create C:\Dropbox or add a Dropbox folder to your Data folder on the local system. You’ll set the Act! Scheduler to save the backups into this folder (or a sub-folder)
      Dropbox-Folder

    1. Open the Dropbox Preferences, by clicking on the icon in the SysTray, and turn off

        • Show desktop notifications

        • Start Dropbox on system startup



      Dropbox Prefs

    1. Exit Dropbox from the SysTray
      Dropbox-exit


Setting up the Service



    1. There are two options here, depending on which Operating System you’re using:

        • If Windows 2003 or 2008, Open a command prompt, change directory to C:\Program Files (x86)\Windows Server 2003 Resource Kit\ and type: instsrv Dropbox "c:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe" If it worked, you should get: The service was successfully added! .

        • If Windows 2008 R2, open an elevated command prompt (Run As Administrator) and type: sc create Dropbox binPath= "C:\Program Files (x86)\Windows Server 2003 Resource Kit\srvany.exe" DisplayName= "Dropbox Service" If all ok, you’ll get: [SC] CreateService SUCCESS.



    1. Next open the Services applet – Start > Run > services.msc

    1. Scroll to the Dropbox item in the list. Right-click and select Properties

    1. Switch to the “Log On” tab

    1. Click “This account”, and enter an Admin account with Full Access to the Dropbox folder. Set the appropriate password for that account.

    1. Click Apply

    1. Switch back to the “General” tab

    1. Change “Startup type” to Automatic

    1. Click Apply and OK

    1. If this is the first time you have done this procedure for the administrator user, you may get an notification saying that the “Administrator user has been granted log on as service rights”.
      DO NOT START THE SERVICE AT THIS TIME. Dropbox-serv

    1. Next is to set up some registry settings for the service. Open the registry editor Start > Run > regedit

    1. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dropbox

    1. Create a new key “Parameters”

    1. Add a new string value “Application”, (type REG_SZ). Set the value to the path to the dropbox.exe binary. Find the location by right clicking the Dropbox icon on the desktop. Select Properties and copy the Target. Dropbox-reg.

    1. Close the Registry Editor

    1. Start the service either from Services.msc or by: Run > Net start Dropbox

    1. If you check your Task Manager, you will find both Dropbox and srvany running Files saved by you or the Act! Scheduler to this folder should be automatically uploaded.


Important Notes and References



    • If you want to make changes to the Dropbox preferences: You MUST stop the service first, make the changes, exit Dropbox and then restart the service

    • These methods should also work with the desktop operating systems if you want to do this on XP, Vista, Windows 7 or Windows 8.





 

Share with a friend

Who we are?

Specializing in CRM software for small to medium sized businesses, through expert counsel, deployment, hosting, support, and development services.

Delivering fruitful CRM solutions since 1994, Keystroke is the #1 Act! Reseller in the World and Master Act! Distributor for Canada.

Contact Keystroke

Get in Touch

Toronto   500 Gordon Baker Rd. Toronto, ON, M2H 3B4
Toll Free : 800.857.0558
Office : 416.499.3090
Fax : 416.499.1090

Kitchener   250 Woolwich St. S. Breslau, ON N0B 1M0
Toll Free : 800.939.4737 Ext. 1
Office : 519.579.1408

 
paybillicon56x58px  

Pay your bill online

 

Monday to Friday: 9AM to 6PM EST
Saturday & Sunday: Closed

Your Cart

×
Customers that ordered this item frequently bundle it with the following products or services for the best user experience
Save 10% on eligible items when bundled with this product
The cart is empty
Continue shopping