How do I backup & archive files automatically in Windows?

Windows File History is a built-in backup tool in Settings->Update & Security->Backup.
First, learn the UNC path of your share, like \UbuntuNAS\PictureBackups . It's a good practice to map the drive in My Computer and set 'Reconnect on logon', because then you will have a visual representation of if Windows can see the share on the network. Windows will sometimes show 'Disconnected' just because it hasn't connected to a network drive for some time. If you log on, log off of Windows daily, Windows will attempt to connect on log on each time.

  1. In Settings->Update & Security->Backup , click More Options->See advanced settings.

  2. Click Select a Network Location->Add a Network Location . In the "Folder" box, put in the server and share you want to save to, like \UbuntuNAS\PictureBackups . Choose Select Folder without clicking anything , so that it saves to the root of the share. (or make a deeper nested folder with a good name). Click OK.

  3. Note the line "Copy files from" ... it probably starts with Libraries, Desktop, Contacts, and Favorites. Click Exclude Folders. Choose something you don't want to save, like Desktop or Downloads, and click Select Folder. Note that "Libraries" includes Desktop, Downloads, Documents, Music, Photos, Videos. You don't want to waste backup space on stuff you don't need to save. Click Save Changes.

  4. Click Advanced Settings. Note the 'Saved copies of files' and 'Keep saved versions' settings. It's fine to leave these at default and click Cancel.

  5. Back in the File History screen, click Turn on.

  6. Let it sync over to your UbuntuNAS. This will probably take hours.

File History is not the easiest nor most reliable backup solution. There are paid products that do it better. Even the free Google File Backup and Sync is better, but uses your network bandwidth, has a limited amount of space if you're using the free version, and it means giving all of your photos to a third party.


Using the built in tools, you can use windows file history to keep a backup running. You can tell it to monitor certain folders and back up every 10 minutes or however longer you want. You can then view previous version of the file and restore as needed.

That is probably the easiest way to do it. File history will keep using the space until it is full.

I'm not sure if your archiving request is 100% obtainable with this, im not sure how file history behaves when space is full, it might just delete the oldest backup session which would not meet your needs.

File history may be usable along side something else if any one has ideas on a good archiving solution, we just have to be wary this doesn't become a software recommendation post!


I use Free File Sync for this. It has 2 tools. One is a gui to make backups once in a while, or one time only, and a 2nd tool without gui that can load in batch jobs created by the other tool. It will do this sync real-time, so the backup is always up-to-date, and it can move files that are deleted to a deleted folder, so it is a perfect solution against FileCryptoLocker viruses too, or you can choose to only sync in one direction, not deleting files that are no longer present in the source.