Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 415
  • Last Modified:

robocopy issue

We used robocopy to backup a directory.  For some odd reason, it did not complete because we kept on receiving multiple errrors.  The issue now is that some of the permissions got ruined in the process and we wanted to restore the permissions to how it was back on Thursday of last week.  A full backup was completed for Friday.  How do we go about this?
0
uppercut7141
Asked:
uppercut7141
1 Solution
 
mlongohCommented:
Are you asking how to use Robocopy to copy files and their permissions or are you asking how to restore permissions from a backup that you made?

Assuming that you need to restore permissions to the folders and its contents, but NOT restore files (overwrite data), that depends on your backup solution.

I supposed that you could take ownership of the top level folder, and open the permissions to your userID.  Then robocopy the data files and folders stored beneath the directory, perform a full restore and then restore the files you robocopied with robocopy (without copying the permissions).

Not sure what you're asking, so I'm not sure if that's the right answer for you.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now