Browse
 
Tools
Categories

How to setup and configure the OneSource Backup

Author: Steve Childs Reference Number: AA-01709 Created: 2011-07-13 11:20 Last Updated: 2012-09-10 08:29 0 Rating/ Voters

OneSourceBackup.exe Purpose & Features

NOTICE: The OneSource Backup Tool is not designed to be your Main or Only Backup tool. We strongly recommend that you have a minimum of 2 other backup sources in place.

#1) backup with an off site internet/cloud based service.

#2) Backup to an external hard drive or other media that you have direct control of.

#3) Backup using the OneSource Backup tool to a drive that is not the same drive where your operating system resides.

Ideally the OneSource Backup Tool should be used to make frequent backups throughout the day to prevent data loss in case of a drive failure or data corruption. The OneSource Backup Tool will make backup copies of your data as often as you need every 5 minutes to every 4 hours, or just once a day. allowing you to decide what amount of data loss that you want to manually recreate in the event of a data loss.

    • OneSource is designed to:
      • Make frequent daily backups at intervals determined by you.
      • Send an email alert (and discontinue making backups) when hard drive space falls below the level you determined by you).
      • Automatically delete 'temporary' backups every x days (as determined by you) to keep hard drive space available.
      • Create automated 'permanent' backups of your data at the end of every calendar day, week, month, and/or year, as determined by you.

Configuration Notes

  • Prerequisites:
    • Microsoft's .Net Framework version 4.x or higher must be installed for OneSourceBackup.exe to function. You can generally tell if this is true, using the Windows Explorer, doing this:
      • Browse to: C:\Windows\Microsoft.NET\Framework
      • Look for any folders that start with v4..
      • If not, see How to Install .NET Framework 4.x below
  • Create these folders:
    • C:\OneSourceBackup  (This location is required for the 'service' to run).
    • C:\OneSourceBackkup\VersionControl  (Store all versions downloaded in this folder, in a subfolder for each version)
  • Download and Install
    • Place the zipped file in the VersionControl folder in a subfolder with the Version # of the file (which is part of the zipped file name)
    • Copy all files unzipped to the root of C:\OneSourceBackup
  • Configuration
    • Make a folder called OneSource Automated Backups on another, large drive (preferably an external drive).
    • Double-click the OneSourceBackupService.exe (to install the OneSourceBackup 'Service')
      • If you get an error (like error #1) click OK and continue.
    • Double-click the OneSourceBackup.exe
    • Setup the backup destination paths:
      • The back-up Target Path near the top of the screen comes with some example files. You will need to clear these and enter the path to your Company Data file that you want backed-up.
      • Note: The word Temporary means that that tools will attempt to auto delete the file after x days (as defined by you). Permanent means that the tool will NOT attempt to delete these files.  Permanent backups are only create once per day, week, month, or year.  
      • In the Temporary backups destination path type the name of the path that you created above: such as E:\OneSource Automated Backups
      • In the Permanent backups destination path type the name of the path that you created above (or a different path).
        • Configuration Consideration: If the drive you are backing up the Temporary backups to is a 'removable' drive that gets swapped or cycled with 1 or more other identical drives, then you may want to consider making the Permanent backups destination path on a drive that does not get cycled, due to the fact that your permanent backups (such as your month end backups) will then be on several different drives. 
      • Click the checkbox on each day (Monday, Tuesday, etc) that you want to DISABLE the backup tool on that day.  (Note: If you cannot see a checkmark in the box, the option is ENABLED (and will run) if the line turns WHITE. It is DISABLED if the line turns BLACK).
      • Change the From Time and To Time if desired, for each day.  This is the time that the backup tool will work.
      • Change the Every Mins option for each day to something like 60 to enable the backup to execute every 60 minutes (between the From Time and To Time)
      • In the Permanent Backup Schedule section, set the Time for each of the 4 Permanent backup options. (Click the checkbox next to each option if you want to DISABLE the option).
      • Set the Temporary backup free disk space required (GB) option to 2 (or however many GB of free space that you would like to have for the 2 options).
      • AT THE BOTTOM OF THE PAGE CLICK SAVE. your settings must be saved prior to sending a test email or starting the service.
      • Change the Send alert to email address to whichever email address that you would like alerts sent to if the hard drive space fills up (and the backup tool stops making automated backups)
        • Click the Email setup to change the mail service option.  (These options will be similar in nature to the settings required to send outgoing emails from Outlook or other e-mail client application)
        • Click on the Test Email button to send a test email. (Be sure to check to see if the email arrived in the inbox of the email you entered).
      • Click on the Start Service button to enable the OneSourceBackup tool to run.
        • If the service fails to start, you may be able to solve the problem by entering in the username and password of an admin user.
        • Click on the Service Setup to complete this task.
        • Try right clicking on OneSourceBackupService.exe and run as Administrator and then do the same for OneSourceBackup.exe
      • NOTE: Pay close attention to the backups being created in the path(s) that you entered to make sure the tool is operating properly. 
  • (IF NECESSARY) How to Install .NET Framework 4.x

    • The .Net Framework 4 is needed in order to run. 
    • If you get an error that starts with: 'To run this application, you first must install one of the following versions of the .NET Framework...  (This will signify that the .NET Framework is not installed or is not up to date).
    • Yo can download the Microsoft .NET Frame from either of these 2 sites:
    • Unzip the file and run the .exe file and run the setup wizard.


  • Trouble Shooting

  • When a back up tool will run but will not backup the files, the account may not have the correct rights to run the service. ( The Service Must be running before doing the following or the OneSource Backup Services will not show up in the list).
    • Start/Admin Tools/ Services
      • Click on the OneSource Backup Service
      • double click on Stop Service
      • Select Log on tab
      • Select This account
        • Put in the User name and the Password
        • Apply
      • Select the General Tab
        • Restart the service.
  • If this doesn't work you may need to give your user the right to log on as a service right (see below)


  • Add the Log on as a Service Right to an Account

    • To add the "Log on as a service" right to an account on your local computer

    • Open Local Security Policy.

    • In the console tree, double-click Local Policies, and then click User Rights Assignments.

    • In the details pane, double-click Log on as a service.

    • Click Add User or Group, and then add the appropriate account to the list of accounts that possess the Log on as a service right.

To add the "Log on as a service" right to an account for a Group Policy object, when you are on a workstation or server that is joined to a domain

  1. Click Start, point to Run, type mmc, and then click OK.
  2. On the File menu, click Add/Remove Snap-in.
  3. In Add/Remove Snap-in, click Add, and then, in Add Standalone Snap-in, double-click Group Policy Object Editor.
  4. In Select Group Policy Object, click Browse, browse to the Group Policy object (GPO) that you want to modify, click OK, and then click Finish.
  5. Click Close, and then click OK.
  1. In the console tree, click User Rights Assignment.

Where?

    • GroupPolicyObject [ComputerName] Policy
    • Computer Configuration
    • Windows Settings
    • Security Settings
    • Local Policies
    • User Rights Assignment
  1. In the details pane, double-click Log on as a service.
  2. If the security setting has not yet been defined, select the Define these policy settings check box.
  3. Click Add User or Group, and then add the appropriate account to the list of accounts that possess the Log on as a service right.
  • Errors:
    • This error means that the Service could not be started using that method: 'Cannot start service from the command line or a debugger.  A Windows Service must first be installed (using installutil.exe) and then started with the ServeExplorer, Windows Services Administrative tool or the NET START command.





  • Future Release changes:
    • Make the Checkbox values appear visible.
    • Change the default Every Min to 120
    • Change the default Days to keep temporary backups to 14
    • Change the default Time (for the permanent backups to execute) to 23:45
    • Change the default disk space required to 2
    • Change default alert email address to support@onesourcesoftware.com
      • Change the Email Setup options defaults to:
        • mail.onesourcesoftware.com
        • 25
        • backuptool@onesourcesoftware.com
        • backuptool
        • backuptool@onesourcesoftware.com
    • Change the Start Service caption to forecolor of RED (if it reads Start Service)
      • If user closes the Save and Exit button when the Start Service caption is Red give message: WARNING: The Backup Service has NOT been started. Are you sure you want to exit without starting the OneSourceBackup Service?