Solved

Using Robocopy to move SQL Server folders and subdirectory

Posted on 2012-03-28
5
1,211 Views
Last Modified: 2012-08-13
Hello Experts

      I am trying to use Robocopy to copy my sql server folders and subdirectory from one drive to another but not having very much luck :-(

Tree structure:

Microsoft SQL Server
       - MSSQL.1
            - MSSQL
                  - Backup
                     - Data
                        - Analysis Services
                           - Engine
                              - Integrated Samples
                                 - Integrated Services
                                    - Notification Services
                                       - Replication
                                          - Reporting Services

How would I go about doing this?

Thanks for your time today
0
Comment
Question by:algotube
  • 2
  • 2
5 Comments
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 100 total points
ID: 37777319
0
 
LVL 28

Expert Comment

by:serialband
ID: 37777356
Do the /mir and /copyall options not work for you?

robocopy /mir /copyall D:\MSSQL.1 E:\MSSQL.1
0
 

Author Comment

by:algotube
ID: 37778330
Good day sorry for the late reply crazy around here.  No I am not using Robocopy GUI edition, command line.  Yes I have to look into RichCopy looks good...
Serialband, if I use robocopy /mir /copyall D:\MSSQL.1 E:\MSSQL.1
will this copy even permissions...... ????

Thanks for getting back to me guys...........
0
 
LVL 28

Accepted Solution

by:
serialband earned 400 total points
ID: 37779645
The /copyall option copies all permissions.  The /mir option tells it to mirror the diroctory structure.

The syntax should actually have the options after the source and destination.

robocopy D:\MSSQL.1 E:\MSSQL.1/mir /copyall
0
 

Author Closing Comment

by:algotube
ID: 37783763
Thank you so much for your help......very much appreciated.......
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sql Data via Excel--performance issues 2 55
Testing connection to sql 7 60
SQL Server 2012 express 24 38
Delete from table 6 47
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question