Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Windows Scripting > General Scripting
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

Moving Data & File Permissions

Moving Data & File Permissions

this thread has 15 replies and has been viewed 7657 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th August 2006, 12:19
UKG UKG is offline
Casual
It's not a coincidence
 
 Join Date: Jun 2006
  6 month star 12 month star
 Posts: 95
 Reputation: UKG is on a distinguished road (10)
Default Moving Data & File Permissions

Hi,

We are soon moving to a new file server and I wan't to know what / how is the easiest / best way to go about moving files / folders across to it (over the LAN) Although both old and new servers are not running Windows (sorry if this is in the wrong place?) they are both filers setup with NTFS shares so *should* retain file permissions etc ok.

Is there any program / script I should be looking at? The couple of things I have tried so far have not worked

Cheers
  #2  
Old 16th August 2006, 12:40
tonyyeb's Avatar
tonyyeb tonyyeb is offline
Moderator
 
 Join Date: Dec 2004
  6 month star 12 month star
 Location: Hull, UK
 Posts: 2,182
 Reputation: tonyyeb is a jewel in the roughtonyyeb is a jewel in the roughtonyyeb is a jewel in the rough (283)
Default Re: Moving Data & File Permissions

Look at using xcopy. It can move files accross the network preserving ownership and permissions with the /O switch.

To copy files i usually do:

Code:
xcopy source dest /E /H /K /O
But you will need to double check the switches for your specific needs.
__________________
Server 2000 MCP
Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

** Remember to give credit where credit is due and leave reputation points To grant some reputation points to the user that helped you, just click on the little Yin-Yang icon on the right of the user's answer and follow the prompt. where appropriate **
  #3  
Old 16th August 2006, 12:48
Ossian Ossian is offline
Administrator
 
 Join Date: Nov 2003
  6 month star 12 month star
 Location: Bonnie Scotland
 Posts: 15,109
  Send a message via Skype™ to Ossian
 Reputation: Ossian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud of (1300)
Default Re: Moving Data & File Permissions

Totally untested, but could you use Distributed File System to replicate from one server to another, then remove the old server?

Oops -- just read the post properly -- non Windows servers, so I guess it wont work!

Tom
__________________
Tom Jones
MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
PhD, MSc, FIAP, MIITT
IT Trainer / Consultant
Ossian Ltd
Scotland

** Remember to give credit where credit is due and leave reputation points where appropriate **
  #4  
Old 16th August 2006, 16:25
UKG UKG is offline
Casual
It's not a coincidence
 
 Join Date: Jun 2006
  6 month star 12 month star
 Posts: 95
 Reputation: UKG is on a distinguished road (10)
Default Re: Moving Data & File Permissions

Quote:
Originally Posted by tonyyeb
Look at using xcopy. It can move files accross the network preserving ownership and permissions with the /O switch.

To copy files i usually do:

Code:
xcopy source dest /E /H /K /O
But you will need to double check the switches for your specific needs.
I have tried using xcopy already, it seems to work well, but even with the /O switch it doesn't seem to hold owner / permissions settings
  #5  
Old 16th August 2006, 16:28
JeremyW JeremyW is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Washington DC metro area
 Posts: 3,309
 Reputation: JeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of light (497)
Default Re: Moving Data & File Permissions

What if you did a backup of the files and then restored them to the new server making sure you configure the options to retain file permissions?
__________________
Regards,
Jeremy

Network Consultant/Engineer
Baltimore - Washington area and beyond
www.gma-cpa.com
  #6  
Old 16th August 2006, 16:53
tonyyeb's Avatar
tonyyeb tonyyeb is offline
Moderator
 
 Join Date: Dec 2004
  6 month star 12 month star
 Location: Hull, UK
 Posts: 2,182
 Reputation: tonyyeb is a jewel in the roughtonyyeb is a jewel in the roughtonyyeb is a jewel in the rough (283)
Default Re: Moving Data & File Permissions

Quote:
Originally Posted by UKG
I have tried using xcopy already, it seems to work well, but even with the /O switch it doesn't seem to hold owner / permissions settings
Just noticed you are not using Windows... so what are you using?
__________________
Server 2000 MCP
Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

** Remember to give credit where credit is due and leave reputation points To grant some reputation points to the user that helped you, just click on the little Yin-Yang icon on the right of the user's answer and follow the prompt. where appropriate **
  #7  
Old 16th August 2006, 17:43
UKG UKG is offline
Casual
It's not a coincidence
 
 Join Date: Jun 2006
  6 month star 12 month star
 Posts: 95
 Reputation: UKG is on a distinguished road (10)
Default Re: Moving Data & File Permissions

Quote:
Originally Posted by JeremyW
What if you did a backup of the files and then restored them to the new server making sure you configure the options to retain file permissions?
That would be nice, but unfortunately the new tape drive won't read from our old tape format...tested it but it didn't like it lol
  #8  
Old 16th August 2006, 17:45
UKG UKG is offline
Casual
It's not a coincidence
 
 Join Date: Jun 2006
  6 month star 12 month star
 Posts: 95
 Reputation: UKG is on a distinguished road (10)
Default Re: Moving Data & File Permissions

Quote:
Originally Posted by tonyyeb
Just noticed you are not using Windows... so what are you using?
Two different filers, and Auspex machine and a NetApp machine configured to do NTFS.
  #9  
Old 16th August 2006, 17:54
biggles77's Avatar
biggles77 biggles77 is offline
Administrator
 
 Join Date: Dec 2003
  6 month star 12 month star
 Location: Nowhere that I like.
 Posts: 10,758
 Reputation: biggles77 is a splendid one to beholdbiggles77 is a splendid one to beholdbiggles77 is a splendid one to beholdbiggles77 is a splendid one to beholdbiggles77 is a splendid one to beholdbiggles77 is a splendid one to beholdbiggles77 is a splendid one to behold (734)
Default Re: Moving Data & File Permissions

Have you contacted Auspex and NetApp to see what they suggest you use to move the files?
__________________
"There I stood at the bar, wearing a Mae West, no jacket, and beginning to leak blood from my torn boot. None of the golfers took any notice of me - after all, I wasn't a member!" Kenneth Lee - after being shot down during the Battle of Britain on the 18th August 1940.

************************************************** **********************
** Remember to give credit where credit is due and leave reputation points where appropriate **
************************************************** **********************
  #10  
Old 16th August 2006, 20:41
JeremyW JeremyW is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Washington DC metro area
 Posts: 3,309
 Reputation: JeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of light (497)
Default Re: Moving Data & File Permissions

Quote:
Originally Posted by UKG
That would be nice, but unfortunately the new tape drive won't read from our old tape format...tested it but it didn't like it lol
Why not make a new backup to a hard drive from a Windows box?
With ntbackup on an 2000 pro machine I've been able to backup and restore to/from a Linux based server. All the NTFS permissions including owner are restored to a new location.
__________________
Regards,
Jeremy

Network Consultant/Engineer
Baltimore - Washington area and beyond
www.gma-cpa.com
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Data file Mailbox was not closed properly kingace47 Office XP / 2003 General Issues 9 10th August 2006 19:15
File Permissions Windows 2003 Server yzahjh Windows Server 2000 / 2003 2 3rd August 2006 22:29
Exporting data to text file using template Solid Misc 2 3rd July 2006 22:38
Extract Inbox Permissions to File - Exchange 2003 sanderson Exchange 2000 / 2003 1 26th November 2005 11:34
PHP extensions installations , IIS crash after enable mbstri igoldman Windows Server 2000 / 2003 0 7th April 2005 10:42


All times are GMT +3. The time now is 22:06.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri