By using this web site, you agree to all terms and conditions for acceptable use.

ServiceLedger KnowledgeBase Knowledgebase Home Page > ServiceLedger > Technical | Contact Us

Search the Knowledge Base Browse by Category

ServiceLedger provides this content as-is for self help support purposes. ServiceLedger assumes no liability for any steps you take based on the directions in our knowledge base, and assumes that you have the knowledge to determine whether a given step is appropriate for your situation. Certain solutions can affect third-party software that ServiceLedger relies on or integrates with; it is your responsibility to consult with the documentation or publishers of such third-party software to understand whether any changes suggested here will have negative effects on other applications.


[D](T0003) How do I backup ServiceLedger?

Would you like to...

Print this page
Email this to a friend

Important Note: The ServiceLedger database is not stored in an ordinary file and will not be backed up by common file-based backup systems. In addition, trying to use such software to back up your ServiceLedger folder or database can prevent ServiceLedger from running. Please see below for more information on coordinating ServiceLedger backups with other backup utilities.

How to back up your database

Backing up a database is required before performing any action suggested to you by ServiceLedger. It will provide a method to roll back if there were any problems during such actions.

Starting with ServiceLedger 2007, there are now two methods you can use to back up your ServiceLedger database & files. The first way listed works with 2007 and up and is sligthly easier to use. The second way works with all versions of ServiceLedger. Both will yield an identical backup file, and both should be performed from the server computer only in most cases.

Method 1: Works with ServiceLedger 2007 and up

  1. With ServiceLedger running, go to Administration->Administration
  2. Click on the Database Administration tab
  3. Click the Back up your Database button
  4. Choose a location to store your backup.
  5. Click OK and wait for the updater to disappear.

Method 2: Works with all versions of ServiceLedger

  1. Go to Start->(All)Programs->ServiceLedger->Updater
  2. When the updater pops up, select Backup DB
  3. Enter in a location to store the backup (The default is c:\Program Files\ServiceLedger\ServiceLedger\)
  4. Click OK
  5. After about a minute, shut down the updater

A note about SQL Server Backups:
If you are running multiple users from multiple machines, please remember that the backup is stored on the server, not the workstation. If the server and workstation are not the same machine, you will find your backup on the server.

ServiceLedger backups are named with a time stamp in the format of: yyyymmdd_hhmmsscc where:

  • yyyy is the year of the backup
  • mm is the month
  • dd is the day
  • hh is the hour
  • mm is the minute
  • ss is the second
  • cc is the hundredths of a second

ServiceLedger Backups and File-Based Backup Programs

Please note that backing up ServiceLedger is usually necessary IN ADDITION to any file-based backup systems you may already have in place. Many file based backup programs may attempt to back up c:\MSSQL7\Data or C:\Program Files\Files\ServiceLedger\ServiceLedger\MSDE\MSSQL$SERVICELEDGER\Data. The attempt to backup this directory in most cases fails, because the database server has a lock on ServiceLedger's data files. Please ensure you use our backup function for ServiceLedger if you are not an experienced MS SQL Server DBA. To truly protect yourself from loss of data, you should take these backup files and copy them to removable media. Further, it is suggested that you store the media offsite.

If you need to automate the backup, you can schedule a task (refer to your O/S instructions) to run this:

"C:\Program Files\ServiceLedger\ServiceLedger\Updater.exe" -mode AUTO -method BACKUP -directory "c:\slbackups"

Where "c:\slbackups" is the file location you want to store the backup. It must be a local drive, not a mapped network drive. You can use another command (such as from a batch file) to copy the contents of your directory to a mapped drive. If you have backup software, ensure the directory you use is marked to be backed up.  Under NTFS, you must ensure that the drive and directory is a fixed hard drive, and that approriate permissions have been set for the local SYSTEM account to read and write to this directory.

Information on restoring your backup can be found at:

http://support.serviceledger.com/kb/Default.asp?ToDo=view&questId=5&catId=5

 


Related Questions:

Attachments:

No attachments were found.


ServiceLedger KnowledgeBase Copyright © 2019 support.serviceledger.com
Powered by AcitveKB Knowledgebase Software