Chapter 7: Files & Input Flashcards
Why shouldn’t files be ‘opened’ for too long?
When a file is open, they can easily be corrupted, thus they should be kept open for the shortest time possible.
This is because, if the solution crashes, the file will be corrupted/damaged if the file is open.
Why is security required?
As files can contain sensitive user information (usernames & passwords), leaving a file unprotected can be dangerous as someone can access the file DIRECTLY rather than through the solution.
What are some security measures to put into place to prevent unauthorised access?
1) Encryption
2) Files can be password protected
3) Files can be placed into folders that are only accessible by the administrator
Define archiving
Archiving is simply the process of removing those files that are no longer required to be accessed to another storage medium that can securely store them for a LIMITED period of time.
What is involved in performing a backup?
1) Simple as making a copy -> placing it in a secure location
2) The frequency of the backup DEPENDS on
- how much data is there to backup
- facilities available
- how valuable the data is
Why is archiving necessary?
Because storage space is LIMITED. It is necessary to remove the files that you no longer need.
What are some threats to data?
1) Accidental
2) Event-based
3) Deliberate
What is the use of an Uninterrupted Power Supply (UPS)
In the event of a power outage, a UPS can keep a server running for enough time to complete an (up-to-date) backup and for the system to SAFELY SHUTDOWN without damaging any files.
What is Version Control Software (VCS)?
Applications that help organisations keep track of their backup versions, which is vital for managing backups.
How does a full backup work?
All the Data is copied to the chosen backup media.
When should a backup be performed?
Usually at the end of the day. BECAUSE:
-> because the backup can interrupt the procedure
-> it can take a long time to complete, which is why they are generally performed at night
Advantage of full backup
A full backup is able to restore the ENTIRE set of data at once.
What should you consider when backing up?
The backup media should be able to ACCOMMODATE the size of the backup, without having to swap or change the media in between/during the backup process.
Disadvantages of full backup
1) Time consuming if there is a large amount of data to backup
2) Requires a medium (e.g. usb) which can store the combined size of all the files -> EXPENSIVE
How does a Differential backup work?
1) A full backup is made
2) Subsequent backups only contain the FILES that have changed
Disadvantages of differential backup
1) RESTORING the backup is more complex than restoring a full backup
2) to FULLY RESTORE the backup,
the full backup needs to be restored and also the most recent differential backup
3) When the number of files grow, the size of a differential backup will be too large to handle, and thus will require ANOTHER FULL BACKUP