SalonTouch SQL and .NET Database Backup Instructions

Transcription

SalonTouch SQL and .NET Database Backup Instructions
SalonTouch SQL and .NET Database Backup Instructions
Updated 10/16/2006
Important Information
• The following instructions only apply to SalonTouch SQL and .NET versions only. These instructions need to be
performed on the computer that hosts the databases which is usually computer 1).
• You should look at the title bar of your SalonTouch program to determine if you are running SalonTouch (NET)
or SalonTouch (SQL) before proceeding.
• These instructions are for the SQL Job Viewer v1.8 or higher. If your version is lower than 1.8 please contact IDI
Support to obtain the latest version.
• The SQL Server Agent must be running. See the Tips section for more information.
• ComputerName referenced in this document is generic and should be substituted with your computer’s name.
Creating SQL Backup Job
To create backup jobs for your SalonTouch SQL data perform the following steps.
1. Click on Start
My Computer and double-click on the drive where you installed SalonTouch (usually drive C).
2. Double-click on the SalonTouch folder and then double-click on the Tools folder.
3. If you are using the SalonTouch (NET) version (if not skip to step 4):
Double-click on the file SQL_Jobs(NET).exe.
Please note that it may show only SQL_Jobs(NET) depending on your system settings.
4. If you are using the SalonTouch (SQL) version (if not go to step 3):
Double-click on the file SQL_Jobs.exe.
Please note that it may show only SQL_Jobs, depending on your system settings.
5. Wait for the SQL Job Viewer to open completely. It may take up to a minute or so to find the SQL servers.
6. Click on the Backup tab at the top.
Figure 1
Page 1 of 6
SalonTouch SQL and .NET Database Backup Instructions
Updated 10/16/2006
7. Click on the Backup button on the top left.
Figure 2
8. You will see the following screen.
Figure 3
9. In the Select Server drop-down select your SQL server name. Your server name may be listed as
ComputerName\SalonTouch or ComputerName\ST42az### similar to the example above. If you do not see
an entry with the “\” then you would select the entry matching your computer name. ComputerName refers
to the name of YOUR computer.
10. In the Select Database drop-down select ALL SALONTOUCH DATABASES. You can select individual databases
if you want to backup only one database at a time. However, it is recommended that you backup all of the
databases.
11. Click on the Add button. The following screen will appear.
Figure 4
Page 2 of 6
SalonTouch SQL and .NET Database Backup Instructions
Updated 10/16/2006
12. In the field type in x:\SalonTouch\Backup_Databases where x is the drive letter where you installed
SalonTouch. In most cases this will be C:\SalonTouch\Backup_Databases. Click on Ok.
NOTE: You can change the backup location to a different folder and/or drive. However, the folder
name(s) CANNOT have any spaces. If you want to back up the files to a folder with spaces in the name you
will have to get the “short” name for that folder. Contact IDI support for assistance.
13. On the Backup window make sure that the option Overwrite is selected.
WARNING: If you select Append you must have sufficient disk space for each daily backup. Each day a new
backup file will be created equal to the size of the original database for each database file. For example,
if your database is 1 GB then each a day the backup will create another 1 GB file. After 30 days you will
have used up 30 GB of disk space unless you move the backup files to an external device or a second hard
drive.
14. Your screen should look similar to the screen shown in figure 3 above.
15. If so, click on the Create button at the bottom. This will take a few minutes to complete depending on the
size of your databases. Click on Ok when the Done dialogue box appears.
16. Your backup jobs have been created AND the first backup has been created. Your data backups will run
automatically each day around 12:30 PM (local time) and will be placed in the location you specified in step 10
above. This is set to run during the day because your computer is usually on at this time.
17. Repeat steps 11 through 16 for the following databases. Select the following databases instead of selecting all
of the SalonTouch databases.
MASTER
MODEL
MSDB
18. Refer to the section Copying Backup Data to Removable Media.
Viewing and Manually Running the Backup Jobs
1. Click on Start
My Computer.
2. Double-click on the drive where SalonTouch is installed. This is usually the (C:) drive. Then double-click on
the SalonTouch folder, then double-click on the Tools folder.
3. If you are using the SalonTouch (NET) version:
Double-click on the file SQL_Jobs(NET).exe (NOTE: it may show only SQL_Jobs(NET), depending on your
system settings)
4. If you are using the SalonTouch (SQL) version:
Double-click on the file SQL_Jobs.exe (NOTE: it may show only SQL_Jobs, depending on your system
settings)
5. Wait for the SQL Job Viewer to open completely. It may take up to a minute or so to load the servers.
6. Click on the Backup tab at the top.
7. Click on the plus next to SERVERS.
8. Click on the plus next to your SQL Server Name. It will show something similar to ComputerName/SalonTouch
or ComputerName/ST42az###.
9. Click on the plus next to Backup Jobs.
10. You should now see all your databases and they should all have yellow happy faces.
11. To view the last time the backup was run and the next scheduled backup simply click on the each database
backup job (i.e. STCERTIFICATE backup or STSalonTouchDB backup) so that it is highlighted. On the right
you will see the last run information as well as the next scheduled backup time.
12. To manually start the backup job immediately click on Start Job on the right then click Ok on the message that
tells you the job has been started.
13. Repeat either step 11 or step 12 for each database listed.
a. If you are using the SalonTouch (NET) version you should have 2 databases listed in the backup jobs.
b. If you are using the SalonTouch (SQL) version you should have 15 databases listed in the backup jobs.
Page 3 of 6
SalonTouch SQL and .NET Database Backup Instructions
Updated 10/16/2006
14. Note that if you start the backup job(s) you will need to click on the Refresh button on the top left and then
repeat steps 7 through 11 as needed to view the status of the job.
Figure 5
15. If you see any red frowning faces then there is a problem. You can try to start the job manually and/or view
the history to see what problem occurred.
16. To view the history, highlight the problem database(s) on the left then click on the Show History button on the
right.
17. To start the job manually, highlight the problem database(s) on the left then click on the Start Job button on
the right. Remember to click on the Refresh button on the top right and repeat steps 6 through 10 above after
you have started the backup job(s) to check on their status.
19. If you still cannot get the backup jobs to run successfully, please contact Interactive Designs support at
770.650.8830.
Copying Backup Data to Removable Media
NOTE: If you chose a different backup location then you will need to select that location instead of the one
shown in the following steps.
1.
2.
3.
4.
5.
To copy the backups to a CD, Zip disk or other removable media go to Start
My Computer.
Double-click on the drive where you installed SalonTouch. This is usually the C: drive.
Double-click on the SalonTouch folder.
Double-click on the Backup_Databases folder.
If you are using the SalonTouch (NET) version you should have 2 database backup files as follows:
SalonTouchDB_Backup.Bkf
SalonTouchTracer_Backup.Bkf
6. If you are using the SalonTouch (SQL) version you should have 15 database backup files as follows:
STAppointment_Backup.Bkf
STCertificate_Backup.Bkf
STClients_Backup.Bkf
STCommission_Backup.Bkf
STComputer_Backup.Bkf
STEmployee_Backup.Bkf
STFPrints_Backup.Bkf
STHistory_Backup.Bkf
STLocal_Backup.Bkf
STPictures_Backup.Bkf
STProducts_Backup.Bkf
STProgram_Backup.Bkf
STRegister_Backup.Bkf
STSaloninfo_Backup.Bkf
STTanservices_Backup.Bkf
Page 4 of 6
SalonTouch SQL and .NET Database Backup Instructions
Updated 10/16/2006
7. If your system is not setup to show extensions of known file types the .bkf will not show. See the Tips section
below to enable extensions.
8. Press <Ctrl-A> to highlight all of the backup files shown above.
9. Right-click on any highlighted file then left-click on Send To.
10. Left-click on your CD-R/RW, Zip or any other removable drives and follow any instructions that may appear.
Tips
How to
1.
2.
3.
4.
5.
Display File Extensions
Click on Start
My Computer.
At the top of the window click on Tools
Folder Options.
Click on the View tab.
In the section of checkboxes find the item that reads Hide extensions of known file types and uncheck it.
Click on Ok.
How to Verify the SQL Server Agent is Running AND Set to Run Automatically
WARNING: Follow these directions carefully. Changing anything else in this section may cause your
computer system to fail or not function properly.
Method 1 – Using SQL Server Service Manager (SQL Server 2000 ONLY)
1. Double-click on the SQL Server Service Manager icon
located on your Task Bar next to the clock. This is
usually on the bottom right on your screen.
2. Make sure that the Server is set to the proper SQL Server Name. This is usually the one with
\SALONTOUCH on the end of the computer name (i.e. PC10\SALONTOUCH) and in most cases the correct
server instance will automatically be selected.
3. Change Services so that it is set to SQL Server. Make sure that Auto-start service when OS starts is
checked and it that it says Running… at the bottom. See Figure 6 below.
4. Change Services so that it is set to SQL Server Agent. Make sure that Auto-start service when OS starts
is checked and it that it says Running… at the bottom. See Figure 6 below.
5. If either service is not running click on the green play button for both SQL Server and the SQL Server Agent
services.
Method 2 – Using Computer Management
You normally do not need to use this method unless you cannot locate the SQL Server Service Manager as
described above in Method 1 OR you are running SQL Server 2005.
1. Click on Start and then right-click on My Computer.
2. Left-click on Manage and the Computer Management window will appear.
3. Click on the plus next to Services and Applications then click on Services.
4. On the bottom right click on the Standard tab.
5. Scroll through the list on the right and look for the following:
a. If you are using SQL Server 2000 or MSDE 2000:
SQLAgent$instancename where instancename is usually SalonTouch
EXAMPLES: SQLAgent$SalonTouch or SQLAgent$ST42az###
b. If you are using SQL Server 2005 or SQL Server Express:
SQL Server Agent (instancename) where (instancename) is usually SalonTouch
EXAMPLES: SQL Server Agent (SalonTouch) or SQL Server Agent (ST42az###)
It may have different instance name and it MUST show Started and Automatic to the right.
Page 5 of 6
SalonTouch SQL and .NET Database Backup Instructions
Updated 10/16/2006
Figure 6
6. If it doesn’t, double-click on SQLAgent$SALONTOUCH and change Startup Type to Automatic.
7. Click on Apply then click on the Start button and then click on Ok once it has been started.
8. Close the Computer Management window.
Page 6 of 6

Documents pareils