Resolved Copying Windows Profiles

If none of the more specific forums is the right place to ask

Resolved Copying Windows Profiles

Postby Soapm » 2019-03-06 00:43

I'm trying to backup my windows profiles onto my Debian server. I mounted the drive into the "Profiles" directory then used the command

Code: Select all
cp -R /profiles/* /video/zwindowsbackup/Grace/p/


The problem is the command can't seem to access the windows folders because of permission.

Code: Select all
'/profiles/Rickey' -> '/video/zwindowsbackup/Grace/p/Rickey'
cp: cannot access '/profiles/Rickey': Permission denied


Is it how I'm mounting the folder or is it in the cp command that I can override the windows permission so I can completely copy everything over. Is there a better way I should be trying this?


This is my fstab entry;

Code: Select all
//192.168.0.181/Profiles /profiles cifs username=******,password=********,sec=ntlmv2  0 0


ps... i'd like to copy them without any permissions so I can put all the files back in the profile folders once I upgrade the drives to SSD's. With a fresh install from xp64 to Win10.
User avatar
Soapm
 
Posts: 561
Joined: 2012-05-22 04:23

Return to General Questions

Who is online

Users browsing this forum: 4D696B65, cooler01 and 10 guests

fashionable