[Samba] Query regarding "net rpc share migrate files"
- Date: Fri, 23 Jun 2017 06:18:40 -0700 (PDT)
- From: srikar via samba <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] Query regarding "net rpc share migrate files"
I have a Windows 2012 R2 AD machine and two fileservers, one is a
Windows 2012 r2 machine and the other is Ubuntu 16.04 samba file server Both
are domain members to the same AD machine.I have created a share on Ubuntu
fileserver with the same name as on windows file server. I ran
"net rpc share migrate files" with acls and timestamps parameters to copy
files from windows file server to samba file server. I was able to migrate
files form source(windows file server) to target(ubuntu file server). Later
after migration observed that timestamps of target share files were same as
on source share,but as for sub directories timestamps were not retained as
seen on source. Sub directory timestamps were set to current time of target
fileserver. Is this normal behavior for "net rpc share migrate files"
Below is the command I used to migrate files.
# net rpc share migrate files <sharename> -U<username>%<password> -S
<source-IP> --acls --attrs --timestamps
Thanks in Advance.
View this message in context: http://samba.2283325.n4.nabble.com/Query-regarding-net-rpc-share-migrate-files-tp4720454.html
Sent from the Samba - General mailing list archive at Nabble.com.
To unsubscribe from this list go to the following URL and read the