How to Back Up Files Over Network in Windows 11/10: 6 Reliable Ways
No USB drive handy? You can back up files over network to another PC, a NAS or a router drive in your home. Here is how to set it up on Windows 11 and 10, from a simple copy to automatic nightly backups.
Method Finder
Two questions. You get the way to try first and the backup.
Before you back up files over network
To back up files over network you need two things: a place on your home network that stays on (another PC, a NAS or a drive plugged into the router), and a way to copy to it (File Explorer, robocopy or a backup app). Both devices must be on the same network, and the network must be set to Private in Windows, because Public networks block file sharing. Use a wired connection for the first big backup if you can; Wi-Fi works but is slower. Decide what to back up first: Documents, Desktop, Pictures and any project folders are usually enough. You do not need to back up Windows itself to back up files over network.
6 ways to back up files over network
Way 1: Share the backup folder
- On the PC that will hold the backup, open Settings > Network & internet > Advanced network settings > Advanced sharing settings.
- Under Private networks, turn on Network discovery and File and printer sharing.
- Make a folder such as D:\Backups, right-click it > Properties > Sharing > Share, add your account and give it Read/Write.
Your home Wi-Fi must be set to Private. Public networks block sharing on purpose.
Way 2: Map a network drive
- Find the backup PC’s address: on that PC run ipconfig and note the IPv4 address.
- On your PC open File Explorer, right-click This PC > Map network drive.
- Pick a letter (for example Z:), type \\192.168.0.30\Backups with your address, tick Reconnect at sign-in and click Finish.
Way 3: Copy with robocopy
robocopy is built into Windows and copies only what changed, so later runs are fast. In Command Prompt:
robocopy "%USERPROFILE%\Documents" "Z:\Documents" /E /Z /R:2 /W:5/E copies sub-folders, /Z can resume after a dropped connection, /R:2 /W:5 retries twice. To make an exact mirror use /MIR instead of /E, but careful: /MIR also deletes files on the backup that you deleted on the PC.
Way 4: Back up to a NAS
- A NAS (network storage box) is always on, so it is the best place to back up files over network for a whole family.
- Create a shared folder in the NAS app, then map it like Way 2. Most NAS makers also include their own backup app for Windows.
- A USB drive plugged into your router works the same way if the router supports file sharing; check the router app.
Way 5: Schedule it every night
- Save the robocopy line from Way 3 in Notepad as backup.bat.
- Open Task Scheduler > Create Basic Task, choose Daily, pick a time when the PC is on.
- Action: Start a program, browse to backup.bat. Finish.
Use the full network path (\\192.168.0.30\Backups) in the .bat file, because mapped letters are not always ready when a task runs.
Way 6: Check the backup worked
- Open the backup folder and open a few files. A backup you never tested is a guess.
- robocopy prints a summary: Failed should be 0.
- Keep one copy outside the house too (OneDrive or a drive at work). A network backup does not protect against fire, theft or ransomware that reaches every PC.
- Microsoft’s guide: file sharing over a network.
Back up files over network: common problems and fixes
The other PC or NAS does not show in Network
Set both devices to a Private network in Settings, Network and internet, then turn on Network discovery and File and printer sharing in Advanced sharing settings. If it still hides, skip browsing and type the address straight into File Explorer, like \\192.168.0.30\Backup.
Windows asks for a user name and password
Use an account that exists on the PC or NAS that holds the share, written as PCNAME\username, and tick Remember my credentials. A blank password will not work for network shares on Windows.
File History says the drive is disconnected
The share or NAS was off or asleep when the backup ran. Keep it powered on, give it a fixed IP address in your router, and map it as a drive letter so Windows finds it every time you back up files over network.
Copies are very slow
Wi-Fi is the usual bottleneck. Plug the PC or the NAS into the router with an Ethernet cable for the first big copy, then later backups only send changed files and finish much faster.
Robocopy shows errors on some files
Files that are open are skipped. Close the apps that use them and run the command again; Robocopy only copies what changed, so a second run is quick.
Keep the backup PC awake
A sleeping PC cannot take a backup. On the PC that holds the share, open Settings, System, Power and set sleep to Never while plugged in, or schedule the backup for a time it is already on. A NAS avoids this because it is built to run all day on very little power.
Make the backup safe, not just copied
Follow the 3-2-1 rule
Keep three copies of important files, on two different devices, with one copy away from home, such as OneDrive or a drive kept at work. A backup on the same network can be hit by the same ransomware, fire or power surge.
Test a restore once a month
Open the backup folder, pick a few files and open them. A backup you never tested is only a hope. With File History, use Restore personal files and check that recent versions are there.
Protect the share
Give the backup folder its own account and password, and do not share it with Everyone. That stops other devices on the network, including a guest phone, from reading or deleting your backups.
More home network guides
Next steps for your home network: how to set up screen sharing at home, how to see who’s connected to your WiFi, how to set up a network printer.
Which way to back up files over network fits you
One PC and a spare PC at home
Share a folder on the spare PC and point File History at it. It runs every hour by default and keeps old versions, so you can get back a file you saved over by mistake.
Several family PCs
A small NAS (network attached storage) is the easy middle ground. Each PC backs up to its own folder on the NAS, the NAS stays on all day, and many models can also copy everything to the cloud for the off-site copy.
You want exact folder copies
Use Robocopy with the /MIR switch in a scheduled task. It mirrors a folder to the share, which is great for photos and documents, but it also mirrors deletions, so keep File History or a second copy as well.
Only a few important folders
OneDrive folder backup may be enough: it protects Desktop, Documents and Pictures and keeps them off your home network entirely. Pair it with a network copy if your files are larger than your cloud storage plan.
How often to run it
Daily is right for most homes. If you edit work files every day, keep File History at every hour; for photo libraries that change less, a weekly Robocopy run is enough.
What we did not test
We checked the sharing settings and ipconfig on our Windows 11 test PC. We did not run a full backup to a NAS for this guide, and NAS apps differ by maker.
Back up files over network: the cheat sheet

Where do you back up?
One tap. It helps the next reader.
Frequently asked questions
How do I back up files over network to another PC?
Share a folder on the other PC, map it as a drive, then copy with File Explorer or robocopy.
Why can’t I see the other PC on my network?
Turn on Network discovery and set the Wi-Fi to Private on both PCs. Typing \\IP-address\folder works even when it is not listed.
Is robocopy /MIR safe for backups?
It makes an exact copy, so deleting a file on the PC deletes it in the backup too. Use /E if you want to keep deleted files.
Can I back up files over network automatically?
Yes. Put the robocopy line in a .bat file and run it daily with Task Scheduler.
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More Guides You May Like
Gem Team Reviews: a security-first corporate messenger that unifies daily work
java -xmx1024m -xms1024m -jar minecraft_server.1.21.5.jar nogui
Wi-Fi Option Not Showing in Windows 11? 7 Fixes to Get It Back
Windows Security Not Opening in Windows 11/10? 7 Fixes
No Audio Output Device Is Installed in Windows 11/10: 7 Fixes That Work
Cards vs E-Wallets vs Bank Transfers: Choosing iGaming Payment Methods
Why Is My Printer Not Printing? 7 Fixes for Windows 11 and 10
Delivery Optimization Cache in Windows 10 and 11: Delete It Safely