Saturday, January 1, 2011

Linux tape drive backup completely Raiders

First, determine the backup strategy must first be established during backup which files operation.

In a business environment, this is a very difficult decision, but can have serious consequences. If the backup is too much data, cause backup system costs too large to be cut other spending. If no backup enough data that important data may be lost. Back up the entire system is very simple (be sure not to backup some NFS mount directory and special such as such as/proc/file system), but usually this backup of the content is too much. If the entire system disk data is lost, then restore any data that may have to reinstall the base operating system. These system files are saved in the backup tape is meaningless. Therefore, in order to reduce the cost of backup system (including hardware, networks, system load and back up time), typically you should only back up important files. Shared: allows more than one system of public programs in use. /Usr/local or/opt directory often shared between multiple systems, the directory contains no with other operating systems provided by the operating system. User data: contains all user data and private files of a user's home directory. Application data: in a distributed computing environment, application data is typically shared among multiple systems. For example, a Web server cluster usually need to share the same content. System information: System information including account information (user, group, and password), mail alias, host list, and so on. Only you know your data Save where, in establishing its own backup system before, at least to have a good think about this issue. Although I can't list needs to be backed up every copy of the data, but can provide some guidance, including: vital system data: don't forget the important system data, such as files in/etc/directory, sometimes/var/file in the directory. If these files are automatically generated, then you may only need to backup the master system. Then add software: including system installation of any non-indigenous software provided by the operating system. You may already have the software installed in/opt/or/usr/local/directory, so you can simplify the process of backup software. Alternatively, you can set all these programs are installed on a central file server, which will make easier the backup process. If your system has some packages installed, ensure that you save the package has been installed, and during the backup process includes these packages. The application's configuration file and data: to consider each of the systems which services are running on. If a system is running the DNS service, ensure that the backup is included in the file. If the system is running the Web service, you should back up the Web content, sometimes even to backup access log (the log can be very important or not important). Developer resources: If you have a CVS repository, bug database, knowledge base, and other important data development tool, you should make sure to include these files in the backup. Management tools: do not forget to backup process includes all system automation scripts and tools. Database: If one or more database with some data, it is clear that you want to include in the backup process these data, but in addition, make sure to back up the data correctly. In many cases, to correctly backup the contents of the database, you may need to close the database or the data dump. Although some database software can export data and backup to the appropriate format, but some backup software can run in the database when the database is backed up. User data: Finally, a user in the system are usually very grateful to you at the time of the backup, including their private files. If there is a large file server, then this machine is suitable to perform backup, copy from other systems. Another issue to consider is the backup process on what time of the request. If you use a tape backup system, and only one tape, then had to replace tape every day. If it was a few days later realized the wrong one file, that they really are. Of course, if all data is saved in a tape, then the solution is simple — you only need to purchase multiple tape. But if you have large amounts of data, so the situation is more complex.

No comments:

Post a Comment