Jump to content

Recommended Posts

Posted

Hi all,

 

I have a 1tb portable hard drive that i'd like to use to do a full system backup of my x server. I'd like to be able to restore straight from this hard drive in the event of a systme failure.

 

How's the best way to do this? Can time machine suffice?

Posted (edited)

Hi

 

Time Machine is not recommended as an option by Apple themselves for Servers configured as Advanced. Strictly speaking this only really applies if the Server is a fully fledged OD Master with all that that entails and/or a Mail Service. Backing up any 'live' database - LDAP and/or Mail - is going to be risky without first stopping the services. Not so much of a problem with Mail but with LDAP it could become a problem? Sometimes Kerberos stops and never starts again. Although there are ways around this that works sometimes. It's not so much the backup that's the problem. It's the restore - as already mentioned. What's the point of backing up if all you ever recover when disaster strikes is useless?

 

In an Active Directory environment I doubt this would be the case? Most mac servers in such environments probably don't have more than 2-4 services running in any case? What little there is of the LDAP database would only contain OD Groups nesting AD Users and/or Groups. Any Policies would be associated with those Groups as well as any OD Computer Groups. There are no passwords to worry about either and neither is there anything 'live'. MCX or mac-style Policies once applied are 'static' settings and only change when a policy is updated or added.

 

To be honest the only thing worth 'backing' up, apart from any pertinent data - which you should be backing up in any case - would be those OD Groups/Computer Lists. You don't need to do anything special in that case as you could simply export them from WorkGroup Manager. Archiving the LDAP Database would achieve the same thing. If the worse happens and the server dies for any reason it's sometimes quicker to reformat/reinstall and re-import or restore after successful 'bind' to AD and promotion to OD. Both processes are not exactly time consuming are they?

 

Having said all that Apple's 'Best Practices' suggests using DU when booting from the Installer Disk and saving the server's 'state' as a .dmg to a share or externally connected drive. For a vanilla server you're probably talking about 8-12GB? This should take roughly 30-40 minutes.

 

There's nothing wrong with using CCC either. With CCC you can even scheduled cloned backups and what's more it will do it (successfully) whilst the server's 'live'.

 

Another solution you could look at is SuperDuper which does have a price tag.

 

Hope this helps?

 

Antonio Rocco (ACSA)

Edited by AntonioRocco
  • Thanks 1
Posted
Hi

 

Time Machine is not recommended as an option by Apple themselves for Servers configured as Advanced. Strictly speaking this only really applies if the Server is a fully fledged OD Master with all that that entails and/or a Mail Service. Backing up any 'live' database - LDAP and/or Mail - is going to be risky without first stopping the services. Not so much of a problem with Mail but with LDAP it could become a problem? Sometimes Kerberos stops and never starts again. Although there are ways around this that works sometimes. It's not so much the backup that's the problem. It's the restore - as already mentioned. What's the point of backing up if all you ever recover when disaster strikes is useless?

 

In an Active Directory environment I doubt this would be the case? Most mac servers in such environments probably don't have more than 2-4 services running in any case? What little there is of the LDAP database would only contain OD Groups nesting AD Users and/or Groups. Any Policies would be associated with those Groups as well as any OD Computer Groups. There are no passwords to worry about either and neither is there anything 'live'. MCX or mac-style Policies once applied are 'static' settings and only change when a policy is updated or added.

 

To be honest the only thing worth 'backing' up, apart from any pertinent data - which you should be backing up in any case - would be those OD Groups/Computer Lists. You don't need to do anything special in that case as you could simply export them from WorkGroup Manager. Archiving the LDAP Database would achieve the same thing. If the worse happens and the server dies for any reason it's sometimes quicker to reformat/reinstall and re-import or restore after successful 'bind' to AD and promotion to OD. Both processes are not exactly time consuming are they?

 

Having said all that Apple's 'Best Practices' suggests using DU when booting from the Installer Disk and saving the server's 'state' as a .dmg to a share or externally connected drive. For a vanilla server you're probably talking about 8-12GB? This should take roughly 30-40 minutes.

 

There's nothing wrong with using CCC either. With CCC you can even scheduled cloned backups and what's more it will do it (successfully) whilst the server's 'live'.

 

Another solution you could look at is SuperDuper which does have a price tag.

 

Hope this helps?

 

Antonio Rocco (ACSA)

 

 

I have 3 sites running timemachine for backups of the server & data, should i be looking to stop and use CCC for the server backups then? (there currently about 125gb's in size)

Posted

Hi Boon72

 

To clarify:

If your server is in an AD environment and is not a Mail Server and/or 'full' OD Master - ie: KDC and providing user homes - there's no reason why you can't use Time Machine. I would always build into any backup 'strategy' test restores. You don't really have a backup 'strategy' otherwise do you?

 

If you're running a separate OD environment use Time Machine at your own risk.

 

In either case archiving the LDAP database (which can be scripted and scheduled) and/or exporting Users/Groups/Lists etc is always a good idea in addition to a live clone of the Server either using CCC or SuperDuper or a non-live clone using Disk Utility.

 

Assuming your hardware supports it I would supplement all of the above with a UPS (separate ones for an XServe) and mirrored drives or better still a Hardware RAID.

 

Antonio Rocco (ACSA)

  • Thanks 1
  • 4 weeks later...
Posted
Hi Boon72

 

To clarify:

If your server is in an AD environment and is not a Mail Server and/or 'full' OD Master - ie: KDC and providing user homes - there's no reason why you can't use Time Machine. I would always build into any backup 'strategy' test restores. You don't really have a backup 'strategy' otherwise do you?

 

If you're running a separate OD environment use Time Machine at your own risk.

 

In either case archiving the LDAP database (which can be scripted and scheduled) and/or exporting Users/Groups/Lists etc is always a good idea in addition to a live clone of the Server either using CCC or SuperDuper or a non-live clone using Disk Utility.

 

Assuming your hardware supports it I would supplement all of the above with a UPS (separate ones for an XServe) and mirrored drives or better still a Hardware RAID.

 

Antonio Rocco (ACSA)

 

all 3 sites have the same setup, Mac Pro with 1 x 320gb OS X drive and 2 x 1tb raid 0 all the data is saved on the raid ( user files etc ) each machine is on a UPS with a 1tb external backup drive which i had timemachine save to, but ive now made a CCC dmg of the OS X drive, just need to set up a schedule rather than me manually doing it once a week

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...