Backing up and restoring Keychain file

How can I backup the Keychain file and also load it on another mac?
Thanks.

We are talking about retrieving information from the copied keychain when access to the original machine is not possible
You didn't say that in your previous posts (or I misunderstood what you did say). For this new situation, it seems trivial to create a new admin user account, using the same username/password combo as on the old machine's account, log into it, and replace the new login.keychain with the saved one, log out and back in. and everything in the keychain should be available.
It would seem that pen and paper might be the most reliable way after all of retaining sensitive passwords
I have a simple AppleScript which I use to generate a list containing the name, account username, and password for each key in my login.keychain. I use this list as a backup for all generic and webpage keys. You'll have to edit the resulting text file "Passwords" (saved to the desktop) to eliminate the garbage characters that are contained within. No need for pen and paper. Paste the below into Script Editor, run it, and click appropriately on the dialog boxes that pop up. It'll take awhile during the first pass, but subsequent runs only pop up the dialog boxes on new item. HTH
<script>
set osXKeychainScriptingPath to ¬
(path to scripting additions from system domain as Unicode text) ¬
& "Keychain Scripting.app:" -- one line
set theSecuridPIN to {}
tell application "Keychain Scripting" to launch
tell application "Keychain Access" to launch
using terms from application "Keychain Scripting"
tell application osXKeychainScriptingPath
set KeyList to every Internet key of current keychain
repeat with aKey in KeyList
set theSecuridPIN to theSecuridPIN & (name of aKey) & tab ¬
& (account of aKey) & tab & (password of aKey) & return
end repeat
end tell
end using terms from
tell application "Keychain Scripting" to quit
tell application "Keychain Access" to quit
tell application "Finder"
open for access file (((path to desktop folder) as text) & "Passwords") with write permission
set theFile to result
write theSecuridPIN to theFile
close access theFile
end tell
<script>
G4 450 MP Gigabit   Mac OS X (10.4.9)  

Similar Messages

  • Backing up and restoring media files

    Can anyone help me with the issue of seemingly not being able to backup my entire iphone (including photos, apps and music) and then restoring it all to a new iphone 4s?
    I was contacted recently by my network provider to let me know I was elligible for an upgrade, which I accepted. They then sent me my new phone a day later, and I encountered the issue of what to do with everything on my 'now old' phone.
    I spoke to my provider, and they advised me that to keep everything on my phone, all I would need to do would be to back-up my phone in itunes on my laptop, plug my new phone in and 'restore from back-up' - I made it perfectly clear that I had no media in my itunes, as I had been through a few different laptops since the time I originally bought my phone nearly two years ago. They made it perfectly clear that that wouldn't be an issue, and all media from my old phone would be backed-up to my computer, then restored to my new phone.
    I have done exactly what I was advised to do, and alas, only my e-mails, contacts, messages and call log have been transferred to my new phone. Any help?
    Many thanks.

    It should, but if it doesn't you can always transfer them manually.

  • I generally back up and restore my iphone every week... and this time i backed it up..and i can see that backup time and file size.. now.. when i try to restore my iphone.. i select the back up and now it is taking forever to restore. help me

    i generally back up and restore my phone every week.. just that i dont have any problem with the network issues. !!
    today at 00:46 1st june.. i backed up my iphone and it was perfect...
    when i try to restore it.. it is taking 15+ hours .. and that time stays like that for almost 3 hours...  it does not happen.
    i even called the apple help center. and they said me to install as a new device... and when i said what wil happen to my messages.. they say .. they wont stay.. and wil be deleted.. and all my apps i need to download again..
    but earlier i din need to do any of it.!!! it worked really fine .!!!
    please help me..!!! i got some important details in this back up.... please help me.!!!

    Once in a while the restore process seems to mess up.  What I don't understand is why you would perform a weekly restore.
    At any rate, if you must restore, perform a device reset (settings>general>reset) and then you will have the opportunity to restore from iCloud.  Restore a device whenever it no longer works correctly, not just as a matter of maintenance.  If it ain't broke, don't fix it.

  • Lost bookmarks;tried back up and restoreing yet didnt find any files, it says unable to process. could you please help with this promlem?

    my bookmaks are disappeared yesterday all of sudden.tried to get back ups by doing restoring from import and back up colum, yet nothing can be processed.

    Rather late to mention that it is good practice to keep backups, for instance by following
    * [[backing up and restoring bookmarks]]
    * and although it must not be regarded as a backup method consider using [[what is firerfox sync|sync]] that is intended to allow you to sync two devices, you then effectivly have a backup on another device.
    Make a manual backup of whatever you have now and store it somewhere safe, not in firefox profile or program paths - maybe use the Windows Desktop location. Note unfortunatly the restore process overwrites existing bookmarks.
    See also http://kb.mozillazine.org/Lost_bookmarks that article goes into a bit more depth, and is relatively accurate still. (It tends to refer to Firefox 3, there are now more copies of bookmark backups by default for instance in Firefox 7)

  • Backing up and restoring site definitions

    Losing your site definitions in Dreamweaver can be a disaster, but it does happen sometimes. The best way to prepare for such an eventuality is to back up your site definitions on a regular basis.
    Creating a backup
    You can back up all your site definitions in a single operation by selecting Site > Manage Sites. In the dialog box that opens, Shift-click to select all site names, and then click Export.
    In Dreamweaver CS6, the Manage Sites dialog box looks like this:
    In earlier versions of Dreamweaver, it looks like this:
    Dreamweaver asks if you want to include passwords and login details (this is the default option). Whichever option you choose will be applied to all sites, so click Cancel if you want to treat some sites separately, and export your sites in two sets by using Ctrl/Cmd-click to select them.
    When you click OK, Dreamweaver asks where you want to export the definitions. Navigate to a suitable location, leave the File name field unchanged, and click Save. Although only one site name is listed in the File name field, Dreamweaver exports all the site definitions as .ste files in a single operation.
    NOTE: This process backs up only the details of your sites, such as the location of the root folder, FTP details, and so on. It does not back up the actual files in your site, such as .html (or .php, .asp, .cfm) files, images, and style sheets. It's a good idea to use your normal file backup routine on your actual files from time to time, as well as exporting the site definitions.
    Restoring site definitions
    In the event of losing your site definitions in Dreamweaver or moving to a new computer, open the Manage Sites dialog box, and use the Import button to navigate to your backup .ste files.
    What if I don't have a backup?
    Often, if you don't have a backup of .ste files, you need to go through the whole process of re-entering the details for each site manually.
    However, you might be able to restore them by using a restore point on Windows or Time Machine in Mac OS X.
    On Windows, the site definitions for Dreamweaver CS6 are stored in the Windows Registry at HKEY_CURRENT_USER\Software\Adobe\Common\12.0\Sites.
    In Mac OS X, they are at Macintosh HD:<username>:Library:Application Support:Adobe:Common:12.0:Sites:Site Prefs.
    In recent versions of Mac OS X, the Library folder is hidden. In the Mac Finder, select Go > Go to Folder, type ~/Library in the search field, and click Go.
    Dreamweaver CS5.5 site definitions are in the same location, except use 11.5 instead of 12.0. The numbers for CS4 and CS3 are 10 and 9 (without a decimal fraction) respectively. For earlier versions of Dreamweaver, substitute Macromedia for Adobe, and adjust the number accordingly.
    If you don't have a backup of the actual files on your site, download the files from your remote server.

    Hello,
    We are running iPlanet 5.2 Messaging Server and need
    to migrate to another (duplicate) 5.2 Messaging
    Server. We have all the software installed and the
    LDAP user accounts created. Now we just need to move
    the existing mail from one server to the other.
    I found the Backing Up and Restoring the Message
    Store section in the Admin Guide says to back up and
    restore your data, Messaging Server provides the
    imsbackup and imsrestore utilities.
    However I am wondering about the Queue?
    Under <instance>/imta/queue
    What is the difference between the Message Store
    and the Queue? The Message Store is where messages get delivered to, so you can read them.'
    The queue is where messages are temporarily stored, pending delivery to wherever they go.
    You can use tar, cpio, or what have you for the queue. Stop the server first. . .
    You then just restore the files to the new server. No need to restart or anything like that. Just dump the files in, and run
    imsimta cache -sync
    to tell the MTA to re-read the queue.
    Can I just backup and restore the
    Queue using tar or cpio?
    Thanks in advance for any advice.
    Regards,
    Tim

  • Backing Up and Restoring the Message Store v.s. the queue

    Hello,
    We are running iPlanet 5.2 Messaging Server and need to migrate to another (duplicate) 5.2 Messaging Server. We have all the software installed and the LDAP user accounts created. Now we just need to move the existing mail from one server to the other.
    I found the Backing Up and Restoring the Message Store section in the Admin Guide says to back up and restore your data, Messaging Server provides the imsbackup and imsrestore utilities.
    However I am wondering about the Queue?
    Under <instance>/imta/queue
    What is the difference between the Message Store
    and the Queue? Can I just backup and restore the Queue using tar or cpio?
    Thanks in advance for any advice.
    Regards,
    Tim

    Hello,
    We are running iPlanet 5.2 Messaging Server and need
    to migrate to another (duplicate) 5.2 Messaging
    Server. We have all the software installed and the
    LDAP user accounts created. Now we just need to move
    the existing mail from one server to the other.
    I found the Backing Up and Restoring the Message
    Store section in the Admin Guide says to back up and
    restore your data, Messaging Server provides the
    imsbackup and imsrestore utilities.
    However I am wondering about the Queue?
    Under <instance>/imta/queue
    What is the difference between the Message Store
    and the Queue? The Message Store is where messages get delivered to, so you can read them.'
    The queue is where messages are temporarily stored, pending delivery to wherever they go.
    You can use tar, cpio, or what have you for the queue. Stop the server first. . .
    You then just restore the files to the new server. No need to restart or anything like that. Just dump the files in, and run
    imsimta cache -sync
    to tell the MTA to re-read the queue.
    Can I just backup and restore the
    Queue using tar or cpio?
    Thanks in advance for any advice.
    Regards,
    Tim

  • Hello, i have a first generation ipod and i lost the pin, i followed the instruction to back up and restore factory settings but in the middle of the process an unknown error occurred

    hello, i have a first generation ipod and i lost the pin, i followed the instruction to back up and restore factory settings but in the middle of the process an unknown error occurred. how can i get my ipod working again with my backup files. please help

    What was the complete wording of the error message? Usually an error number is also given.
    Maybe:
    ERROR (1)
    - Place the iPod in DFU mode and then restore
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Try on another computer
    - Try another cable           
    - Also, confirm your security software and settings are allowing communication between your device and update servers.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar     

  • I am looking for software to store photos with.  I am not a fancy photographer, and really am just looking for the digital version of a photo album. iPhoto is not cutting it, mainly because it does not back up and restore easily on an external HD.

    I am looking for software to store photos with.  I am not a fancy photographer, and really am just looking for the digital version of a photo album. iPhoto is not cutting it, mainly because it does not back up and restore easily on an external HD.

    That's how Time Machine and iPhoto now work.  Restore the library to one of the external HDs, check it for the photos you want, export them to the boot drive and delete the restored library.
    If you know the file name of the photo you're looking for you can search for them in the TM backup using Find Any File.
    My workflow allows me to do that:
    1 - upload new photos to a folder on the Desktop.
    2 - name the folder to represent the contents and date: 01/03/10-Toads Bday
    3 - use a file renaming app to sequentially rename the photos in the folder to: 2010-01-03-Toads Bday-001.JPG,  -002,JPG, -003.JPG,  etc.
    4 - import the folder into iPhoto creating an Event with the same title as the folder.
    Now I can search for those file by file name with any app of my choosing.

  • Having trouble sync'ing. Receiving Overcapacity error on my 64GB iPhone 5. Backed up and restored but still having sync issues.

    I have an iPHone 5 64GB with iTunes 11 installed on an 2 yr old HP laptop running Windows 7. I am having sync'ing issues. I am receiving an overcapacity error I have not seen before even though I can manually remove audiobooks I have previously loaded to get the overcapacity down below the available 64GB limit. I have removed most of them now and can get the sync to begin. Not sure if it will actually complete. But now I do not have but a relatively few audio books loaded. I have backed up and restored to see it that helps but am still getting the same overcapacity error. Seems whatever I had included was doubled in an "other" category. Also, in the recent upgrade to iTunes, it takes forever to sync when I change content. Sync'ing takes a lot longer than before. Has anyone else experienced similar performance issues.

    Lawrence Finch has previously provided the following helpful info...
    "Other" data is real data that you put on your phone by using the built in apps. It is not music, not videos, not pictures and not App Store app data. It is "OTHER" meaning everything that does not fall into these categories. Such as:
    email messages and attachments
    Reminders
    Calendar entries
    Contacts
    Text messages   (*** this can take up a lot of space)
    MMS messages and attachments
    Genius data
    Music cover art
    Operating system settings
    Safari cache
    bookmarks
    Game Center status
    Music catalog
    If you have a lot of text messages stored, that can make "Other" very large.  Another problem area is corrupted files.  When app and data files become corrupted, they may end up in "Other".  To fix that, perform a restore from a recent backup.  That prevents corrupt files from showing up.

  • Back up and Restore iTunes

    Hi all. I am having problems with my windows PC, i am going to have to wipe the hard drive and reinstall windows.
    What is the best way to back up and restore iTunes?
    I want to keep all my playlists, music data, such as number of times player etc and which songs are ticked.
    I also have a iphone and a ipad, is there anyway to transfer their data and backups?
    I don't want the trouble of re-syncing the iphone and ipad apps/music etc.
    My library is about 40gb. In the past I have simply copied and pasted the itunes folder (on a portable harddrive), but it never remembers the data listed above and I have always had to re-sync all of my music and apps to iphone and ipad, which are full up with 32gb and would take a considerable amount of time.
    Is there any way to do this so my iPhone and iPad think itunes is exactly the same and won't require (wiping and) re-syncing/re-authorising and will carry on as normal.
    I would be greatful for any help. Thank you.

    Copying and later restoring the entire iTunes folder should have you covered. I suspect you did something wrong with the restore phase on your previous attempts.
    All your media should be inside your iTunes\iTunes Media folder. If that is not the case then you should consolidate the library. File > Library > Organize Library > Consolidate files. If the option is available you should also use File > Library > Organize Library > Rearrange files in the folder "iTunes Media". If your media folder isn't a subfolder of the main iTunes library folder then see this post.
    Backup the library with UserTip. Before you wipe the hard drive deauthorize the computer and make one final update of the backup.
    Once you have rebuilt your computer install SyncToy and use the same process to clone the backup copy of your library back into the Music folder of your new profile as ...<User's Music>\iTunes. Then install iTunes and authorize the install of the operating system to your account. Your devices can now be connected and backed up on the new system. They will sync without losing any data.
    Keep using SyncToy periodically to keep your backup up to date.
    tt2

  • I backed up and restored Firefox but my passwords will not restore

    I have followed the instructions on how to back up and restore my Firefox profile (which I had to do after a full system restore), however, my passwords have not been restored. My bookmarks are all there, but the "saved passwords" area is totally empty. Is there any way I can restore them?

    Hi leece, did your backup include these files:
    * logins.json (current file format)
    * signons.sqlite (older file format)
    * key3.db (needed <s>if you set a master password</s> <u>in all cases</u>)

  • How To: Best way to Back Up and Restore many DBs ?

    Hi Forum,
    I have 200 databases (SharePoint databases) that are running on one single instance e.g. (Server1\Instance1), and the names of the databases are e.g.: (DB1, DB2, DB3....DB200).
    I want to migrate all these 200 databases to another instance e.g. (Server2\Instance2).
    Of course, I can use the SSMS to Back Up and Restore the databases, But, For 200 databases, This is quite impractical.
    Therefore, I have two questions:
    1) Which option is the safest way to Back Up 200 databases which their sizes combined together could be around 80 GB? Using T-SQL or Maintenance Plan? Obviously, I want a process that doesn't hang or fail.
    2) I found the script below on: (http://www.mssqltips.com/sqlservertip/1070/simple-script-to-backup-all-sql-server-databases/) - Is it excellent script? Any better script?, Also, Could you please tell me how to keep the exact name of the databases
    without any changes at all (Without appending date nor time)?
    DECLARE @name VARCHAR(50) -- database name  
    DECLARE @path VARCHAR(256) -- path for backup files  
    DECLARE @fileName VARCHAR(256) -- filename for backup  
    DECLARE @fileDate VARCHAR(20) -- used for file name
    -- Back Up Directory
    SET @path = 'E:\Backup\'  
    -- Filename format
    SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112) 
    DECLARE db_cursor CURSOR FOR  
    SELECT name 
    FROM master.dbo.sysdatabases 
    WHERE name NOT IN ('master','model','msdb','tempdb')  -- exclude these databases
    OPEN db_cursor   
    FETCH NEXT FROM db_cursor INTO @name   
    WHILE @@FETCH_STATUS = 0   
    BEGIN   
           SET @fileName = @path + @name + '_' + @fileDate + '.BAK'  
           BACKUP DATABASE @name TO DISK = @fileName  
           FETCH NEXT FROM db_cursor INTO @name   
    END   
    CLOSE db_cursor   
    DEALLOCATE db_cursor
    3) Any script for restoring all these databases from the Backup directory to the new SQL Server instance (Server2\Instance2) ?

    You would have to develop the script for a single database move, test it thoroughly, then write the dynamic SQL WHILE loop.
    At any rate, this appears like a good task for an experienced DBA
    and not for a Data Architect.
    Here is another example for a dynamic SQL WHILE loop:
    http://www.sqlusa.com/bestpractices2008/rebuild-all-indexes/
    PowerShell is another alternative:
    Copy user databases to a different server with PowerShell
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Satellite P750/P755 - Back Up And Restore Windows 7

    Hi,
    My harddrive is about to fail on my Windows 7 Satellite P750; I have been getting warnings of an impending failure for a month now. I have purchased a new harddrive and it is ready to go, however I am unable to create a backup and restore point. I am getting an error 0x81000037: "Shadow files cannot be read".
    Let me give you some of the history of my machine before getting to the issue. Windows 7 came preinstalled on this machine. About a year ago I created a new partition and installed Linux. Linux then took over the boot responsibilities. A couple of weeks ago I deleted the Linux partition. This gave me a problem as the computer was unable to boot. Fortunately I had recently created a back up and restore point, and during the process I was asked if I wanted to create a Windows 7 Home Premium Repair Disc. I was able to use this CD to access a command line tool which made the machine bootable again.
    However, I no longer have a hidden boot partition on my machine (at least according to the Disk Management snap-in I don't). I am now getting the above error when I attempt to create a new backup and restore point. I no longer have a copy of the previous back up and restore point (I deleted it to make room for a new one).
    From my research, apparently one of the possible causes of the error 0x81000037 is related to the hidden boot partition size. Since i do not have the hidden boot partition I fear that this could be the cause.
    There are other possible reasons for this error. For example a virus which anti-virus refuses to allow access to during the back up and restore partition, and junction points in the drives to be backed up which are mounted volumes. I have run a full scan on my computer and cannot find any threats. I have checked my junction points (of which there are a few) and none are mounted drives.
    This leads me to suspect that the lack of a boot partition is the problem. I have seen some people in forums suggest that it is best to back up all my data in the traditional manner (already done, since you ask), install the new harddrive and then install Windows 7 again.
    So finally, we get to my question!
    As Windows 7 came installed on my machine, I believe that I do not have the disks to reinstall it on a new harddrive. Is this correct? Am I able to obtain a copy?
    To be honest I wouldn't mind reinstalling Windows on a new harddrive, rather than using a back up and restore point. I have a LOT of programs and rubbish which have accumulated in this one over the last (almost) 3 years.
    Thanks for your patience. If there are some specifics which would be helpful, but which I have left out (I am sure there are) please let me know.

    >As Windows 7 came installed on my machine, I believe that I do not have the disks to reinstall it on a new harddrive. Is this correct? Am I able to obtain a copy?
    You did not get any disks because Toshiba provides own recovery disk creator software which is always preinstalled on the new notebooks.
    This recovery disk or media creator tool creates Recovery disk which can be used to recover the notebook.
    It was a big mistake not to create such disk however, you have a possibility to order such disk here:
    http://backupmedia.toshiba.eu/landing.aspx

  • Backing up and restoring X2 iphones - having conflict issues

    Hi,
          My wife and I have been using the 3gs for 2 years and have now upgraded ;-) I pluged mine into itunes and backed it up, then pluged in my new one and restored and it all works fine.
    However when I tried to backup my wifes phone and then restored -  it just restored as mine again, so we had 2 new phones with all my details on it!!
    So I restored to factory setting on the iphone 4s
    I have tried uninstalling Itunes and reinstalling but it still has my phones info on it.
    Please can you tell me how to back up and restore my wire iphone and for it not to keep using my phones details ??
    Thanks Chris.

    As long as you are NOT running a production application on Oracle's Hosted site.. You can't really run a scheduler job, since it would usually export stuff to your local server, but you don't have access to that on Oracle's site.. Unless you just want to build a form to output data from your tables, that would push the data down to your workstation, there is no other rel means.. Other hosting companies will allow you to use Sql Developer and such, but then again you are paying to use their site..
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.

  • HT201269 Transferred from iPhone 3GS to 4. Backed up and restored, perfect. New phone is connected to our wireless but is still giving me the "no service" in the upper left corner. Help????

    Transferred from iPhone 3GS to 4. Backed up and restored smoothly. Still getting a "no service" message in the upper left corner of new phone. Help?.....

    Sounds like your iPhone was hacked to unlock and now updating locks back to the original carrier.
    Where did you get the iPhone?

Maybe you are looking for