Start a discussion

2654 views
10 replies

File History Backup Redirection

Is there a way to redirect the File History Backup up folder to another server ?

Tim Burgess Tim Burgess
Published 04/10/2017 12:40
  • Windows Server Essentials 2016
Add Comment
Tim Burgess

The server that Server Ess 2016 is installed on is rapidly filling up. Seems the File History folder on the server is the reason why ( 500GB and about a million files .. and still its counting!)


**SOLVED**

On the Dashboard, selecting Users, and then " change file history" opened up some options. 

Seems default is to store these files for a year, I've trimmed it down to a month and only profile data too 

replied 04/10/2017 14:56
Mariette Knap

Maybe you can move it to an iSCSI drive on another device. As far as I know it is not possible to move folders to:

  • A hard drive that is not formatted with the NTFS or ReFS file system
  • The %windir% folder
  • A mapped network drive
  • A folder that contains a shared folder
  • A hard drive that is located under Device with Removable Storage
  • A root directory of a hard drive (such as C:\, D:\, E:\)
  • A sub-folder of an existing shared folder
  • A member server running Windows Server 2012 R2 Essentials or Windows Server 2012 R2 with the Windows Server Essentials Experience role installed

From Manage Server Folders in Windows Server Essentials

replied 04/10/2017 14:45
Shawn Lemay

Is there a script or PowerShell command we can run to either DEFAULT the file history to a month for all users, or change it for all users???  I agree with Tim here that one year is crazy ridiculous.

replied 08/02/2018 21:09
Mariette Knap

Shawn,

Check out this Powershell script.

PS C:\> $fileHistoryConfig = Get-WssFileHistoryConfiguration
PS C:\> $FileHistoryConfig.RetentionInMonths = 6
PS C:\> Set-WssFileHistoryConfiguration -Configuration $fileHistoryConfig

If you change RetentionInMonths = 1 it will keep files for one month. This setting is global

replied 08/03/2018 12:17
Mariette Knap

If you want to change status for File History for a user and delete the backup files use:

PS C:\> Set-WssFileHistoryManagementStatus -UserName "DaveB" -UnManage -Delete

If you want to turn File History on again run:

PS C:\> Set-WssFileHistoryManagementStatus -UserName "DaveB"

 

replied 08/03/2018 12:22
Shawn Lemay

Both of those sets of scripts worked great! You should create this into a tutorial - I know this is something I'm bookmarking for the future as well.

replied 08/06/2018 21:15
Shawn Lemay

Mariette - you mentioned to me in another message, that there was a way in the Dashboard to set this globally? I've looked far and wide and can't find it - I can find it for one user at a time or I can find the options for backup (not file history). Is it somewhere I'm missing?

replied 08/06/2018 21:26
Mariette Knap
replied 08/07/2018 14:56
Shawn Lemay

No - that's just the Client Backup - not File History. One would think Microsoft would have included it somewhere around here in the Dashboard - but alas, no go. Your powershell commands will be the only way to "easily" manage this for now. Thanks.

replied 08/07/2018 15:08
Mariette Knap

You can set File History also through the Dashboard. You just need to make sure that if you open the Users tab do not select a user and then select File History from the right panel. BTW, Powershell is the future. Soon you must know and understand this otherwise you will no longer be able to administer an on-premise server or anything in Azure.

replied 08/07/2018 16:03
Last Activity 08/07/2018 16:03