Avatar of rwheeler23
rwheeler23Flag for United States of America

asked on 

Using Powershell to copy entire folders on a scheduled basis

I am looking for advice on using Powershell to create a backup task that can be scheduled. In this case I want all folders on the 'D' drive to be backed up to a folder on  the'I' drive into a folder called backups. The first time it runs it  needs to back up all files. Subsequently it needs to backup only files that have been changed.

PowershellStorage Software

Avatar of undefined
Last Comment
Paul MacDonald
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Look into Robocopy.  You'll need to schedule the running of it, but it will otherwise do exactly what you want.
Avatar of rwheeler23
rwheeler23
Flag of United States of America image

ASKER

Robocopy is xcopy on steroids correct? I believe it has more functionality.
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Storage Software
Storage Software

The term "Backup" means the methods and processes involved to copy computer data (system data as well as application data) to media other than the ones where the data originally live (disk, tape, optical, cloud). "Restore" in turn means the methods and processes involved in data recovery, i. e., bringing back copied computer data to their original location. Backup/Restore primarily serves as a means of protection against data loss, be it due to disaster, corruption or sabotage. It can also be used for recovering data from an earlier point in time and even for cloning machines or applications. There is a wide variety of backup/restore software available, from expensive commercial products to free or open source tools.

35K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo