Chat now with support
Chat mit Support

Secure Copy 7.6.3 - User Guide

Using Secure Copy Setting copy options Running copy jobs Using the command line Managing licenses Running Update Utilities Troubleshooting PowerShell cmdlets

Using map files to migrate local groups and users


Previous

A map file is a text file that creates a mapping between source and target groups and users. Using a map file gives you greater flexibility in the way that local groups/users are migrated.

Map files are used most commonly when local group/user accounts include the name of the source computer. For example, you need to migrate data from Server1 to Server2. Permission entries on the data include the local groups LocalGroup1_Server1 and LocalGroup2_Server1. If the data is copied using the Migrate Local Groups option, the data is copied to Server2, but the access control lists for the data still reference LocalGroup1_Server1 and LocalGroup2_Server1. Using a map file provides a means of modifying the behavior of the local group migration so that once the job completes, the access control lists for the data reference LocalGroup1_Server2 and LocalGroup2_Server2.

To use a map file to migrate local groups and users

1    Using Notepad, create a map file by typing each name mapping on a new line.

SourceLocalGroup1=TargetLocalGroup1

SourceLocalGroup2=TargetLocalGroup2

SourceLocalUser1=TargetLocalUser1

SourceLocalUser2=TargetLocalUser2

2    Open Secure Copy.

3    Click Jobs, and expand the job.

4    Click Local Groups and Users.

5    Select Migrate Local Groups/Users to Destination Server.

6    Select Specify Map File, and click Browse to locate the map file.

      To view or edit the contents of the map file, click View.

7    Select any other options on the Local Groups and Users page.

8    Open the Copy Locations page, and then specify the source and destination paths. See Setting copy locations.

9    Save and then run the job. See Starting a copy job.

Next


Migrating file shares


Previous

Secure Copy allows the migration of file shares from one server to another server or to multiple servers. Secure Copy recreates the file shares of the source server on the target server with share permissions intact, which greatly reduces the time for file share creation on the target server.

Shares whose folders are not specified in the source paths are not copied. In other words, as Secure Copy runs the copy process, it checks each source path and its subfolders to see if they are shared. If so, Secure Copy recreates the share on the target computer and creates the appropriate share permissions as dictated by those of the source.

The sub options are used if the share name already exists or if the share needs to be created.

To migrate file shares

1    Click Jobs, and expand the job.

2    Click File Shares.

3    Select Migrate file shares to destination server.

4    Select how Secure Copy should handle shares if the share name already exists on the destination server.

Table 14. Existing share name options

Option

Description

Skip It (Ignore)

If a share already exists on the target, Secure Copy does not create the share on the target.

Overwrite (Remove old share, create new one)

If a share already exists on the target, Secure Copy unshares the share on the target, and then writes over it with the source share.

Add the Prefix

Add the Suffix

Type the prefix or suffix to add to the new file share name.

In cases where there may be multiple shares of the same name and you want to recreate the shares using the new folders from the source, but manually renaming the shares when prompted may be unfeasible, such as in the case of a scheduled job, you can have Secure Copy add a prefix or a suffix to the new share name. This gives a uniform naming convention to the new shares and prevents unnecessary user intervention.

5    If the source contains a root share folder, such as \\server\sharename, and you want to create that root share folder on the target, select Create root share folder on target. Otherwise, the root share folder is not created on the target.

6    If Source is File share, Create source root share folder on target check box on File shares page is not selected, the purge will not occur.

Next


Setting other file options


Previous

Topics:

    Using map files to copy files and folders

    Copying encrypted files

    Copying off-line/stub files

    Copying recently modified files

    Using compression

    Copying ACL information

    Running Pre and Post Migration tasks

Next


Using map files to copy files and folders


Previous

A map file is a text file that creates a mapping between source and target files and folders. Using a map file gives you greater flexibility in the way that files and folders are copied, either from one computer to another or to Active Directory®.

Formatting Rules

    Source and target directory must be on different computers, copying from one location to another on the same computer (even if the source and target are on different volumes) prevents the folders from being mapped.

    The full path for the source and target folders must be entered into the map file.

    For folders, the source and target path in the map file must have a trailing backslash (not necessary for files).

    The target directory does not need to be created ahead of time. If the folder on the target directory does not exist prior to running the copy job, Secure Copy creates the target folder and copies the contents of the source folder into the new target folder.

Examples

    To copy a file: C:\test\testfile.txt=\\targetserver\test\testfile.txt

    To copy folders: C:\source\=\\ad3\e$\scy test\target\

    To rename a file: C:\test\testfile.txt=\\targetserver\test\newtestfile.txt

    To divert a file: C:\test\testfile.txt=\\targetserver\newDir\testfile.txt

    To rename a folder: C:\test\=\\targetserver\C$\newfolder\

To use a map file to copy folders and files

1    Using Notepad, create a map file by typing each name mapping on a new line.

2    Open Secure Copy.

3    Click Jobs, and expand the job.

4    Click Other File Options.

5    Select Map Folders and Files.

6    In the Map File Path box, type the path or click Browse to locate the map file.

      To view or edit the contents of the map file, click View.

7    Click Copy Locations, and specify the source and destination paths. See Setting copy locations.

8    Set any other copy options. See Setting copy options.

9    Save, and run the job. See Starting a copy job.

Next


Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen