To learn how to back up and restore individual files on a Windows-based computer:
Nov 13, 2020 The backup process is virtually identical regardless of the item (file, partition, entire system) you wish to backup. Taking the File Backup feature as an example: Step 1: Choose which item to backup. Click on the 'Menu' icon in the upper-left corner of the screen to reveal the menu and select 'File Backup': Select the files you want to backup. Mar 28, 2019 When selecting files to back up, consider saving any files you won’t necessarily be able to re-create later on, such as electronic tax and business documents, artistic creations, and personal memorabilia. Movies, music, and other media files can often be downloaded or obtained again in the event of data loss.
To learn how to back up and restore in Windows 10:
Back up
There are several ways to back up your PC.
Select the Start button, then select Control Panel > System and Maintenance > Backup and Restore.
Do one of the following:
If you've never used Windows Backup before, or recently upgraded your version of Windows, select Set up backup, and then follow the steps in the wizard.
If you've created a backup before, you can wait for your regularly scheduled backup to occur, or you can manually create a new backup by selecting Back up now.
If you’ve created a backup before, but want to make a new, full backup rather than updating the old one, select Create new, full backup, and then follow the steps in the wizard.
Note: Do not back up files to the same hard disk that Windows is installed on. For example, do not back up files to a recovery partition. Always store media used for backups (external hard disks, DVDs, or CDs) in a secure place to prevent unauthorized people from having access to your files; a fireproof location separate from your computer is recommended. You might also consider encrypting the data on your backup.
Create a system image
System images contain all of the info on your PC at a particular state.
Right-click the Start button, then select Control Panel > System and Maintenance > Backup and Restore.
In the left pane, choose Create a system image, and then follow the steps in the wizard. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
Note: To create a system image of a drive, it must be formatted to use the NTFS file system. If you save the system image on a hard drive or USB flash drive, it must be formatted to use the NTFS file system.
Keeping different versions of system images
You can keep several versions of system images. On internal and external hard drives, older system images will be deleted when the drive runs out of space. To help conserve disk space, delete older system images.
If you're saving your system images in a network location, you can only keep the most current system image for each computer. System images are saved in the format of driveWindowsImageBackupcomputer name. If you already have a system image for a computer and are creating a new one for the same computer, the new system image will overwrite the old one.
If you want to keep the old system image, you can copy it to a different location before creating the new system image by following these steps.
Navigate to the location of the system image.
Copy the WindowsImageBackup folder to a new location.
Create a restore point
You can use a restore point to restore your computer's system files to an earlier point in time. Restore points are automatically created each week by System Restore and when your PC detects change, like when you install an app or driver.
Here's how to create a restore point.
Right-click the Start button, then select Control Panel > System and Maintenance > System.
In the left pane, select System protection.
Select the System Protection tab, and then select Create.
In the System Protection dialog box, type a description, and then select Create.
Restore
Right-click the Start button, then select Control Panel > System and Maintenance > Backup and Restore.
Do one of the following:
To restore your files, choose Restore my files.
To restore the files of all users, choose Restore all users' files.
Do one of the following:
To look through the contents of the backup, select Browse for files or Browse for folders. When you're browsing for folders, you won't be able to see the individual files in a folder. To view individual files, use the Browse for files option.
To search the contents of the backup, select Search, type all or part of a file name, and then select Search.
Tip: If you're searching for files or folders associated with a specific user account, you can improve search results by typing the location of the file or folder in the Search for box. For example, to search for all JPG files that were backed up, type JPG in the Search for box. To only search for JPG files associated with the user Bill, type C:UsersBillJPG in the Search for box. Use wildcard characters such as *.jpg to search for all JPG files that were backed up.
Restore a backup made on another computer
You can restore files from a backup that was created on another computer running Windows Vista or Windows 7.
Select the Start button, then select Control Panel > System and Maintenance > Backup and Restore.
Choose Select another backup to restore files from, and then follow the steps in the wizard. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
Find files that were restored from a backup made on another computer
If you're restoring files from a backup that was made on another computer, the files will be restored in a folder under the user name that was used to create the backup. If the user names are different, you'll need to navigate to the folder where the files are restored. For example, if your user name was Molly on the computer that the backup was made on but your user name is MollyC on the computer that the backup is being restored on, the restored files will be saved in a folder labelled Molly.
To find restored files:
Select the Start button, then select Computer.
Double-click the icon of the drive that the files are saved on, for example C:.
Double-click the Users folder. You will see a folder for each user account.
Double-click the folder for the user name that was used to create the backup. The restored files will be in the various folders based on where they were located originally.
Restore files from a file backup after restoring your computer from a system image backup
After you restore your computer from a system image backup, there may be newer versions of some of your files in a file backup that you want to restore.
To restore files from a file backup that was created after the system image backup was created, follow these steps.
Select the Start button, then select Control Panel > System and Maintenance >Backup and Restore.
Choose Select another backup to restore files from. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
In Backup Period, select the date range of the backup that contains the files that you want to restore, and then follow the steps in the wizard.
Best practices for backup and restore help make sure that backup and restore operations in SharePoint Server are successful and that the environment is protected against data loss or continuity gaps.
Performance best practices for SharePoint backup and restore operations
Backup and restore operations consume server resources and limit server performance while the operations are running. Follow these recommended practices to help reduce resource usage and increase the performance of servers and the backup or restore task.
Calyx Point Download
Minimize latency between SQL Server and the backup location
In general, it is efficient to back up to a local disk on the database server instead of a network drive. You can then copy the data later to a shared folder on the network. Network drives with 1 millisecond or less latency between them and the database server perform well.
Note
If you cannot back up to local drives, use network drives with similar latency. Because network backups are subject to network errors, verify the backup action after it finishes. For more information, see 'Backing Up to a File on a Network Share' in Backup Devices (SQL Server).
To avoid I/O bottlenecks, perform the main backup to a separate disk from the disk running SQL Servers 2017 RTM, 2016, 2014, 2012, or 2008 R2 with Service Pack 1 (SP1). For more information, see Define a Logical Backup Device for a Disk File (SQL Server).
By design, most backup jobs consume all available I/O resources to complete the job. Therefore, you might see disk queuing, which can result in greater than usual latency for I/O requests. This is typical and should not be considered a problem. For more information, see Monitor Disk Usage.
Avoid processing conflicts
Do not run backup jobs during times when users need access to the system. Typically, systems run 24 hours a day, seven days a week. A best practice is to always run incremental backups to safeguard against server failure. Consider staggering backups so that all databases are not backed up at the same time.
Keep databases small for faster recovery times
Keep databases small to speed both backup and restore. For example, use multiple content databases for a web application instead of one large content database. For more information, see Database types and descriptions in SharePoint Server.
For a graphical overview of the databases that support SharePoint Server 2016, see Quick reference guide: SharePoint Server 2016 databases.
Use incremental backups for large databases
Use incremental backups for large databases because you can make them quickly and maintain performance of the environment. Although you can restore full backups faster than incremental backups, continuous incremental backups minimize data loss. For more information about types of backups, see Backup Overview (SQL Server).
Use compression during backup
In some circumstances, you can use compression to decrease the size of backups and the time to complete each backup. Backup compression was introduced in SQL Server 2008 Enterprise. Backup compression increases CPU usage and this can affect SQL Server concurrent operations.
Important
SharePoint Server supports SQL Server backup compression. SQL Server data compression is not supported for SharePoint Server databases.
For more information about how backup compression affects performance in SQL Server, see Backup Compression (SQL Server).
Follow SQL Server backup and restore optimization recommendations
SQL Server backups use a combination of full, differential, and transaction log backups (for the full or bulk-logged recovery model) to minimize recovery time. Differential database backups are usually faster to create than full database backups and reduce the number of transaction logs required to recover the database.
If you are using the full recovery model, we recommend that you periodically truncate the transaction log files to avoid maintenance issues.
For detailed recommendations about how to optimize SQL Server backup and restore performance, see Optimizing Backup and Restore Performance in SQL Server.
Use RAID 10 if you use RAID
Calyx Point Download
Carefully consider whether to use redundant array of independent disks (RAID) on the device to which you back up data. For example, RAID 5 has slow write performance, approximately the same speed as for a single disk. This is because RAID 5 has to maintain parity information. RAID 10 can provide faster backups because it doesn't need to manage parity. Therefore, it reads and writes data faster. For more information about how to use RAID with backups, see Configure RAID for maximum SQL Server I/O throughput and RAID Levels and SQL Server.
Configure SharePoint settings to improve backup or restore performance
You can only configure file compression and log file settings in PowerShell. You can configure backup and restore threads in both the SharePoint Central Administration website and PowerShell to increase backup or restore efficiency and performance.
If you use the Export-SPWeb
PowerShell cmdlet, you can use the NoFileCompression
parameter. By default, SharePoint Server uses file compression while exporting web applications, site collection, lists, or document libraries. You can use this parameter to suppress file compression while exporting and importing. File compression can use up to 30% more resources. However, the exported file uses approximately 25% less disk space. If you use the NoFileCompression
parameter when you export, you have to also use it when you import the same content.
You can also use the NoLogFile
parameter. By default, SharePoint Server always creates a log file when you export content. Although you can use this parameter to suppress log file creation to save resources, we recommend that you always create logs. Logs are important for troubleshooting and log creation does not use many resources such as CPU or memory.
When you use the Backup-SPFarm
cmdlet, you can also use the BackupThreads
parameter to specify how many threads SharePoint Server will use during the backup process. A higher number of threads will consume more resources during backup. But the overall time to make the backup is decreased. Because each thread is recorded in the log files, the number of threads does affect log file interpretation. By default, three threads are used. The maximum number of available threads is 10.
Note
The backup threads setting is also available through Central Administration on the Default Backup and Restore Settings page in the Backup and Restore section.
Consider site collection size when you determine the tools to use
If the business requires site collection backups in addition to farm-level or database-level backups, choose a backup tool that is based on the size of the site collection.
15-100 GB: Usethe
Backup-SPSite
, a SharePoint Server tool, a SQL Server tool, or other database backup tool to protect the content database that contains the site collection. For more information, see Back up site collections in SharePoint Server.Larger than 100 GB: Use a differential backup solution, such as SQL Server or System Center Data Protection Manager R2, instead of the built-in backup and recovery tools.
Quality assurance best practices to back up a SharePoint farm
Follow these best practices to help ensure the quality of the backups of the farm environment and reduce the chances of data loss.
Ensure you have enough storage space
Be certain that the system has enough disk space to accommodate the backup. Configure a backup job in Central Administration to verify the required disk space.
Routinely test backup quality
Routinely test backups and validate their consistency. Run practice recovery operations to validate the contents of the backup and to make sure that you can restore the complete environment. To prepare for disaster recovery of geographically dispersed environments, set up a remote farm. Then you can restore the environment by using the database-attach method to upload a copy of the database to the remote farm and redirect users. Periodically perform a trial data recovery action to verify that the process correctly backs up files. A trial restoration can expose hardware problems that do not come up with software verifications and can also to make sure that the recovery time objectives (RTO) are met.
Back up ULS trace logs
The SharePoint Server backup process doesn't back up the Unified Logging Service (ULS) trace logs. Data in ULS trace logs can be useful for performance analysis, troubleshooting, and monitoring compliance with service level agreements. Therefore, protect this data as part of the routine maintenance.
By default, SharePoint log files are at C:Program filesCommon FilesMicrosoft SharedWeb Server Extensions<16 or 15>Logs. The files are named with the server name followed by the date and time stamp. The SharePoint trace logs are created at set intervals and when you use the IISRESET command.
Store a copy of backup files off-site
To safeguard against loss from a natural disaster that destroys the primary data center, maintain duplicate copies of backups in separate locations from the servers. Duplicate copies can help prevent the loss of critical data. As a best practice, keep three copies of the backup media, and keep at least one copy offsite in a controlled environment. This should include all backup and recovery materials, documents, database and transaction log backups, and usage and trace log backups.
Procedural best practices to back up and restore SharePoint Server
Use the following procedural best practices to plan and perform backup and restore operations.
Use FQDN server names
Calyx Point Training
When you refer to servers in a different domain, always use fully qualified domain names (FQDN).
Keep accurate records
When you deploy SharePoint Server, record the accounts that you create, the computer names, passwords, and setup options. Keep this information in a safe and secure location. Possibly, keep multiple records to make sure this information is always available.
Have a recovery environment ready
Use a farm in a secondary location to validate the success of restore operations as part of your disaster recovery strategy. For more information, see Choose a disaster recovery strategy for SharePoint Server. In a disaster recovery situation, you can then restore the environment by using the database-attach method to upload a copy of the database to the remote farm and redirect users. For more information, review and follow the steps in Restore farms in SharePoint Server. Also for a high availability solution, you can set up a standby environment that runs the same version of software as the production environment so that you can restore the databases and recover documents quickly. For more information, see Describing high availability.
Schedule backup operations
Use PowerShell backup and recovery cmdlets to create a script file (*.ps1) and then schedule it to run with Windows Task Scheduler. This makes sure that all backup operations are run at the best time when the system is least busy and users are not accessing it. For more information, see the following:
Use the SQL FILESTREAM provider with BLOB storage
Remote BLOB Storage (RBS) is supported in a SharePoint Server farm. There are both pros and cons associated with using RBS in SharePoint Server. One related limitation of RBS with a SharePoint farm is that System Center Data Protection Manager cannot use the FILESTREAM provider to back up or restore RBS. SharePoint Server supports the FILESTREAM provider for backup and restore operations. A benefit of RBS with a SharePoint farm is that you can use either SharePoint tools or SQL Server tools to back up and restore the content database with the Remote BLOB Store (RBS) defined. This backs up and restores both the RBS and the content database. We do not recommend that you use RBS with other restore methods. For more information about the benefits and limitations of using RBS, see Deciding to use RBS in SharePoint Server. Download Microsoft SQL Server 2014 Feature Packthat includes RBS.
Note
SharePoint Server 2019 supports the FILESTREAM provider that is included with SQL Server 2017. SharePoint Server 2016 supports the FILESTREAM provider that is included with SQL Server 2014. For more information, see Enable and Configure FILESTREAM.
Note
SharePoint Server 2013 supports the FILESTREAM provider that is included in the Microsoft® SQL Server® 2008 R2 Feature Pack. The SQL Server 2012 and SQL Server 2014 installation media includes RBS as an optional add-on component.