Building new server with old home folders

I have a dying 10.5.5 server with OD that is in dire need of a rebuild. I am going to install 10.5.8 unlimited on a new machine and create all the same user accounts(names) in WGM, I then want to re-link all the old home folders to the new accounts.
Is this as simple as naming the new accounts identically as the old ones and then making the home folder location the same as the old?
Will I need to do anything regarding permissions on the old home folders etc??

Hi,
I have had to do the same thing many times what with server upgrades, crashes etc and I have found the most effective way is as follows:
1. Create the OD on the new machine and create the accounts making sure that the shortnames are the same so that the home folder names match in the new location.
2 as root user (type su - in terminal and put in the root password)use rsync in the terminal to copy the old folders to the new location eg:
rsync -av --progress [email protected]:/Volumes/userdata/homefolders/ /Volumes/userdata/homefolders/
That could take some time but it is better than using a gui as it can tend to corrupt a few things.
NOW, you will find that there are permissions issues if the user ID's have changed accross servers so I always run a little script to correct this. I will explain how to do it in the terminal in case you may be baffled by the terminal, my apologies if you already know this but it may help someone else.
open terminal and type: vi permissions.sh
you will then be in a vi editing window. Press I (thats an Eye not an Ell)to start editing and type in the following (adjust for your own environment)
for i in /Volumes/userdata/homefolders/*
do
u=`echo $i | cut -d/ -f5`
chown -R $u /Volumes/userdata/homefolders/$u
done
Now press ESC to get out of editing mode and type : x (without the space in between, edited to remove smiley) and hit return to exit and save.
back in the terminal window type chmod 777 permissions.sh (this makes the script executable)
Now you should be ready to run the script which will effectively take the name of each folder and change the ownership of everything in said folder to the new user and rectify any permissions issues.
type: ./permissions.sh
You should be sorted now.
Alternatively you can try Passenger. http://macinmind.com/?pid=2&progid=1&subpid=1 which can do all of the above but I find it quicker to do it manually.
I do use passenger for bulk account creation though, admins best friend.
Hope I never lost the plot there and that it helps someone on their way
Message was edited by: PsyMan2009 to rectify smileys at vital parts LOL

Similar Messages

  • SBS2008: Move email from Exchange 2007 to new server with Exchange 2013

    We have an old server (SBS2008) and plan to buy a new server with (Server 2012). I need to move all the exchange emails, contacts & calendars to the new server. We will no longer use the old server. 
    Is there a document or migration tool that will help me understand how to move this data form the old exchange server to the new one? 
    Old Server:
    SBS2008 running Exchange 2007
    New Server:
    Server 2012
    Exchange 2013
    Any help is appreciated!

    Hi Dave,
    It can be done, and as Larry suggested you will consider two Server 2012 installs in order to achieve an environment that looks like your current SBS roles; Exchange 2013 on an Active Directory controller isn't a good long-term solution (SBS did this for
    you in the past).
    For your size operation, a virtual server host, with a Windows Server 2012 license, and two virtual machines would probably be a suitable design model.  In this manner, you have Server 2012 license that permits 1 +2 licenses (one host for virtualization,
    up to 2 Virtual Machines on same host).
    There's no migration tool. That comes with experience and usually trial and error. You earn the skills in this migration path, and for the average SBS support person you should plan on spending 3x (or more) your efforts estimate in hours planning your migration. 
    You can find a recommended migration path at this link to give you an idea of the steps, but its not exactly point by point going to cover you off for an sbs2008 to server 2012 w/exchange 2013 migration.  But the high points are in here. If it looks
    like something you would be comfortable with then you should research more.
    http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
    Specific around integrating Exchange 2013 into an Exchange 2007 environment, guidance for that can be found here:
    http://technet.microsoft.com/en-us/library/jj898582(v=exchg.150).aspx
    If that looks like something beyond your comfort level, then you might consider building a new 2012 server with Exchange 2013 environment out as new, manually export your exchange 2007 mailbox contents (to PST) and then import them into the new mail server,
    and migrate your workstations out of old domain into new domain.  Whether this is more or less work at your workstation count is dependent upon a lot of variables.
    If you have more questions about the process, update the thread and we'll try to assist.
    Hopefully this info answered your original question.
    Cheers,
    -Jason
    Jason Miller B.Comm (Hons), MCSA, MCITP, Microsoft MVP

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • Moving DP Content to a New Server With Same Name

    We are currently in the middle of a server OS refresh from 2k8 to 2k12 R2. Some of the servers are DPs so I need to move the content from one server to another. The big problem is that the new server must have the same name.
    I've read this thread http://social.technet.microsoft.com/Forums/en-US/1ffcaa47-9bf8-476d-965e-28350a6bef1b/move-content-from-old-dp-to-new-dp-at-same-remote-site?forum=configmanagerapps which kind of covers my issue but I presume this person was going to
    a server with a new name.
    Has anyone done this? Is it possible?
    Unless there is something clever the only way I see to do this is to uninstall the DP role from the current server, remove the current server from the domain, add the new server with the same name, re-install the DP role and then re-distribute all the content
    to the new server. I'd rather not do this as the DP is on a remote site so all the content will be going over the WAN.
    I am running SCCM 2012 SP1 CU3.
    Any ideas?

    Hi,
    >>So can I pre-stage from the old server to the new server or does the pre-staging have to be done from the site server?
    Yes, you could prestage content from the old server to the new server. Prestaged content files could be created from Configuration Manager Administrator Console.
    >>What is the order of the process?
    The following blog could help you to prestage content.
    http://blogs.technet.com/b/inside_osd/archive/2011/04/11/configuration-manger-2012-content-prestaging.aspx
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Network accounts with local home folders

    First of all sorry for my bad english.
    I want to obtain network accounts with local home folders.
    I have found this post very interesting to solve my problem.
    http://discussions.apple.com/message.jspa?messageID=2140595#2140595
    Following this indications I have obtained it but I dont see the Public folder of any home folder from the network.
    How I can solve this? I must share the Public folders manually? How? I have proven with SharePoints 3.5.4 and I have not obtained it.
    Thanks
    iMac Intel Core Duo   Mac OS X (10.4.6)  

    Hi
    Clients should be bound to Open Directory and be using the OD Master for their DNS. Launch WorkGroup Manager and authenticate to the LDAP node. If you have only a few Users you can do it at that Level if hundreds do it at Group Level. Select Preferences > Mobility. It's fairly obvious thereafter.
    After the home folder has been created you can make that account a local administrator if you wish.
    This assumes the Server has been configured as Advanced. Please don't take this advice if you've used anything else.
    Tony

  • I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software

  • Does Transfer EBS to new server with New specifications (Ram,Pross ,..)

    Does Transfer EBS with same release to new server with New specifications (Ram,pressoser ,..) need new licences ?

    Micel 811 wrote:
    Does Transfer EBS with same release to new server with New specifications (Ram,pressoser ,..) need new licences ?\does your license is CPU based?
    if its user based then No need
    please contact oracle sales as they are the best to answer your question .
    http://www.oracle.com/us/corporate/pricing/applications-price-list-070574.pdf
    ;) AppsMasti ;)
    Sharing is Caring

  • Creating new database with old database datafile

    is it possible to create new database with old datafile
    i lost my database ,i have no back up, just i have datafiles,
    i want to create new database and want to create tablespaces with old datafiles
    pls suggest me right one
    tahnk you

    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 339559282 generated at 03/09/2008 12:23:01 needed for thread 1
    ORA-00289: suggestion : F:\ORA9IAS\RDBMS\ARC01901.001
    ORA-00280: change 339559282 for thread 1 is in sequence #1901
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log 'F:\ORA9IAS\RDBMS\ARC01901.001'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'F:\ORA9IAS\ORADATA\IASDB\SYSTEM01.DBF'

  • New repository with old kde3 packages

    For any people who might still wish to go back to the old kde3
    A new repository with old kde3 packages
    http://www.schlunix.org/
    http://www.schlunix.org/archlinux
    For x86_64 packages:
    http://www.schlunix.org/archlinux/extra/os/x86_64/
    For i686 packages:
    http://www.schlunix.org/archlinux/extra/os/i686/
    Me? I'm getting more and more comfortable with kde4.1
    Last edited by archdave (2008-08-17 23:51:56)

    azleifel wrote:I've come across this as well.  Like mforce said, it should work if makepkg is run as root (don't forget to add the --asroot switch to the makepkg command).
    Yeah, that worked for me, but it's an indication that some work needs to be done. One needs to AVOID running this as root, and so I think thats going to be the first challenge for the amarok1 maintainer. The ONLY thing we should use root for is the actual installation, not the compilation.

  • New OSX Server Installation - User Home Folders Dissapear after on logout

    hi all,
    Can anyone help me identify this problem that i`m getting with a new fresh install and setup of OSX-server 10.4.10? Basically i have setup the server but when users are logging out of their binded 10.4.10 macs their home folders are dissapearing off of the server. If anyone needs anymore detailed information on the configuration please let me know
    thanks,

    Hi
    You will see the 99 folder on the Server. It will be in the folder designated for Home Folder creation and automounting. It gets created if there are no home folders.
    Is this the only server on the network?
    What happens if you create a new user and home folder, one whose log in name and password does not exist anywhere else and is also not the clients local admin account. On the client click other and log in with that account. On logout does this users home folder disappear off the server?
    Tony

  • How to set up Open Directory Users with local home folders?

    Hi folks,
    i set up a Mac mini Server with the services DNS, DHCP, AFP and OpenDirectory running. Everything is working fine so far but i want my OpenDirectory Users to have their home folders locally on the clients harddisk. My Leopard clients are already bound to the directory but everytime i try to login the login window is shaking even when i use the Directory Administrator account. What am i doing wrong?
    Thanks.

    (Did you read my other reply? You need to make it a portable account for the caching of login credentials.)
    With network homes and portable account enabled on a machine you always run from the locally stored homefolder on that machine.
    This homefolder syncs with the server network home folder for that account.
    If either of these folders get corrupt or unintentionally altered files (permission problems) somehow, there is risk of losing files, syncing problems and more (can take long time to sync at login/out, during even without corruption - I prefer gigabit cable to WiFi for this for obvious reasons).
    You at least need to monitor storage space in both places. You don't want either to fill up the disk (worse on server because several users can have their folders corrupted at the same time). Working quota settings / account is probably a good thing.
    And you probably need to decide what is synced : all folders or just some (and when / how often).
    You either do this form the server (you decide) or let the user have some say or a mix of these two.
    You might want to leave out the user's personal files (music, movies and such) and also depending on emaIl client used, maybe not sync email if the client saves it like Entourage does it, in big ever changing database files. Might be better to just backup the mailserver if IMAP based.
    If a user puts other large files in their homefolder (often on the Desktop) they can fill up the server fast. DVD-projects anyone?
    Mixing different versions server/client might not work too good either.
    So having said that, when syncing works it can be really good and you can restore a machine/account fast with pretty recent data. You can if in a hurry even log in from another machine using the account network home folder, getting access to the synced folders/files.
    Using Time Machine it's a one way "sync" (more like "duplicate changed and new files" - which I like) and you have to manually set TM settings on the client for what is going to be backed up and when. I do atleast don't know how to do it from/on the server. This "less intervention by the server" can be a good thing but if your users don't "behave" you might want to be in the drivers seat "saving them from themselves".
    TM backups can grow fast and probably demands more user interaction when storage space is used up.
    As with all "backup" configurations you probably want some rotating media backup of both network homes and/or TM backups so you can do a restore. Of these two, network homes are the more important one to backup "further".

  • Moving oracle database to a new server with an upgraded oracle software

    Hi Guys,
    Here is the scenario, we have an existing Oracle 9.2 demo database on a Solaris 5.9 server. I was asked to transfer this to another server with same OS but with an Oracle 10g software installed. The original plan was to mount the exisiting Oracle home from the original server to the new server and from there copy all the database files and bring up the database.
    Here are the steps:
    - Issue an "alter database backup controlfile to trace", get the script from the trace file
    - Copy all database files to the new server
    - Edit parameter files
    - Do a startup mount recreate the control files, do a recover database, and startup the database on the new server.
    I suggested that we to a transport tablespace but due to limited resources and that the 9.2 database does not have this feature we can't perform this process. I also can't do a exp/imp of the database since we really have limited resources on a disk. I was wondering if the steps I enumerated above are correct? Or would result in an error?

    Hi,
    why you want to recreate the controlfile, does the mount point locations are changing from old server to new server?
    if you recreating controlfile new incarnation starts, keep in mind.
    you have the downtime to upgrade.. :)
    shutdown
    take cold backup and move to new server.
    create the directory structure as exist in PFILE including CRD files.
    install software
    startup upgrade
    upgrade database(need to add sysaux TBS)
    shut immediate
    startup
    *@?/rdbms/admin/utlrp.sql*
    change hostname in listner.ora/tnsnames.ora files.
    Thanks

  • Issues with OD Home folders

    Hi All,
    I've been fighting with a server for over 2 days. The problem is, I'm finding it impossilbe to locate home folders in a non-standard directory (other than /User)
    The silly thing is I've done it before. It was working fine. I've installed new drives to store the users home directories on.
    Here's the details:
    I start with a new machine with OD, AFP & DNS configured and running. I can create a home folder in the default /Users directory and access it fine. But when I try to change the location of the Users Home folder it won't work. A strange thing is that I can't delete the initial Home user location configuration (in the Users Home settings in Work Group Manager) I can open the intial config and modify it but I can't save those changes. If I select OK after making changes, it creates a new set of preferences but the initial config stays and CANNOT be removed or edited (these buttons are greyed out).
    I CAN use one of these new configurations to create a Home folder which appears in the directory on the new HDs. I can also access these via AFP on a client machine and if I log in with the users details have full access to the contents of the Home folder located on the server.
    When I try to log into the Home folder I get the same message stating there is a problem and informing me that the Users Home Folder is located on a AFP or SMB share.
    Any ideas?????

    Hi Ralph,
    In the past i have never had to set the users individual home folders to Auto Mount. As you know, to do this involves the individual sharing of the Home folder it's self, rather than simply sharing the "Users" folder which contains all of the User Home folders (unless there's another way I don't know about).
    I read somewhere (it's all a blur or blogs at the moment) about using Kerbos only so I changed the AFP settings to only use Kerbros Authentication (instead of the default setting "Any Method" but now I can't access the user home folders through the finder as I receive the message:
    "Connection Failed
    The Authentication Method required by this server can't be found"
    What would cause the client to give this message. It appears the client won't use Kerbros for some reason. (NOTE I'm trialing using only OS 10.4 without applying any upgrades to see if this works, could the lack of the upgrades be causing this?)
    I have a side question: Is the required Authentication method for accessing server based Home folder Kerbros?
    It seems the more time I spend on this the less ground I'm making.

  • Ingest new version with old version archived - Revisited & solved

    I couldn't react to the old thread anymore, but I'd like to share the solution with this forum, because it shows the power of the default functionality in the system.
    Start situation: asset is archived, new version comes in, overwrite is set to 'on'.
    What happens and could happen afterwards: new version 'takes the place' on the hard drive of the old version, new proxies are created, the archive flag on the asset is still on. A restore would place the old version back on the hard drive erasing the new version. No new proxies are created, so original asset would be old version, proxies are from new version. New version - Original Media is lost.
    So this is how I solved it:
    I created a subscription - event type = modified - in which the Asset Filter is set to:
    Archive Status EQUALS Offline
    File Modification Date: the Trigger-if-changed box is ticked.
    The response is changing the status of the asset to 'New Version'.
    A second subsription - event type = modified - has the Asset Filter set to:
    Archive Status EQUALS Offline
    (Asset) Status EQUALS 'New Version' with Trigger-if-changed box ticked.
    The response is:
    1. changing the status to 'Completed'
    2. duplicating the file to another device, "Archive_Exchange" (no Asset, no Proxy created)
    3. restoring the (old) file from the archive.
    A third subscription - event type = modified - is subscribing to a job:
    The job filter is:
    Title CONTAINS 'Restoring'
    Owner EQUALS 'admin'
    Status EQUALS 'DONE' - Trigger-if-changed box is ticked
    plus definition of FROM and TO devices.
    The response is:
    Scan the device "Archive_Exchange"; the only metadata which is set here is:
    Metadata Set equals 'Media' and status equals 'New Version'. No proxies needed.
    Subscription #4 - event type = created - is looking for the newly created asset on 'Archive_Exchange'
    So filter is: Metadata Set EQUALS Media, Device (Stored On) EQUALS Archive_Exchange and status EQUALS 'New Version'.
    The response is this time exactly the same response as when this new version had come in while the old version was not in the archive. So it's copying the new version in the usual device, overwriting the old version and that's it! To keep the temporary device Archive_Exchange clean, there is also a delete response.
    It's a little bit 'Working-around-the-bugs', because why is the system copying the new version to another device, while it knows the Original Media is in the archive, but still, it works and the beauty is: no scripts needed!
    Thanks for your input; it made me understand processes better so I could create this monster.

    There are two basic paradigms that you can use to interact with Final Cut Server files.
    One is to let the filesystem be the master. With this, the original files are sitting in the filesystem, and anyone with permissions can mess with them. FCSvr can see changes (via scans) and update itself accordingly. File names must be unique for anything stored in the same directory.
    The second method is to let FCSvr be the master. In this, you don't mess with the filesystem--all file interactions are done indirectly like through watchers, uploads, and archiving/restoring. File names must be unique, unless you create the device as a contentbase device type.
    Each method can make sense at different times. Generally the second is the safer approach, but the first makes sense like for FCP capture scratch folders and production scans.
    If you upload an asset directly to the FCSvr client application, it will provide you with a dialog box to prevent you from overwriting an existing file if there's a name conflict and it's not a contentbase device. (Nick, it will prompt you even if the old file is archived.)
    If you choose to overwrite, the original asset will be deleted and any archive device instance will be orphaned. If that's what you're doing, I don't understand your issue since you told it to overwrite.
    But if you've mixed paradigms by going behind FCSvr's back (via the Finder or Terminal) to copy a new media file into a place that FCSvr knew was reserved by an archived file and would have prevented had you done it through the client app, then you're asking for trouble.
    Your solution options are: use unique names for files, store them in subfolders that are scanned, or store them in contentbase devices. For the first two you can use the project name or number to help make the file names/folder names unique.

  • Ingest new version with old version archived

    Does anyone knows a solution for this:
    My original asset is archived - a new version is ingested - setting is to overwrite the old version.
    Final Cut Server is saving the new version on the local storage, leaving the version in the archive untouched. Proxy and thumbnails are created from the new version.
    In this situation many functions are greyed out. Actually the system sort of only allows the user to restore the asset from the archive.
    Restoring is overwriting the new version with the old version from the archive leaving the proxy and thumbnails as they are.
    So now situation is: old version of original file on the local drive, we lost the new version all together, proxy and thumbnails from new version.
    This is all very unwanted - any solutions?
    Thanks, Henk

    There are two basic paradigms that you can use to interact with Final Cut Server files.
    One is to let the filesystem be the master. With this, the original files are sitting in the filesystem, and anyone with permissions can mess with them. FCSvr can see changes (via scans) and update itself accordingly. File names must be unique for anything stored in the same directory.
    The second method is to let FCSvr be the master. In this, you don't mess with the filesystem--all file interactions are done indirectly like through watchers, uploads, and archiving/restoring. File names must be unique, unless you create the device as a contentbase device type.
    Each method can make sense at different times. Generally the second is the safer approach, but the first makes sense like for FCP capture scratch folders and production scans.
    If you upload an asset directly to the FCSvr client application, it will provide you with a dialog box to prevent you from overwriting an existing file if there's a name conflict and it's not a contentbase device. (Nick, it will prompt you even if the old file is archived.)
    If you choose to overwrite, the original asset will be deleted and any archive device instance will be orphaned. If that's what you're doing, I don't understand your issue since you told it to overwrite.
    But if you've mixed paradigms by going behind FCSvr's back (via the Finder or Terminal) to copy a new media file into a place that FCSvr knew was reserved by an archived file and would have prevented had you done it through the client app, then you're asking for trouble.
    Your solution options are: use unique names for files, store them in subfolders that are scanned, or store them in contentbase devices. For the first two you can use the project name or number to help make the file names/folder names unique.

Maybe you are looking for

  • How to use this FUNCTION VIEW_MAINTENANCE

    hi i create a table zxxxx and set Data Browser/Table View Maint:                                               Display/Maintenance Allowed. so i want to use the function of "VIEW_MAINTENANCE" to update and create new inforation the TABLE. but i don't

  • Connecting to standard TV set?

    Hello, would like to know if anyone has any tips for connecting my powerbook directly to my TV for viewing both commercial DVD (through idvd) and avi files (through VLC) I can get an image and audio (s-out). However, the video window needs to be way

  • TS1367 How to I back up my imac

    My imac will not start

  • Background job to create/update vendors.

    Hello, We need to create/update vendor records for travel expenses reimbursement. So far we try to create it as background scheduled job for transaction PRAA, but in fact PRAA transaction only creates batch input session and donu2019t process it. In

  • Is Photoshop elements compatible with Mountain Lion?

    Is Photoshop elements 10 compatible with Mountain Lion?