SD Core for Windows WC2.0-0

Moving an Account: the Windows User and the Cases

What does not come across, what a restore does to the Windows user and groups, and the cases where the two machines differ.

This page continues Moving an Account.

What does not come across#

backup.account all takes every registered account but SDSYS, so the shared account is in it. When you move only some accounts, name them.

The Windows user and groups#

An account that already exists keeps its Windows user, its password and its groups. Only its files, its description and its suspension change.

A user account SD has to create is made the way create.account makes one:

A group account is made with its Windows group sdg_name. Its members: are Windows user names. One that cannot be added is named and the rest go on: nosuchuser could not be added to sdg_work (status 2); the account was made.

When the machines differ#

Windows account jack already exists. SD accounts create their own OS account jack was not restored.

Rename or remove that Windows user with the operating system's tools, then run the restore again. There is no way to restore under another account name. A word such as as is read as an account name: as is not in this backup. The steps on the previous page are what the two verbs do for a move between machines.

When it refuses#

It says Why
The archive does not match its manifest: jack (manifest 99/45332/6, unpacked 10/45332/6). Nothing was restored. the zip was changed or damaged
… has manifest format 2, and this version reads format 1. Nothing was restored. a newer zip format
This backup is from windows-solo and this system is windows-full. … the wrong product
nosuch is not in this backup. the name is not in the manifest
1 other session(s) are logged in. Every other session must log out first: log them out and run it again
… already exists, left by an earlier restore that did not finish. remove that .sdrestore.n folder

None of these changed an account, and the restore leaves no .sdrestore.n folder behind (except in the last row, where it is the folder that is the cause). A zip with an entry outside manifest.txt and accounts/, a .. or absolute path, a backslash or a colon in a name, or a name that is not plain printable ASCII is refused before anything is unpacked.

See also#

Backing Up and Restoring Accounts for the verbs and set.backup.directory; Accounts and Security for the switches; Data at Rest for backups and encryption.