Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: server backup



Why did you boot into target disk mode? Is this needed?

We did our Imagebackups (bevore changing anything) on a running XServe:

#!/bin/sh
DMGPATH=/your/path/to/the/target/dmg/SysBackup.dmg

if [ -d $(dirname $DMGPATH) ]; then

       /usr/bin/hdiutil create                 \
                       -srcfolder /            \
                       -anyowners              \
                       -format UDBZ            \
                       -ov $DMGPATH
       /bin/chmod 600 $DMGPATH

else
       /bin/echo "$(dirname $DMGPATH) not found! Volume mounted?"
fi

The target path is on a secondary volume only used for that. We've tested this a year ago and all went fine.


I guess you have no active (EG) mysql databases or other processes that are manipulating your data while the backup is created - if you did those data would most likely be corrupt…

- TvE
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >RE: server backup (From: Vilius Šumskas <email@hidden>)
 >Re: server backup (From: "Matt Rosenberg" <email@hidden>)
 >RE: server backup (From: Vilius Šumskas <email@hidden>)
 >Re: server backup (From: Axel Luttgens <email@hidden>)
 >RE: server backup (From: Vilius Šumskas <email@hidden>)
 >Re: server backup (From: Timm Wimmers <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.