3/17/2023 0 Comments Folder backup system![]() ![]() I find /opt is a good location to install software that I want to test, such as a new document management system or other application. That's just a personal preference and you not required to do so. I always install document management systems, Webmin, and other applications to it that I don't want occupying locations such as /usr/local. The /opt directory is often used for third-party software or software that a sysadmin wants to keep separate from standard directories. It's used optionally for internet-related services files such as Some sysadmins use it as a file upload/download directory for the aforementioned services, but its use is random and somewhat rare. The /srv directory is somewhat of an anomaly. It too is often empty, and I also place a /usr/local/sbin/empty file in it to let me know its status. The /usr/local/sbin directory is important for the same reasons as /usr/local/bin. If the directory is empty, I always create a /usr/local/bin/empty file to let me know that it has no files in it rather than thinking that my backup missed an entire directory's files. The /usr/local/bin directory can be empty, or it can contain root-owned scripts or application executables that aren't part of the standard system executables list located in /usr/bin or /usr/sbin. Because of the data it holds, the /var directory will often have its own mount point on its own filesystem and its own disk or disk array. ![]() Files in the /var (variable) directory change and grow on a daily basis. The /var directory holds databases, web pages, crontabs, log files, and DNS zone files. This directory is where you, the system administrator, keep downloads, configurations, scripts, notes, and other essential information that is often unique and irreplaceable. The root user's home directory is an important one to include in a backup. This is true, and I have stories to prove it. It's been said that good judgment comes from experience, and experience comes from poor judgment. Users assume that you'll include their personal files in your daily backups. For a user, there's no more important directory to back up on a system. For example, my home directory is /home/khess. homeĪll user data, downloads, documents, pictures, and miscellaneous files are kept in the /home directory under the user's name. Without a good backup of /etc, you will likely have to reinstall your system from media, reinstall all of your applications, and basically start fresh as you would with a new system. Without this directory, it will take you a very long time to put the system back to where it was before the outage or failure. It includes the user file, the group file, the password file, networking information, most application configurations, startup files, filesystem information, mount points, and other system-wide configuration files. The /etc directory contains a system's configuration files. Migrating to Ansible Automation Platform 2.A system administrator's guide to IT automation.Ansible Automation Platform trial subscription.These directories are in no particular order. The following is a list of directories that you must regularly back up and one that you should never back up. Yes, it's a bit sarcastic, but it's 100 percent true. One of the first questions that new system administrators ask is, What should I back up? The answer is pretty easy: Everything you need to and nothing that you don't. Back up - The process of creating a backup.Backup - A set of directories and files archived to tape, disk, or cloud.Sometimes I think that backups are an afterthought because of the many, many times I've seen them neglected, ignored, and failed. There's no recovery without a good backup. If you want to know how important backups are to any organization, you need to experience a failure or an outage without a good backup. This article guides you as to what you should and should not include in your backups.īackups are not romantic or exciting, but they're necessary. But it's not obvious on Linux systems exactly what you need to include in a backup set. People make mistakes, and you're going to need backups of user data, corporate data, and logs. In other words, everyone in an organization, from the CEO to the temporary worker, depends on us to provide backups. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |