How do I archive data on a server older than 365 days?

Try ROBOCOPY. Type robocopy /? at the command prompt to see the options. You are probably interested in the/MOVE AND /MAXAGE:n switches.

Example:
Code:
robocopy E:\DataFiles Z:\Backup\DataFiles /MOVE /MAXAGE:365
Moves all files in E:\DataFiles that are older than 365 days into Z:\Backup\DataFiles. robocopy commands can be incorporated into batch files just like copy or xcopy.

Example 2:

robocopy E:\data Z:\Archived_fileserver /MOVE *.* /E /minage:730

The example above will move (/move)  all files and folders even if empty (*.* /E) that have not been mofidied for 730 days (minage:730) from folder (E:\data) to (Z:\Archived_fileserver) folder using (robocopy)
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How do I change my remember password options in Google Chrome

Manage your website passwords This article applies to the Google Chrome browser on Windows,...

Change time is Gmail

Correct Your Gmail Time Zone To set your Gmail time zone: Click the gear in your Gmail's...

How to speed up Windows XP use at your own risk

Warning: occasionally people break their PC badly by using this list of suggestions. Usually...

How to run cmd in escalated mode with admin rights to modify firewall

a solution: runas /user:administrator@domainname.local cmd then in the resulting command...

How do I enable auto login in Windows

This article describes how to configure Windows to automate the logon...