Windows Server 2003 資料備份與還原 林寶森
Overview of Backing Up Data Backing up produces copies of data files and folders, stored on alternate media Backing up the data on server and client computer hard disks prevents data loss Before backing up, decide: –Which files to back up – if you cannot get along without it, back it up –How frequently to back up –Whether to perform a network backup –weigh the advantages and disadvantages of a network backup Back Up Data
Who Can Back Up Data? You must have certain permissions or user rights Only administrators, backup operators, and server operator groups are allowed to back up data by default on local servers –You must be the owner or you must have the read permission of the files and folders you want to back up You cannot back up your files if there are disk quota restrictions Access to backup files can also be restricted For security, backup and restore rights can be segregated into two groups Backup files and directories GPO located in Computer Configuration
Backing Up Files and Folders Backup – [Untitled] Welcome JobEditViewToolsHelp Backup RestoreSchedule Jobs Click to select the check box for any drive, folder or file that you want to back up. Desktop My Computer My Documents My Network Places A: C: D: E: System State Name Comment My Computer My Documents My Network Places Backup destination File Backup media or file name: c:\Backup.bkf Backup options: Normal backup. Summary log. Some types excluded. Start Backup
Backing Up System State Data Registry CS* Class Registration Database System Startup Files Certificate Services Database DC ** ComponentComponent Server *** Active Directory Sysvol Folder ProfessionalProfessional * CSComponent Services ** DCA domain controller running Windows Server 2003 *** Server A computer running Windows Server 2003 that is also a certificate server * CSComponent Services ** DCA domain controller running Windows Server 2003 *** Server A computer running Windows Server 2003 that is also a certificate server
Backup Types Backup types define what data is backed up Backup types use archive attributes that show the file has changed since the last backup TypeActions performedClears Archive attribute Normal Selected files and foldersYes Copy Selected files and foldersNo Differential Selected files and folders that changed since the last backup No Incremental Selected files and folders that changed since the last backup Yes Daily Selected files and folders that changed during the day No
Select a backup rotation scheme NIIII Example 2 NDD & CDD Example 3 MondayMondayTuesdayTuesdayWednesdayWednesdayThursdayThursdayFridayFriday NDDDD Example 1
Scheduling a Backup Backup Wizard When to Back Up You can run the backup now or schedule it for later. To run the backup immediately, click Now. To schedule the backup for a later time, click Later, and then complete the Schedule entry. Now Later Schedule entry Job name: Start date: Saturday, October 09, 1999 at 12:00 AM Set Schedule < BackNext >Cancel Schedule Job Schedule Settings At 12:00 AM every Sat of every week, starting 10/9/1999 Schedule TaskStart time: Weekly12:00 AM Advanced.. Schedule Task Weekly 1 Everyweek(s) on: Mon Tue Wed Thu Fri Sat Sun Show multiple schedules. OKCancel
Scheduled Backup Options Schedule optionsExecutes the job: OnceOnce, at a specific time on a specific date DailyAt the specified time each day Weekly At the specified time on each of the specified days of the week MonthlyAt the specified time once a month At system startupThe next time the system is started At logonThe next time the job owner logs on When idle When the system has been idle for a specified number of minutes
Restoring Files and Folders Backup – [Restore] Welcome JobEditViewToolsHelp Backup Restore Schedule Jobs Click to select the check box for any drive, folder or file that you want to restore. C: Name Restore files to: Original location If files already exist; Do not replace Start Restore File Media created 11/1/1999 at 10:18 AM My Documents My Pictures Security Database My Documents
What Is an Automated System Recovery Set? A recovery option in the Backup utility that contains two parts: ASR backup and ASR restore Can back up the operating system Does not include data files Creates a floppy disk, which contains information about: – Backup location data – Disk configurations (including basic and dynamic volumes) – How to accomplish a restore procedure Choose the All information on this computer option, it will back up all data including System State Data
ASR Restore Reads the disk configurations from the floppy disk Restores the entire disk signatures, volumes and partitions on the disks required to boot up at a minimum Installs a simple installation of Windows Starts to restore from backup
What Are Shadow Copies? Views the read-only contents of network folders as they existed at various points of time Use shadow copies to: –Recover files that were accidentally deleted –Recover files that were accidentally overwritten –Allow version-checking while working on documents Is enabled on a per volume basis, not on specific shares Is not a replacement for regular backups When storage limits are reached, the oldest shadow copy is deleted and cannot be retrieved To change the storage volume, delete the shadow copies first
Shadow Copy Scheduling Default shadow copy schedule is 7:00 am and noon Create a shadow copy schedule based on: – Do most workers work in the same time zone? – Does your organization need more than the default of two shadow copies daily? – How often can additional copies be made before additional storage will be needed? Deploy a schedule and test it on a small group
Previous Versions Client Software Previous Versions client software for Shadow Copies is installed on the server –%systemroot%\system32\clients\twclient\x86 –Place the client software on a shared resource and send an with instructions on how to download and use Client view of shadow copies –Use if users work with files that are located in shared folders on your network –Use to access previous versions of files