
Well House Consultants
You are on the site of
Well House Consultants
who provide
Open Source Training Courses
and business
hotel accommodation. You are welcome to browse and use
our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
|
Web Application Deployment module A162
Backups and File System Management
Exercises, examples and other material relating to training module A162. This topic is presented on public courses Deploying LAMP - Linux, Apache, MySQL, Perl/PHP, Linux Administration, Deploying Java Applications on Linux / Unix, Linux bootcamp
You should take regular backups of most computer systems so that you don't lose your work in the event of a security breach, hardware failure of user error. This module examines the how, when and why of backups (and how to restore) and other day-to-day file system maintenance issues. Related technical and longer articles Linux and httpd file system layout - LAMP serverWhy Partition a disc drive?Linux and XP - loading a dual boot system
| Articles and tips on this subject | updated | | 2299 | How much space does my directory take - Linux The index card in the library for "War and Peace" takes a lot less space that the book itself, and so it is when you ask Linux or Unix "how much space is taken in this directory" ... you'll be told how big each of the files are, and how big the index table for each subrirectory is. Here's an example ... | 2009-07-22 | | 1288 | Linux run states, shell special commands, and directory structures Some useful notes from the board ...
Run states of Unix and Linux systems:
0 - Halted
1 - Single User
2 - Multiuser
3 - Full Multiuser (inc servers)
5 - Same + X Windows
6 - transient reboot
Install Order for LAMP
Linux ...
... then Apache httpd
... then MySQL
... then PHP.
PHP must be after MySQL ... | 2009-01-22 | | 1893 | Some Linux and Unix tips How to make a woman equal to a man
[trainee@easterton ~]$ man ls
[trainee@easterton ~]$ woman ls
-bash: woman: command not found
[trainee@easterton ~]$ alias woman=man
[trainee@easterton ~]$ woman ls
[trainee@easterton ~]$
In Linux and Unix, the man command gives you a manual page ... but there is ... | 2008-11-18 | | 1801 | Will your backups work if you have to restore them? There are a lot of myths surrounding data backups. Ones says that "the more often you take backup everything, the better it is", but actually that only applies to data that's changing. There is little point in wasting a lot of resources repeatedly backing up the same unchanging builds in /usr/local ... | 2008-09-22 | | 1765 | Dialects of English and Unix English is spoken as a first language by over 300 million people, and by about five times that number if you include people who can speak it as a second or third language. But that doesn't mean that word and wording is going to be the same within different variants, let alone the subtleties and drifts, ... | 2008-08-22 | | 1648 | The tourists guide to Linux When visitors come to this country for a touring holiday, they'll land at Gatwick and take in London, Stonehenge, Bath, Stratord-upon-Avon, York (pehaps) and Edinburgh. That will give them a flavour but none of the details (and of course they'll miss gems such as Melksham and Radstock). But they will ... | 2008-05-20 | | 1439 | Linux / Unix - layout of operating system files At the top level ..
Typically "read only"
bin - binaries - executable programs
sbin - system admin binaries - programs for the system / admin
lib - library files (needed by binaries and shared between them)
usr - the bulk of the operating system (the bit that is not needed to boot)
Typically "read ... | 2007-11-20 | | 1023 | Finding public writeable things on your linux file system Wondering what files and directories on your (Unix, Linux, OS X) system are marked "public writeable"?
There should be very few indeed (none is good), but the following will wheedle them out.
find . -perm -2 -print
""Find, under the current directory ('.') all symbols with permission bit "2" set, ... | 2007-01-06 (short) | | 1013 | Copy multiple files - confusing error message from cp Thought you might like me to share this one ...
Copying a whole series of files into a directory (Linux, Unix, OS X) using cp, you give a whole series of source files followed by the name of the target directory. Add the -r option is you want to specify subdirectories to be copied recursively in your ... | 2006-12-30 | | 754 | tar, jar, war, ear, sar files Have you ever wondered why that are so many file extensions ending in "a r"? It's because the "ar" stands for archive, and it's such a reasonable way of naming file that the original tar which stands for tape archive was picked up by Sun and the Java community and transmuted into other file formats.
tar ... | 2006-06-13 | | 554 | What backup is adequate? I've been ski-ing for the last 5 days. Or rather - trying too. On one day, the slopes were completely closed and on the other days there has only been limited opening - of the 30 lifts perhaps 10 have been running on average, and this is peak season. Yesterday, we went to the Gondola Station here in ... | 2006-06-09 | | 593 | Finding where the disc space has gone Murphy's fourth law states that data expands to fill the disc space available, and there's a collaboration that states that it reaches that full point when you're trying to save a file you should have saved a long time ago during a complex operation.
I'm not a good one at deleting old backup files; ... | 2006-06-09 | | 334 | Symbolic links and hard links Files are arranged in directories (or folders if you prefer that term), and each file can be reached through a series of directories and sub-directories from the root - correct? Yes ... BUT ... there are some times that the same file can be reached through several names, and on Unix and Linux systems ... | 2006-06-05 | | 703 | Copying files and preserving ownership If you're copying a file on a Unix / Linux / OS X operating system, use the cp command. Use cp -r to copy a directory and all its contents - the -r means "recursive". If you use the cp command to copy files that you have read access to, but do not own, then you'll be made the owner of the new copies; ... | 2006-06-05 | | 735 | Boys will be boys, saved by Ubuntu Many things were very different in the 1960s to the way they are today. Rosey-tinted spectacles, looking back on what's perceived as a golden age, may persuade many that life simpler and better back then, and there's a saying that "School days are the happiest days of your life". Well - I've news for ... | 2006-05-30 |
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Backup schemes and the need to backup. Dump and restore. Tar. CPIO, dd and other tools. Backup strategies. Mounting file systems and monitoring usage. Symbolic links. Hard links. Finding files. Some more useful commands.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.
Well House Consultants specialise in training courses in
Linux and LAMP, Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.
|