Frequently Asked
Questions: Backing Up Your Data
Click the topics of interest.Why bother
backing up Sumac data?
How often should I back up Sumac data?
What media should be used for backups?
How do I back up a single-user version of Sumac?
How do I back up a multi-user version of Sumac?
What follow-up is needed?
How can I keep my server computer happy?
How often should I back up Sumac data?
What media should be used for backups?
How do I back up a single-user version of Sumac?
How do I back up a multi-user version of Sumac?
What follow-up is needed?
How can I keep my server computer happy?
Why bother backing up Sumac data?
You use Sumac to manage valuable information. This data describes the details of how your organization works: its contacts, its communications, its revenue.If your data is not backed up, a simple computer failure can cause you and your organization incalculable damage.
It is imperative that you back up this data on a regular basis.
to top
How often should I back up Sumac data?
You should back up your data on a regular basis. At least weekly, better daily. Loss of a week's data is a nuisance. Loss of a month's data is a serious problem.to top
What media should be used for backups?
Back up to media that is not in the same location as the computer being backed up.This can be removable media like a USB key, a writable CD or DVD, a remote backup server, an external hard drive. If you put your backup on relatively unreliable devices (e.g. CD-R or DVD-R), then make sure that the backup program verifies the data after writing it.
Once the backup is performed, remove the media. This does not mean to just turn it off or disconnect it from your computer. You need to physically remove it from your office. If you just put the backup device into a drawer beside the computer being backed up, then the same disaster (flood, fire, theft, lightning, etc.) that destroys the server computer will probably also destroy the backup device.
You should have multiple copies. Don't just back up to one device and re-use it every week. We recommend at least five different backup devices, using a different one each week on a five week cycle. Like any other electronic equipment, they can fail. Having just one or two is not sufficient.
Instead of physically removable media, you can use an online backup service, which sends your data to a remote server.
to top
How do I back up a single-user version of Sumac?
If you use a single-user version of Sumac (Sumac Demo, Sumac Bronze, Sumac Silver), then you should follow these steps to perform your backup:- Quit Sumac.
- Copy the folder SumacData from the top level directory of your computer's main hard drive to removable media.
How do I back up a multi-user version of Sumac?
There are three basic approaches to backing up:- Use MySQL Administrator
- Copy files manually
- Create a script to copy the files.
MySQL Workbench
MySQL Workbench is a program available from MySQL.com. Click here, then click MySQL Workbench 5.2. You need version 5.2 or later, so you may need to download a developer (beta) version. You can use MySQL Workbench to back up your Sumac database to a file.Manual Backup
If your server is a Windows computer, you may back up your data manually, or writing a script to copy files manually.- Make sure everyone has stopped using Sumac, then shut down the MySQL server. You do this by entering "net stop mysql" into a command window.
- Copy MySQL’s data folder to removable media. If we installed MySQL for you or you followed our installation instructions, then the data folder C:\MySQL\data. It is possible this folder is in a different location; if you need help finding it, let us know.
- Restart the MySQL server. You do this by entering "net start mysql" into a command window.
Scripted Backup
If your server is a Windows computer, then you can construct a script to do the backup.Use Notepad to create a text file. Type into it the following five lines (without the line numbers in front of them):
[1]
net
stop
mysql
[2] rmdir G:\backupMySQL\*.* /f /s /q
[3] xcopy C:\mysql\data G:\backupMySQL\ /s /e /h /k /r
[4] net start mysql
[5] pause
[2] rmdir G:\backupMySQL\*.* /f /s /q
[3] xcopy C:\mysql\data G:\backupMySQL\ /s /e /h /k /r
[4] net start mysql
[5] pause
Save the file and call it something like "backupSumac.bat". The .bat extension tells Windows that the file holds a batch of commands. Here is what each step does:
[1] shuts down the MySQL server.
[2] deletes the backup on drive G. This assumes that you are backing up to drive G. If you are using a different drive letter, then change G to your letter in this statement and the next one.
[3] copies the database to drive G, putting it into a folder named "backupMySQL".
[4] restarts MySQL.
[5] pauses the batch of commands so you can see the results before the command window closes.
You can then double click the file (running it on the server computer) and it will do the backup. If you are running Windows Vista or Windows 7, then instead of just double clicking the file, you must right-click it, then choose the “Run as administrator” command.
to top
What follow-up is needed?
Even if you think your backup is being performed on a regular basis, check again. Make sure that the MySQL server is being shut down before the backup is performed. Make sure that media are being taken off-site. Make sure that there are multiple copies of backups.to top
How can I keep my server computer happy?
Heat Dissipation
Computer components produce a lot of heat. If they get excessively hot, they fail. That is why they have fans: to draw in cool air and blow out hot air.But running too hot on a continuous basis also shortens their lifetime. So take steps to help your computer keep cool:
- Make sure the ambient air temperature around the server is not too high. Normal room temperature (about 20 Celcius, 68 Fahrenheit) or a bit lower is ideal. Putting a computer in a closet is a bad idea: the temperature builds up too high.
- Make sure all air flow channels are clear. Air flow can be driven by a fan, but it can also be driven by convection. So you really need to make sure that all holes (not just those in front of fans) in the server computer’s case are clear. Note that there may be holes on the bottom – check for them and adjust the position of the computer appropriately.
- Make sure that the hot air output of one computer is not being drawn in to the cool air input of another.
- Clear the area around the server computer’s case. Fans cause heat to be dissipated by air flow, but a lot fo heat is also dissipated by convection. Piling books and papers around and on top of your server thermally insulates its case, preventing heat from being dissipated. The computer is not a bookshelf or bookend. Keep it clear.
Power Cycling
A very high portion of computer failures are caused by connections breaking. A leading cause of broken connections is the expansion and contraction caused by thermal cycling: getting hotter then colder then hotter then colder. Ideally, a server should stay powered on all the time.Contaminants
Do not put your server in a dirty location. Its fans are always sucking air into the case. If the air is dirty, dirt is pulled in along with the air. This dirt gradually works its way into computer components (e.g. disk drives) and causes them to fail.Here is a list of places where you should not put your server:
- The floor. Rub your hand on a typical office floor and it comes up dirty. Dust settles on the floor; people drop things on the floor, shoes bring in dirt that ends up on the floor. Servers sitting on the floor are going to be dirty.
- Beside a busy printer. Printers that handle a lot of paper emit paper dust. Paper dust is made of very hard cellulose fibres. The dust gets sucked into computer cases and causes damage.
- Near a kitchen or coffee station. The water hazard is obvious. Less obvious is that food preparation areas frequently have an aerosol of oil particles in the air. Once these are pulled into a computer case, they act like glue, ensuring that any other dust and dirt that arrives will never leave.
Disk Fragmentation (Windows)
If your server is a Windows computer, the disk needs to be regularly defragmented. Fragmentation of a disk occurs because any particular file may be broken into pieces – fragments – that are stored in different places on the disk.If the fragmentation gets excessive (too many files are stored in several places), performance drops noticeably and the disk drive is strained as it constantly has to reassemble pieces of fragmented files. Eventually, severe fragmentation causes Windows to crash.
Windows Vista and Windows 7 enable you to schedule regular automatic defragmentation. Earlier versions of Windows require you to manually defragment. Every month or two is usually adequate.
to top
