Backup/Restore services settings with serveradmin

Hi,
I try to make a script to backup my services settings.
No problem for backup this informations, but the problem is for restoration. It appears that nothing works ...
For exemple, if I backup dns config like this : +serveradmin -x settings dns > config_DNS.bk+, then I delete a primary zone and try to restore config : +serveradmin settings < config_DNS.bk+, the primary zone isn't recreate.
The only workaround I have found, it's to replace (via sed) in the backup file <key>configuration</key> by +<key>DNS Config</key>+ and restore it via the Server Admin GUI.
Somebody confronted with similar problem ?
Thanks in advance.
Stéphane

Have you tried just using the Export (& Import) features that are built into Server Admin (In the Server menu)?

Similar Messages

  • Backup/restore using RMAN with no catalog

    Hi all,
    Can someone tell me if this is correct:
    I have two identical machines, same configuration and same file structure, everything is the same.
    On machine A, I have a 9.2.0.7 database running. I take a hot backup and try to restore it on machine B.
    Note: I am using RMAN for backup/restore whith no catalog.
    This is how I perform backup on machine A:
    ALLOCATE CHANNEL C1 TYPE DISK;
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    BACKUP INCREMENTAL LEVEL=0 CUMULATIVE format '/backup/level0_%u' BACKUP CURRENT CONTROLFILE format '/backup/control_primary' FORCE;
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    BACKUP ARCHIVELOG ALL format '/backup/archivelogs_%s_%t';
    On machine B, here is how I perform restore:
    SET DBID 1221334455;
    RESTORE CONTROLFILE FROM '/backup/control_primary';
    ALTER DATABASE MOUNT;
    RESTORE DATABASE VALIDATE;
    RESTORE DATABASE;
    Recover database;
    Thanks,

    You forgot to restore the spfile or pfile on the second node to go to nomount state.
    OR
    You can use RMAN Duplicate to do this.
    Regards
    Message was edited by:
    Singh

  • Time Machine backup/restore on iMac with SSD and HD...

    Time Machine backs up the SSD and HD on my iMac into one "sparse bundle" for the computer.  I need some direction on how to get to the HD backup in order to restore individual files and folders. 
    PLEASE do not give an answer like "Just enter Time Machine and click Restore."  I have been trying to get this to work for hours - if it was so easy, I would not be asking. (I don't mean to sound rude so please don't be offended.)
    Thanks for any help.

    Sorry, Bob, I see that I didn't say at the beginning of this discussion, but the SSD has all my applications and OS X system.  The purpose for the SSD is to run the system and apps faster, while having all files/documents on the slower and larger HD.
    So my home folder (my UserName) in the left panel is on the SSD.  I have no problem accessing the SSD backups in Time Machine.
    When I choose the MacHD in Time Machine, I cannot select a date from the timeline of backups on the far right because all the backups are grayed out (not available).  Choosing the SSD gives no access to the files from the separate HD.
    I also have a MacBook Pro.  It is backed up to the same Time Capsule using Time Machine and has its own separate "sparse bundle." But the iMac puts both of its separate drives into the same sparse bundle.  I asked the Apple Support person I spoke with the other day whether I should have separated them before doing the backup, but he said no - it is backed up correctly. 
    Does anybody out there know if Apple has any specific support articles about using the two separate drives on one computer, whether for backup and restore or for any other purposes? 

  • How do I restore 'network settings' with time machine?

    I messed with my with my wi-fi settings...having internet access problems...want to go back the way it was a few days ago (when it worked OK)...but on lion time machine, can't find systempreferences plist to restore (no User/Library/... any more). So how do I restore my network settings in system preferences? TIA

    to make your user library visible, in Finder hold down the option/alt key while selecting the Go menu item. Select Library.
    If you want to make your user library permanently visible, run the below command in Applications/Terminal.
    chflags nohidden ~/Library/
    You will need to do that after any updates.

  • How to restore system settings with Time machine?

    Is there a way to restore just system settings using my TM backups? The latest apple update killed all my settings and i'm hoping TM can help me get them back.

    your profile suggests your on 10.4.10 (while you're posting in the 10.6.x forum). have you tried installing the _*10.4.11 combo update*_ to see if that fixes things ?
    edited by the Jolly Green Giant (where Green stands for environmentally friendly)

  • Restoring factory settings with cd/dvd sharing

    Every time I try to restore it with cd/dvd sharing it doesn't work, the cd shows, I click it, and then it restarts but nothings different. Do you think if i got a superdrive it would be better?
    I've called 4-6 times about this issue but my 90 days past already so im on here. Does anyone else have this problem. When i tried a store bought cd (music) the cd just ejects. I dowloaded all of the cd/dvd stuff on both computers and everything goes great until it restarts.

    http://support.apple.com/kb/HT2129
    you need to use remote install , not disk sharing.

  • How do I restore email settings with Time Machine and Mountain Lion?

    Like so many others, I have tried to follow suggestions of going to Library/Preferences/com.apple.mail.plist.
    It does not exist. and it does not show up in any search. Here is a shot of my Finder... it's not there in Preferences.

    to make your user library visible, in Finder hold down the option/alt key while selecting the Go menu item. Select Library.
    If you want to make your user library permanently visible, run the below command in Applications/Terminal.
    chflags nohidden ~/Library/
    You will need to do that after any updates.

  • Backup/restore database with dump file

    Hi everybody,
    I would like to backup/restore my database with Oracle Utility commands(exp/imp) but I can only execute these commands in the machine where database server is being installed. When I use Oracle client to connect to DB server to execute these commands, DB server can not understand these commands.
    Is there any method to do this?
    Please help me.

    My workout for you is as follows (assuming, you configured tnsnames pointing to the listener concern with your database)...
    SQL> select * from example;
    ITEM STORE STARTDATE ENDDATE
    1 10 01-JAN-06 19-JAN-06
    1 10 03-JAN-06 20-JAN-06
    1 10 01-FEB-06 20-FEB-06
    2 10 01-JAN-06 15-JAN-06
    SQL>
    C:\>exp scott/[email protected] tables=example query=\"where item=1\" file=example.dmp
    Export: Release 9.2.0.1.0 - Production on Fri Dec 15 08:06:16 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses US7ASCII character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table EXAMPLE 3 rows exported
    Export terminated successfully without warnings.
    C:\>
    -aijaz

  • By mistake I ran Windows Backup/Restore with SAP services on  URGENT

    Dear all
    What I did by mistake I ran Windows Backup/Restore with SAP services on (I stopped win sql services and SAP instance).
    After restore under same circumstances I could not start istance (actually it started but after connect with saplogon dispetcher stopped).
    When trying to restore 2nd time(with deleted AFGDATA1,AFGDATA2, AFGDATA3 , AFGLOG and usr under c:\ I realized I can not delete C:/usr directory (with subdrectories) as SAP services were locking some files. (i stopped services and deleted those files I have them in rcycle bin),
    Can I somehow restore the system

    Hello Tina,
    - what is the status of SAP service? can you start it? If not, what is written in application event log?
    - If service can be started, are you able to start SAP system? If not, what is written in sapstartsrv.log, dev_disp and dev_w0, could you put output of them?
    - which files exactly have you deleted?
    I afraid that the locked files were not backup and they will not be restored in this case. Further steps depend on what the files you have deleted.

  • SAP SQL System Copy backup restore method with ADS(Adobe document services)

    Hello all,
    i´m preparing a system copy with ERP 6.0 in windows and SQL server with ADS.
    I have a doubt, can i do the System Copy backup/restore method with ADS??
    or the only method that works is with system export/import in all instances??
    Thank you

    Hi Oscar,
    Is your ADS system separate from your ERP system, or are they on the same server?
    In any case, you can use backup/restore to copy a Java system, but you must also make a system export/import for the Java server components.  The two work in conjunction, so that the export tool doesn't export your whole database, only the components maintained in the filesystem.  If you select the database detach/attach or backup/restore method in the tool when going against the Java system, it will prompt you at the right point in the process to make your Java export as well.
    The caveat is that the Java export requires downtime, so it isn't possible to copy a Java system without impacting system availability, as it is with a pure ABAP system.
    Best regards,
    Matt

  • I have a new SIM/service and want to transfer all my contacts from the current 4S to the new SIM in my old 3GS.  I do NOT want to backup/restore the entire phone contents (iTunes or iCloud), JUST the contacts.  How?

    Current phone 4S with service from one provider.  Also have a new SIM with another provider, and want to copy my contacts from the 4S across to my old 3GS which I will be using for a bit as an alternative.  Definitely do not want anything except the contacts copied across so a full backup/restore is NOT what I'm after, and I can't see (in the iTunes backup) how to only do the contacts.

    Sorry, my bungle - from what devices I am used to - these Apple things still have me confused at times.
    The core requirement is the same - to get the contacts from the 4S onto the 3GS without backing up the whole device/apps etc.
    And a second part of that is how to get the contacts onto a SIM for a device that DOES store them there.  No doubt that will be a problem as it only has name/number combos, not all the fruit the iPhone keeps under a contact.  Maybe it can't done.  A simple export to CSV or something that could be edited would suffcie if there were an import tool to get it onto the SIM in the simpler format.

  • I am getting a "not delivered" when I try to send a photo from my Ipad or iPhone via iMessage. I can receive photos in iMessage and I can send and receive photos other than with iMessage. I have tried restoring factory settings etc but no luck.

    I am getting a "not delivered" when I try to send a photo from my Ipad or iPhone via iMessage. I can receive photos in iMessage and I can send and receive photos other than with iMessage. I have tried restoring factory settings etc but no luck. Is anyone else having this problem please?

    I've been having this problem too, but here's the catch: originally it was only with my dad, and only sometimes.  Now it's dad and husband, every time!  Pix go through, via imessage, to everyone else, and they go through to dad/husband if I "send as text" after it fails. 
    And the other annoying thing- the blue bar will run all the way, and it will say "delivered".  So I close out of imessage. When I reopen it again, the "delivered" has changed to "not delivered" with the red exclamation point.  I just googled "imessage not sending photos" and founds TONS of people with the same problem, but no solutions.  (I have rebooted phone, reset network settings, with no luck.  I even had to backup/delete/restore my whole phone the other day for a different reason, and hoped that would fix it, but now it won't send to my dad OR my husband (who is on not just the same carrier, but the same family plan as me)

  • Backup / Restore: Restore only settings of a certain App

    Hi,
    I broke my BBM message log. I guess it is stores at the Backups inside the "Apps" section. But the Backup File is about 1 Week old. Or is it inside the "Settings" section?
    How to restore only the files for the BBM App?
    Would be a mess if it would also replace the current data files of all the other Applications. The *.tar Files inside the backup file seems to be in a special format.
    Best regards,
    Helex

    Hello,
    The very granular backup/restore methodology from the legacy Desktop Software does not exist in LINK. Rather, just the three levels...this thread had a discussion, with information from a BTA, about what data is in which of the three:
    http://supportforums.blackberry.com/t5/BlackBerry-Z10/App-Data/td-p/2464513
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Contacts deleting by themselves and iPhone needs a full backup restore after refusing to sync with iTunes. - Pls Help!

    I have had my new iPhone 5s since the middle of December 2013 and I really enjoy it, however, I'm finding the iOS a little unstable.
    I backup often - whether to iCloud or to my iMac at my office or to my Acer Windows 7 based Notebook at home, and I have had to do a full backup restore of my phone software after it suddenly refused to sync with iTunes. The only option open to me was "Restore iPhone" which also is a nuisance and takes a little while if you have a lot of content on your phone. I've had to do this 3 times now and it's getting on my nerves!
    Also, as I type this, my contacts are suddenly removing themselves from my phone book. I discovered this as I was going through my Whatsapp messages when I noticed a few numbers in my recent chats that didn't have names or contact pictures. When I scrolled to the top of the message, I noticed that the "add contact" detail was suddenly available. I immediately checked my phone book and noticed that those contacts are no longer available. A lot of my numbers are suddenly showing up like this within the last hour and I haven't changed any settings at all. I back up to my notebook and iCloud once a week. This problem is a first for me  as well.
    I must point out that I never had these issues with my iPhone 3GS which was only becoming cumbersome due to its outdated OS and because of its processing speed.
    Will I need to wait for the next IOS Update to solve this problem, or will I have to find an alternative solution?
    Any advice you have to offer would be most welcome.

    Simplify your question,will you? I have trouble in reading such a long English article.

  • How can i download old settings with firefox sync ? i formatted my computer thinking that the data will be restore on login , but it's only letting my sync firefox with mobile device , can someonr please help my ?

    how can i download old settings with firefox sync ? i formatted my computer thinking that the data will be restore on login , but it's only letting my sync firefox with mobile device , can someonr please help my ?

    '''Did you backup whatever bookmarks you did have on the computer ? '''
    Remember any restoring of bookmarks overwrites whatever he current set is, and you may not want to loose them.
    Even if up until now you have not made any backups of Desktop bookmarks Firefox will have backed up some of them into sets of daily bookmark backups. Once you have backed up your current set you could look at what it has by restoring those bookmarks, you may find one of those sets is fairly complete.
    By the way if you look at the profile files and folders that you should now have on the desktop you should see it contains a bookmarks backup folder, the size of the files within should indicate whether they contain anything.
    You need to go into the bookmarks library and try the restore option. Backup each set that you look at if it has anything of use in it, before trying the next set. With look one of those will be a fairly complete set of bookmarks.
    * USE '''Show All Bookmarks -> Import and Backup -> Restore '''
    ** see [[Restore bookmarks from backup or move them to another computer#w_restoring-from-backups]]_restoring-from-backups
    I do not use Firefox on mobiles, but before you try anything further you do need to backup the desktop bookmarks and learn what existing backups you have. Unless you master that you are in continual danger of overwriting and loosing bookmarks.
    Presumably you have already found this listing of help articles for mobiles
    * [/products/mobile/bookmarks]

Maybe you are looking for