Automatic backup not working

My phone use to back up automatically but will not do so anymore. I have plenty of storage, my phone is locked, charging, and connected to wifi. What gives?

Hi Brianab0421,
If you are having issues with your iPhone not backing up automatically you may want to try a couple of things to troubleshoot.
First, I would try restarting the iPhone -
Turn your iOS device off and on (restart) and reset
http://support.apple.com/kb/HT1430
If the issue is still present, you may want to restore the iPhone as a new device -
iOS: How to back up your data and set up your device as a new device
http://support.apple.com/kb/HT4137
Thanks for using Apple Support Communities.
Best,
Brett L

Similar Messages

  • Time machine automatic backup not working.

    I have just setup my time machine backup and it works fine when I initiate manual backups. but i have noticed that, after every hour auto backup doesn't start. i can always do a manual backup, but for some reason next backup time is increased by an hour every time for auto backups. there are no error messages. Can you please help me with this. I am on os X mavericks.
    I also checked the system logs after seeing some other topics and I only see messages about manually started backups there.

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the word "Starting" (without the quotes.) You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard."
    Each message in the log begins with the date and time when it was entered. Note the timestamp of the last "Starting" message that corresponds to the beginning of an an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ If all you see are messages that contain the word "Starting," you didn't clear the text field.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. Don't post more than is requested.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Automatic Backup not working like it should

    Is anyone else having any problems with their iDevice not doing the automatic iCloud backups?  Ever since I installed iOS 5, I have had to run the iCloud backup manually and its a little concerning that it wont run automatically.

    Yep same here no indication that any settings are incorrect, plugged the phone in, made sure wi-fi is connected lock screen on and........nothing. Manual only. Too wierd.
    iPhone 4, Lion

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • Why is Time machine backup not working after Mavericks upgrade?

    Why is Time machine backup not working after Mavericks upgrade?

    I had the same problem due to the Fire Wire port.  Apple tested it told me it is OK!, I tried a new cable, and have tested both ports on my back up device.  I find it strange that as soon as I installed Mavericks.  The drive does work using USB.  It could be a coincidence, I don't absolutely know at this point, my back up drive ports could stop working, but I doubt it!

  • Automatic Downloads not working in ios7

    After updating to ios 7 automatic downloads not working. It is enabled in settings but new content purchased in iTunes store on MacBook or iMac not automatically downloading onto iPhone. Any idea why? I have checked and "Automatic Downloads" is turned on in Settings > iTunes & App Store...

    I had the same problem with no automatic downloads of purchased Apps ...PLUS... I still recieved message "to use push notifications connect to itunes"
    I found solution worked for me:
    1- go to "Icloud keychain".  (Under settings----> Icloud).  go there and ENABLE it.  It will ask for passcode and so on.  so once enabled
    2- restart your phone (normal power off)
    3- reactivate imessage and facetime. (need a few minutes to reactivate)
    4- ALL WORKING  ;-)
    (Source is: https://discussions.apple.com/thread/3394511?start=30&tstart=0)
    Hope it helps You too...

  • Backup not working for File Server

    We have System Center 2012 Sp1 installed with Agent Version : 4.1.3453.0
    We are protecting File Server which is member in DFS. We have Volume of More than 2TB and which is spanned accross multiple VHDs.
    I am facing problem with Backup not working and DPMRA service is getting stopped unexpectedly. When i try to create recovery point manually i don't get option to syncrhonize the changes. 1st and 3rd option is geryed out.
    I am getting Error on DPM as Affected area:    E:\
    Description:    The replica of Volume E:\ on<ServerName> is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. You can recover data
    from existing recovery points, but new recovery points cannot be created until the replica is consistent.
    For SharePoint farm, recovery points will continue getting created with the databases that are consistent. To backup inconsistent databases, run a consistency check on the farm. (ID 3106)
        DPM failed to communicate with the protection agent on <Server> because the agent is not responding. (ID 43 Details: Internal error code: 0x8099090E)
        More information
    Recommended action:    1) Check recent records from the DPMRA source in the Application Event Log on FUSE.win2k.internal to find out why the agent failed to respond.
    2) Make sure that the DPM server is remotely accessible from <Server>
    3) If a firewall is enabled on the DPM server, make sure that it is not blocking requests from <Server>
    4) Restart the DPM Protection Agent service on <Server>. If the service fails to start, re-install the protection agent.
        Synchronize with consistency check.
        Run a synchronization job with consistency check...
    Resolution:    To dismiss the alert, click below
        Inactivate
    I have Re-installed Agent but it is not helping.
    I have Other Volume labeled as F: and sized at 600 GB. Backup of that Volume is working fine for Same server.
    Please Suggest how to troubleshoot.
    Thanks in Advance.
    Swapnil
    Thanks, Swapnil Prajapati

    HI Chris,
    Sharing files using Bluetooth
    To share files using Bluetooth, you first need to make sure Bluetooth is turned on, and then use Bluetooth File Exchange to send a file.
    To turn on Bluetooth:
    Choose Apple menu > System Preferences and click Bluetooth.
    Select the On checkbox. To allow other Bluetooth enabled devices to “discover” your computer and send files, also select the Discoverable checkbox.
    Select “Show Bluetooth status in the menu bar” so you can quickly send files and perform other actions using the Bluetooth status menu in the menu bar.
    To send files using Bluetooth:
    Choose Send File from the Bluetooth status menu in the menu bar.
    If the Bluetooth menu isn’t visible, choose Apple menu > System Preferences, click Bluetooth, and select “Show Bluetooth status in the menu bar.”
    In the window that appears, select the file you want to send and click Send.
    Select the device you want to send the file to and click Send.
    If you don’t see the device you want to send the file to, make sure the device has Bluetooth turned on and is discoverable.
    You do not need File Sharing turned on for Bluetooth technology.
    Another way to share files between two Macs is How to use Firewire Target Disk Mode
    Carolyn

  • Why does power nap time machine backup not work on my August 2012 macbook pro retina?

    Hello. I got a MacBook Pro with retina display in August of this year 2012. I have done the SMC ? firmware update and I have 10.8.2 installed on my machine. Power nap still doesn't seem to work. I have the button in energy saver preferences and I have clicked it so it looks like power nap should work. When I am running Time Machine backup with the time capsule and I close the lid (plugged into power) it appears that no progress is made when I reopen the lid. I have closed the lid with activity monitor running and with network displayed. When I reopen the lid it may take up to one minutes to come out of sleep. When it does come out  of sleep I can see that there has been no network traffic.  Eventually, time machine backup resumes and I can see several megabytes per second. When I closed the lid overnight, just to make sure backup didn't restart after lid closing, I saw that no progress had been made in backup when I reopened the lid.
    What options are left if I already have 10.8.2 and I have done the required firmware?  One person has mentioned a clean install but I really don't like to have to reenter all the different passwords and all the different preferences again unless that's absolutely necessary. Are there any other options left to try before a clean install?
    One other bit of information.  I have filevault turned on; however, it looks like others have a working power nap even with file vault enabled.  If this is not an option, the power nap button should be grayed out when the machine is in filevault.
    Thank you for any help.

    Yeah I still have the same problem BTW; it still does not work.
    The second I open the lid and take it out of sleep mode, it starts to backup automagically, but when it's sleeping EVEN when it's connected to AC power, TM backups do NOT work to my OS X Server. 
    I don't understand what the problem is here.
    I didn't before but I do have FileVault turned on now -- should that make a difference?
    In either situation it didn't work, but now that I think about it, I could understand why it wouldn't backup while asleep.  Apparently the encrypted volume will stay encrypted during sleep and even at the lock screen; it's not until you open the lid and log in from the lock screen that it will unlock the encrypted boot volume.
    But even still, I did *not* have FV turned on before, and this still did not work.
    Is there some third party solution that can do what I want this to do?
    Here's my use case:
    1.) I have a mac mini at home that I use when I'm at home; it runs OS X server.app (bought and paid for) and has TM server turned on.
    2.) I have a laptop that I mainly use at work and I don't use at all when I come home (ie. when I'm ready to head home for the day I close the lid and don't open it until I'm back at work the next day, but the laptop does come home with me every day).
    What I want to have happen is this:
    1.) The minute my laptop enters my home wifi lan (even though it's still asleep with lid closed) I want it to automatically backup the boot drive.
    I thought that's what Power Nap was supposed to do, but then I found out that in order for this to work, you have to be connected to AC power; so then I tried that -- ie. every day I come home, I put my laptop in a docking station that has AC power, but TM backups while lid closed / sleeping STILL do not occur!
    Thanks for your help everyone...Looking forward to a solution that works.
    EDIT:
    I found this thread:
    https://discussions.apple.com/thread/4158709
    "It looks like Power Nap doesn't perform Time Capsule backups when the MacBook Air screen is closed."
    So apparently that is yet *another* requirement to get powernap working.  The lid can not be closed. 
    What is the difference between sleep with lid open and sleep with lid closed!?

  • Time machine backup not working right!

    I am running Snow Leopard on a reasonably new imac 20".
    I have been having problems getting my computer to backup to our timecapule. We have it programmed to automatically backup, but it is coming up with the error message: the backup was not performed because an error occurred while copying files to the backup disk.
    I have looked in the console, and initially found an error message relating to a flashplayer/sys file (sorry can't remember all the detail, and it doesn't seem to be there now). I set it to exclude that file from backup, and crossed my fingers. Still no joy.
    It is now showing the following error message:
    Dec 14 22:08:21 00-25-4b-8d-28-95 com.apple.backupd[427]: Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/Backup of Sebastian Jonsson’s iMac/Backups.backupdb/Sebastian Jonsson’s iMac/2009-12-03-053418
    It keeps repeating, the only difference is the numbers at the end.
    I have no idea what to do now. Can anyone please help me, I'm worried about not having my info backed up properly.

    I have the same problem which has just started when all was working fine. I have done I think all the things suggested in Time Machine - Troubleshooting User Tips but I still get the same error message.
    Starting standard backup
    Attempting to mount network destination using URL: afp://Thom%20Dennis%20MacBookPro%[email protected] al/Thom%20Dennis%20MacBookPro%204's
    Mounted network destination using URL: afp://Thom%20Dennis%20MacBookPro%[email protected] al/Thom%20Dennis%20MacBookPro%204's
    Disk image /Volumes/Thom Dennis MacBookPro 4's/Thom Dennis MacBookPro 4.sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Event store UUIDs don't match for volume: Thom Freedom 2
    Forcing deep traversal on source: "Thom Freedom 2" (mount: '/' fsUUID: 8CCFA0EB-DF43-399B-9212-905CCB159237 eventDBUUID: BF4914D6-7DB6-447E-B0C4-71D3A5ED830B), {1, 1, 1, 0}
    Node requires deep traversal:/ reason:must scan subdirs|require scan|
    No pre-backup thinning needed: 2.12 GB requested (including padding), 361.76 GB available
    Indexing a file failed. Returned 200 for: /Library/Application Support/Adobe/Adobe Version Cue CS4/Client/4.0.0/VersionCue.framework/Versions/A/Resources, /Volumes/Time Machine Backups/Backups.backupdb/Thom Dennis MacBookPro 4/2009-12-24-104229.inProgress/C627CFC7-FA55-4D69-936C-B192A4A
    +Error message before that one:+
    Starting standard backup
    Attempting to mount network destination using URL: afp://Thom%20Dennis%20MacBookPro%[email protected] al/Thom%20Dennis%20MacBookPro%204's
    Mounted network destination using URL: afp://Thom%20Dennis%20MacBookPro%[email protected] al/Thom%20Dennis%20MacBookPro%204's
    Disk image /Volumes/Thom Dennis MacBookPro 4's/Thom Dennis MacBookPro 4.sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Event store UUIDs don't match for volume: Thom Freedom 2
    Forcing deep traversal on source: "Thom Freedom 2" (mount: '/' fsUUID: 8CCFA0EB-DF43-399B-9212-905CCB159237 eventDBUUID: BF4914D6-7DB6-447E-B0C4-71D3A5ED830B), {1, 1, 1, 0}
    Node requires deep traversal:/ reason:must scan subdirs|require scan|
    Stopping backupd to allow ejection of backup destination disk!
    +And before that ...+
    Starting standard backup
    Attempting to mount network destination using URL: afp://Thom%20Dennis%20MacBookPro%[email protected] al/Thom%20Dennis%20MacBookPro%204's
    Mounted network destination using URL: afp://Thom%20Dennis%20MacBookPro%[email protected] al/Thom%20Dennis%20MacBookPro%204's
    Disk image /Volumes/Thom Dennis MacBookPro 4's/Thom Dennis MacBookPro 4.sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Event store UUIDs don't match for volume: Thom Freedom 2
    Forcing deep traversal on source: "Thom Freedom 2" (mount: '/' fsUUID: 8CCFA0EB-DF43-399B-9212-905CCB159237 eventDBUUID: BF4914D6-7DB6-447E-B0C4-71D3A5ED830B), {1, 1, 1, 0}
    Node requires deep traversal:/ reason:must scan subdirs|require scan|
    No pre-backup thinning needed: 2.05 GB requested (including padding), 361.76 GB available
    Indexing a file failed. Returned 200 for: /Applications/Adobe Illustrator CS4, /Volumes/Time Machine Backups/Backups.backupdb/Thom Dennis MacBookPro 4/2009-12-24-104229.inProgress/1A14CF13-0CE0-47C7-8689-2401DE2A51C7/Thom Freedom 2/Applications/Adobe Illustrator CS4
    Aborting backup because indexing a file failed.
    Stopping backup.
    Copied 24 files (21 KB) from volume Thom Freedom 2.
    Copy stage failed with error:11
    Backup failed with error: 11
    Ejected Time Machine disk image.
    When I have flagged a file for not being backed up, the error message indicates an indexing problem with another file.
    Where now please?

  • Automatic transport not working

    Hello,
    Could you please help me.
    after the offline backup, the automatic transport from DEV to QAS not working.
    when i check the tools transport on STMS , i tak this error.
    DB Connect ==> Link to database failed.
    Offline call ==> connect failed
    Best Regards,
    nana

    Have you automated the import process in DEV 005 ?
    Then the job will be running in the system.
    TMS_0000000003TMS_TP_IMPORT.
    Regards,
    Raja. G

  • Automatic Rotation Not Working On iPad 4th Gen iOS 8.1.2

    So I recently got an iPad 4 and the automatic rotation is not working at all. I have done every troubleshooting possible including a restore of 8.1.1 and then upgrading to 8.1.2 hoping it would fix the problem and still nothing. Obviously rotation lock is off and I have tried toggling it back and forth through control panel and side switch along with doing multiple hard resets and it just won't automatically rotate at all.
    I know my sensor isn't broken because if I change position with the device off and turn it back on it will display the correct orientation, but only if I turn the screen off. Games and other apps that use the gyroscope/accelerometer work fine, yet somehow my automatic rotation function is just broken.
    Is anyone else experiencing this same issue? Since I know my sensor isn't broken I just don't understand why this is happening since it doesn't seem like a common problem after trying to find information on the topic.

    Try reset iPad.
    Hold the Sleep/Wake and Home button down until you see the Apple Logo.

  • New MacBook (Aluminum), new Time Capsule (Dual-Band), backups not working

    My Mom got a new (refurbished) 13.3" MacBook (Aluminum) and new (not refurbished) Time Capsule 500 GB (Dual-Band.) The Time Capsule is working great for wireless internet and we can copy files to and from it, but Time Machine backups are not working. I enabled Time Machine, selected her TC, and then when it tries to backup it sits at the preparing stage for a little while and then gives a very unhelpful "the backup failed" message. Unfortunately I don't have the exact error message, but it never gets out of the preparing phase. It doesn't stay in preparing forever, it only stays there for a minute or so before it gives up and reports the backup failed message and stops. It's unclear to me, searching these forums, if this problem is the same as others are reporting.
    I've tried turning off Time Machine and back on, removing and reselecting the Time Capsule, etc. Nothing makes a difference. There are no backup files on the TC - it's brand new.
    This happened out of the box, but I also tried installing the latest Time Capsule firmware. It didn't help.

    Apple needs to create a configuration tool that configures all the Apple devices one owns by creating a network diagram using drag and drop symbols...
    Sounds like a cool suggestion. If you want Apple to hear it, go to www.apple.com/feedback/timecapsule.html

  • My WiFi & Ethernet connection works but automatic is not working

    The settings for my networking have gone kuh fluee (sp???) since I got up and running on my brand new MBP with 10.5.1 (and yes, I've installed all of the updates).
    I have 3 locations set up (or I thought they were set up as they worked on my old PB):
    WiFi
    Ethernet
    and then there's AUTOMATIC
    Both my WiFi and Ethernet work fine. I want the Mac to understand that if Ethernet is connected, go and use Ethernet; if no Ethernet, then use the WiFi. I thought this would work when the location is switched to AUTOMATIC. AUTOMATIC simply just can't seem to connect. It continues to show all lights green except for the NETWORK light. I restart the modem and router over and over and the Networking thing just keeps telling me to do that again. Ok - what am I NOT getting here. Again, note that both ethernet and WiFi connection as separate locations work; what is NOT working is AUTOMATIC and I want that to work so that the Mac "automatically" detects what is out there for me to connect and if Ethernet, it connects via Ethernet.
    Insight? Solutions? Advice???

    The following is an excerpt from The Peachpit Learning Series for Leopard but I am sure it applies to Tiger and probably Panther as well. I have four computers at home, three with Leopard and one with Tiger. One Tiger machine is connected to my Airport Extreme via ethernet and my other desktop runs Leopard and also is connected via ether net. My two laptops are connected via Airport.
    Open network preferences via System Preferences. You'll see the network window which should list your networks on the left had side of the page in the order of preferences what you might want to do and your individual computer is change that order of preferences to Ethernet first and Airport Second, that way if you are connected via ethernet it will connect that way. If you are not connected via ethernet it will look for the ethernet connection first and not seeing one, it will move on to Airport. You can change the order of preferences by clicking the activity button at the bottom of the window on the left that looks like a little cog wheel and then set service order.
    I'm not 100 percent sure but by choosing automatic it either tells the system to do the above automatically when you open your browser or email to it means go to your wireless system of preference.
    Hope this helps.

  • This.print(pp) with interactive type silent or automatic does not work  after upgrade acrobat reader 9 to acrobat reader 11

    After an upgrade of acrobat reader 9 to acrobat reader 11 the automatic printing of a pdf. The pdf is opened, but the print does not happen. With acrobat reader 9 it works. But with acrobat reader 11 the printing does not happen.
    I discovered when you specify pp.constants.interactionLevel.full it works on acrobat reader 11. But when you specify pp.constants.interactionLevel.silent or pp.constants.interactionLevel.automatic it does not work on acrobat reader 11. But with the full option we have a dialog  print box
    we do not want.
    In our jsp we load a pdf document and create a message handler to detect the print events of a pdf document that is in an <object> tag.
    In the pdf document we add
    package be.post.lpo.util;
    import org.apache.commons.lang.StringEscapeUtils;
    import org.apache.commons.lang.StringUtils;
    public class AcrobatJavascriptUtil {  
        public String getPostMessageToHostContainer(String messageName, String messageBody){
            return "var aMessage=['"+messageName+ "', '"+ messageBody+"'];this.hostContainer.postMessage(aMessage);";
        public String getAutoPrintJavaScript(String interactiveType, String printerName,String duplexType) {    
            String interactiveTypeCommand = "";
            if (StringUtils.isNotBlank(interactiveType)){
                interactiveTypeCommand = "pp.interactive = " + interactiveType + ";";
            String duplexTypeCommand = "";
            if (StringUtils.isNotBlank(duplexType)){
                duplexTypeCommand = "pp.DuplexType = " + duplexType + ";";
            return "" + // //
                    "var pp = this.getPrintParams();" + // //
                    // Nointeraction at all dialog, progress, cancel) //
                    interactiveTypeCommand + //
                    // Always print to a printer (not to a file) //
                    "pp.printerName = \"" + StringEscapeUtils.escapeJavaScript(printerName) + "\";" + //
                    // Never print to a file. //
                    "pp.fileName = \"\";" + //
                    // Print images using 600 DPI. This option MUST be set or some barcodes cannot //
                    // be scanned anymore. //
                    "pp.bitmapDPI = 600;" + //
                    // Do not perform any page scaling //
                    "pp.pageHandling = pp.constants.handling.none;" + //
                    // Always print all pages //
                    "pp.pageSubset = pp.constants.subsets.all;" + //
                    // Do not autocenter //
                    "pp.flags |= pp.constants.flagValues.suppressCenter;" + //
                    // Do not autorotate //
                    "pp.flags |= pp.constants.flagValues.suppressRotate;" + //
                    // Disable setPageSize i.e. do not choose paper tray by PDF page size //
                    "pp.flags &= ~pp.constants.flagValues.setPageSize;" + //
                    // Emit the document contents. Document comments are not printed //
                    "pp.printContent = pp.constants.printContents.doc;" + //
                    // printing duplex mode to simplex, duplex long edge, or duplex short edge feed //
                    duplexTypeCommand +
                    // Print pages in the normal order. //
                    "pp.reversePages = false;" + //
                    // Do the actual printing //
                    "this.print(pp);";
    snippets for java code that adds
    package be.post.lpo.util;
    import org.apache.commons.lang.StringUtils;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfAction;
    import com.lowagie.text.pdf.PdfDestination;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfName;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    public class PdfMergerUtil{
        private static final PdfName DID_PRINT = PdfName.DP;
        private static final PdfName WILL_PRINT = PdfName.WP;
        private List<PdfActionJavaScriptHolder> actionJavaScripts = new ArrayList<PdfActionJavaScriptHolder>();
        private class PdfActionJavaScriptHolder{
            private final PdfName actionType;
            private final String javaScript;
            public PdfActionJavaScriptHolder(PdfName actionType, String javaScript) {
                super();
                this.actionType = actionType;
                this.javaScript = javaScript;
            public PdfName getActionType(){
                return this.actionType;
            public String getJavaScript(){
                return this.javaScript;
        public void writePdfs(OutputStream outputStream, List<InputStream> documents, String documentLevelJavaScript) throws Exception {
            Document document = new Document();
            try {          
              // Create a writer for the outputstream
              PdfWriter writer = PdfWriter.getInstance(document, outputStream);
              document.open();      
              // Create Readers for the pdfs.
              Iterator<PdfReader> iteratorPDFReader = getPdfReaders(documents.iterator());
              writePdfReaders(document, writer, iteratorPDFReader);
              if (StringUtils.isNotBlank(documentLevelJavaScript)){
                  writer.addJavaScript(documentLevelJavaScript);
              addAdditionalActions(writer);
              outputStream.flush();      
            } catch (Exception e) {
                e.printStackTrace();
                throw e;
            } finally {
                if (document.isOpen()){
                    document.close();
                try {
                    if (outputStream != null){
                        outputStream.close();
                } catch (IOException ioe) {
                    ioe.printStackTrace();
                    throw ioe;
        public void addAdditionalDidPrintAction(String javaScript){
            actionJavaScripts.add(new PdfActionJavaScriptHolder(DID_PRINT, javaScript));   
        public void addAdditionalWillPrintAction(String javaScript){
            actionJavaScripts.add(new PdfActionJavaScriptHolder(WILL_PRINT, javaScript));   
        private void writePdfReaders(Document document, PdfWriter writer,
                Iterator<PdfReader> iteratorPDFReader) {
            int pageOfCurrentReaderPDF = 0;      
              // Loop through the PDF files and add to the output.
              while (iteratorPDFReader.hasNext()) {
                PdfReader pdfReader = iteratorPDFReader.next();
                // Create a new page in the target for each source page.
                while (pageOfCurrentReaderPDF < pdfReader.getNumberOfPages()) {
                  document.newPage();
                  pageOfCurrentReaderPDF++;          
                  PdfImportedPage page = writer.getImportedPage(pdfReader, pageOfCurrentReaderPDF);
                  writer.getDirectContent().addTemplate(page, 0, 0);          
                pageOfCurrentReaderPDF = 0;
        private void addAdditionalActions(PdfWriter writer) throws DocumentException{
            if (actionJavaScripts.size() != 0 ){
                PdfAction action = PdfAction.gotoLocalPage(1, new PdfDestination(PdfDestination.FIT), writer);
                writer.setOpenAction(action);
                for (PdfActionJavaScriptHolder pdfAction : actionJavaScripts ){
                    if (StringUtils.isNotBlank(pdfAction.getJavaScript())){
                        action = PdfAction.javaScript(pdfAction.getJavaScript(), writer);
                        writer.setAdditionalAction(pdfAction.getActionType(), action);
        private Iterator<PdfReader> getPdfReaders(Iterator<InputStream> iteratorPDFs) throws IOException {
            List<PdfReader> readers = new ArrayList<PdfReader>();
              while (iteratorPDFs.hasNext()) {
                InputStream pdf = iteratorPDFs.next();
                PdfReader pdfReader = new PdfReader(pdf);
                readers.add(pdfReader);        
            return readers.iterator();
    JSP code
    <script type="text/javascript" src="<bean:message key="scripts.js.internal.jquery" bundle="app"/>"></script>
        <script language="javascript">
        function goToDidPrintUrl(){
            var url = "<%=didPrintUrl%>";
            window.location.assign(url);
        function createMessageHandler() {
            var PDFObject = document.getElementById("myPdf");
            PDFObject.messageHandler = {
                onMessage: function(msg) {
                     if (msg[0] == "WILL_PRINT"){      
                        $("#printingTransitFeedBackMessage").text('<%=willPrintMessage%>');                   
                     if(msg[0] == "DID_PRINT"){
                        $("#printingTransitFeedBackMessage").text('<%=didPrintMessage%>');               
                        setTimeout('goToDidPrintUrl()',4000);
                onError: function(error, msg) {
                    alert(error.message);
        </script>
    </head>
    <body onLoad="createMessageHandler();">
    <div id="printingTransitFeedbackArea">
      <div class="info" id="printingTransitFeedBackMessage"><%=documentOpenMessage%></div>
    </div>
    <object id="myPdf" type="application/pdf" width="100%" height="100%"  data="<%=toBePrintedUrl%>">
    </object>
    </body>

    From the JS API Reference of the print method:
    Non-interactive printing can only be executed during batch, console, and menu
    events.
    Outside of batch, console, and menu events, the values of bUI and of interactive are ignored
    and a print dialog box will always be presented.

  • Time Machine Backup Not Working - Please Help!

    Hey everyone - first post here, please help!  I'm having trouble with TM.  Here are the messages from Time Machine Buddy:
    Starting automatic backup
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Forcing deep traversal on source: "Macintosh HD" (mount: '/' fsUUID: AD5C219F-0EC8-32C3-B827-2FF171A4AE46 eventDBUUID: 68A67596-22DD-4FB5-AA49-390E857688E1)
    Backup content size: 166.93 GB excluded items size: 34.36 GB for volume Macintosh HD
    Found 842174 files (132.56 GB) needing backup
    160.14 GB required (including padding), 824.43 GB available
    Copied 74.41 GB of 132.56 GB, 693114 of 842174 items
    Copied 130.6 GB of 132.56 GB, 728437 of 842174 items
    Copied 731588 files (130.76 GB) from volume Macintosh HD.
    Backup canceled.
    Starting manual backup
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Forcing deep traversal on source: "Macintosh HD" (mount: '/' fsUUID: AD5C219F-0EC8-32C3-B827-2FF171A4AE46 eventDBUUID: 68A67596-22DD-4FB5-AA49-390E857688E1)
    Didn't get valid migration dates.
    Found 842174 files (1.87 GB) needing backup
    3.9 GB required (including padding), 692.16 GB available
    Copied 85694 files (1.71 GB) from volume Macintosh HD.
    Using file event preflight for Macintosh HD
    Will copy (41.8 MB) from Macintosh HD
    Found 430 files (42.2 MB) needing backup
    2.23 GB required (including padding), 689.79 GB available
    Copied 5022 files (46 MB) from volume Macintosh HD.
    Created new backup: 2012-10-09-015038
    Copying OS X Recovery set
    Starting post-backup thinning
    Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/Time Machine Back
    I tried to back it up the first time, and it was taking forever, so I stopped it, and then started a new backup.  Can someone let me know what to do so I can be comfortable knowing the machine is definitely backed up?
    Thanks!

    The indication that the backup completed successfully is the best evidence that it did. If you want something more explicit, you can proceed as below.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo tmutil compare
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    The command will take at least a few minutes to run. Eventually some lines of output will appear below what you entered.
    Each line that begins with a plus sign (“+”) represents a file that has been added to the source volume since the last snapshot was taken. These files have not been backed up yet.
    Each line that begins with an exclamation point (“!”) represents a file that has changed on the source volume. These files have been backed up, but not in their present state.
    Each line that begins with a minus sign (“-“) represents a file that has been removed from the source volume.
    Files that you’ve excluded from backup, or that are excluded automatically, are ignored.
    At the end of the output, you’ll get some lines like the following:
    Added:
    Removed:
    Changed:
    These lines show the total amount of data added, removed, or changed on the source(s) since the last snapshot.

Maybe you are looking for

  • Unable to Install Flash Player 11.7.700.169 on OSX 10.7.5

    I have tried everything I can think of to install your new version. On Sunday, I downloaded the 11.7.700.169 installation .dmg. When I double clicked on the Install Adobe Flash Player, it reported: Creating image Downloading image Installing Flash Pl

  • Can one build a XP mode on Windows 8.1 ? (Software that will provide the same experiance?)

    I Know XP mode is not supported under Windows 8. I was wondering if there was a way to manually build a XP mode install. I want the same experiance as XP mode due to having hardware that only has 32bit support(driver) on Windows 8.1 x64. I would like

  • Mini + Sony w3000 bravia or Samsung LE40F86 at 1080p

    I have searched and searched for info on this and not been able to find a definitive answer. I am wanting to buy a mac mini and a 40" LCD TV. I have narrowed my options to the Sony Bravia KDL40W3000 in first choice or the Samsung LE40F86 in second pl

  • Can't bind to /tmp/claws-mail-1000

    When i try to start claws-mail i got this output: [tirrenia@lappy ~]$ claws-mail can't bind to /tmp/claws-mail-1000: Åtkomst nekas Åtkomst nekas is Access/Permission Denied in Swedish. Anybody have an idea? Thanks

  • Source code Verification in different systems  ?

    Hi gurus I am having a custom user exit. I have to check whether the source code is same in both the Sand box and Configuration box? How to compare between the systems ? Please guide me. Urgent Thanks Meenakshi . N Edited by: Meenakshi.Nakshatrula on