**Tech explanation why BACKUPS take long, how to make it very short, etc*

I noticed my backups to increase quite a bit over the last few days. I also noticed so many posts on why are backups taking so long, what can I do (only solution given is to click x or modify so that backups are not done, etc). Well to answer all those that want the "real" answer, I decided to do a few minutes of research and share what I've learned. I have seen nothing at all on google or anywhere else about the recommendations I'm suggesting, but from my experience I think it will answer 99% of all the backup threads on this site.
All your backups are being stored in:
XP: C:\Documents and Settings\(Your Name)\Application Data\Apple Computer\MobileSync\Backup\
Vista: C:\Users\*Your User*\Appdata\Local\Apple Computer\
Mac: ~/Library/Application Support/MobileSync/Backup
The main directories are GUIDs that are based on the version of the iphone, so you may see more than one folder. Make sure to view the date last modified of the folder to make sure you go into the latest one. Order the files inside this directory by date modified. Here you can see how many files are being updated ON EVERY BACKUP. The older ones are not being backed up anymore because you probably uninstalled that app on the iphone (apple doesn't delete old unnecessary backup files that won't be ever used - bad programming #1). They are encoding all these files and inside the files in base 64, so you can decrypt them to view the contents, but you don't really need to and I don't have to show how for the solution to this. Open a file in wordpad. Within the first few lines you'll get an idea of what the backup is.
So here is the solution....sort these files by date modified. My biggest single file was 29,582KB!! looked inside and it's the WeDict app. There are other files from WeDict, but obviously for me if I want fast backups I need to get rid of this app. A few other top files I found are awesome apps on the iphone that have awesome trailers, intro movies for games, etc. Well guess what, they backup every single game intro, trailer, etc. So for instance, the game tap tap tap has a few m4a songs....well every one of those m4a songs are encrypted and backed up EVERY TIME (apple backups up files that don't need to be backed up which would probably reduce backup times by at least 98% - for instance, intro movies don't need to be backed up, nor app songs, nor game instructions, etc because that information should be on itunes backed up separately when you install an app, not when you do backups and it should be smart enough to update that folder when a new version is out....and only do backups on files that can change like high scores in apps, notes, etc - bad programming #2).
So anyway, you can see which apps are taking the most amount of time. Obviously if you remove every app on your iphone, it will backup fast, but some of these apps are shockingly huge. Problem here is that you can have 1 file or 100 files associated with 1 app. You could have only 2 apps installed on your iphone and your backups could be slower than a person having 30 apps just because some apps take a ridiculous amount of more backup data and time and what makes this even worse is every part of the data is encrypted, which I will talk about below (which doesn't need to be). Only time that file is not going to get updated is if it's deleted from your iphone.
You don't HAVE to use base 64 encryption. Come on now, especially on apps? They could lighten the encryption and it would be much faster backups because it has to decode and encode every file now. You are overencrypting these files so huge programs take forever backups. (Bad apple programming #3 don't over encrypt when speed is a necessity on something that doesn't need extreme high security).
As a developer with a computer engineering degree, to also make it even faster than what users were experiencing with backup times prior 2.0. They are obviously not tagging each portion that needs to be backed up individually. Lots of software companies do this to speed stuff up. For instance if you have Kaspersky antivirus with the defaults, the first scan will always take long, but every scan afterwords will be fast because instead of rescanning that file for a virus, it just checks to see if the checksum has changed and if so rescan that file, so most of the time the scan will happen fast unless there has been a period of time that you haven't done one that updates the checksums. They could do something very similar with this. So basically even if you changed a few things on your phone, the backup should be only a few seconds because only those few changes would be signaled to be rebacked up. (bad apple programming for backups #4). This process can make backups be from 98% faster to 99.98% faster....meaning having a backup only take 4 seconds even with 100 apps installed. Actually coding this one thing would make it extremely fast, but would take the most programming time. You can even make an algorithem where for the whole backup process it would just have to read one file that it would check checksums and then tell it to modify 1 or 2 other files and that's it as opposed to backing up (for me almost 5,000 files) some being several MB in size.
So all the above should give apple suggestions on how the can speedup backups by 99.98% faster than how they are doing it now and then anwers all those questions why it takes longer, what needs to change, how can I shorten my backups (this way you can find out what apps are taking the most time), etc.
The problem here is apps will continue to grow, become larger, more trailers, movies, songs embedded inside apps, etc. This problem is only going to grow. The additional problem is that they can say they have tweaked the backup programming to make it faster, just like they did in 2.0.1, but backups seem slower because there are newer better more awesome apps out!! Well that's why it doesn't look like it's faster but it's slower! They will keep doing this as opposed to solving the root of the problem by recoding the whole backup foundation as I'm suggesting from above. Backups will forever take longer and longer and longer and longer. That is what you have to look forward to. My guess is that they are not going to fix the foundation of how backups are done anytime soon having a good idea how they are doing this one. They would have to do a massive overhaul of the whole backup code, which basically they would have to admit that all the time coding this way was a waste and they see no profit from it and we deal with it just by pressing x sometimes. We can complain all we want, but for awhile if you don't want long backups, this is the real solution. What's funny is writing this email took much more time than figuring out what apple is doing, but I think this will help many apple iphone users. Let me know what you guys think.

Supposedly apple made backups slightly faster on 2.0.1, but like I said in my original posting above...it will get worse and worse because of the apps.
Just to verify and you could do this yourself. Right before you plug in to sync and it auto starts the backup process do this...go to the folder where all the files are as mentioned above, sort it by date modified. Add a refresh button on the toolbar. Then start the sync/backup, keep refreshing and you see the files getting updated. There are even temporary files apple's backup process creates that you don't see that keeps adding to a file, so even if you see one file updated, you might see it updated a few times until the whole backup for that file completes.
Here are my stats:
For me this time it took 27 minutes (earlier it took 2 minutes, but like i said with updates to apps, more apps, depending on types of apps, your computer speed, etc it will increase.
For me: In 27 minutes, it updated 1707 files with a total size of 82.8MB. There are a ton of computers that are much faster than mine that I'm sure would cut the minutes down. I have 6 pages of apps, but like I mention above, that doesn't matter because you could have one app that has 400 files with a large size. I would be interested in others posting their results, maybe in this format:
27min 1707files 82.8MB Pentium4HT Antivirus and other large programs running in background.
If you are interested you can even download program that will decrypt these files so you can view them in more detail...for mac, for instance, there is something like this: http://mac.softpedia.com/get/iPhone-Applications/Tools-Utilities/iPhone-Backup-D ecoder.shtml It allows you to backup and modify. It may help you decide what is taking your backups so long and you can decide if it's worth having that app installed versus not having a good backup. You can also pick out you sms backup file, contacts backup file, etc for those really interested in having backups of those specific files.
Hope this helps clear up things for everyone.

Similar Messages

  • Why it takes long time to shut down after i upgrade to OS X ver 10.8.2?

    why it takes long time to shut down after i upgrade to OS X ver 10.8.2?

    Can't really say, but I see this occurring on all of my Macs since the 10.8.2 update and keep reading about it at several other Mac user boards.
    Bottom line: it's a general problem, but more of an inconvenience, than a serious problem. Probably will be solved with the next update.

  • Why it takes long time to download and udates for iphone4

    why it takes long time to download and updates for iphone4 ?

    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Why do you need this if you are going to Oracle. Try
    removing this. It might be trying things out with the
    old driver and then moving to the new driver. This has nothing to do with it. (And it doesn't "try things out")
    >
    Also check your machines. They might be slow. There is
    no reason, it should take more than few hundred
    milliseconds to connect to a database on localhost as
    your case is.Possible reasons...
    - Network traffic
    - Faulty router/gateway
    - Busy server
    - Faulty network card (either end)
    - Conflict with another box

  • Why it takes long time (about 10 Min) to map the network drivers in windows 8.1?

    Why it takes long time (about 10 Min) to map the network drivers in windows 8.1? I don’t have this problem with any other operating systems (Ex: Windows 7 or XP)

    Can you perform a refresh ?
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • My MacBook Pro is really hot and the fan is on constantly. It didn't use to do this, does anyone know why this is happening? I have a very short battery life, so I have to keep it plugged in probably more than I should.

    My MacBook Pro is really hot and the fan is on constantly. It didn't use to do this, does anyone know why this is happening? I have a very short battery life, so I have to keep it plugged in probably more than I should.

    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.

  • How do I get very short movies to play one after the other?

    How do I get very short movies to play one after the other?
    I have some video tutorials to show me how to use software on the Mac.
    When a short 4 min. video is finished - I have to double click the next one.
    There must be a way to have continuous playing of movies back to back...
    I've looked - I am sure it's obvious...
    Help please.  Thanks!

    make them type 'Music Video', and add info on artist to group them, then play them.

  • Why it takes long time to execute on Production than staging?

    Hi Experts,
    Any help apreciated on below issue.
    I have one anonymous block for updating around 1 million records by joining 9 tables.
    This is proceeded to production by following environments. And all env have exact equal volume of data.
    development->Testing->Staging->Production.
    The funny problem is while it takes 5 mins to be executed in all environments, it takes 30 mins on production.
    why it happned and what can be action points for future?
    Thanks
    -J
    ==============
    If the performance is that different in the different environments, one or more statements must have different query plans in the different environments. The first step would be to get the query plans and compare them to figure out which statement(s) is/are running slowly.
    If there are different query plans, that implies that something is different between the environments. That could be any of
    - Oracle version
    - initialization parameters
    - data
    - object statistics
    - system statistics
    If you guarantee that the data is the same, I would tend to expect that the object statistics are different. How have you gathered statistics in the various environments? Can you move statistics from an environment where performance is acceptable to the environment where performance is unacceptable?
    I would also recommend following the advice others have given you. You don't want to commit in a loop and you want to do as much processing in SQL as possible.
    Justin
    ===============
    Thanks Steve for your inputs.
    My investigation resulted following 2 points.
    There are 2 main reasons why some scripts might take longer in live than on Staging.
    1: Weekend backups were running on the live server so slowing the server down allot.
    2: the tables are re-orged when they are imported into staging/Dev – so the table and index layout is optimal, on live the tables and indexes are not necessarily contiguous so in order to do the same work the server will need to do many more I/O operations.
    Can we have some action points to address these above issues?
    I think if data can be contigous then it may help.
    Best Regards
    -J
    ===============
    But before that, can you raise this in a seperate thread as there is a different issue going on in this thread?
    Cheers
    Sarma.
    ===========
    Posts: 4
    Registered: 08/28/06
    Re: Performance issue (Oracle 10.2.0.3.0)
    Posted: May 22, 2009 2:46 AM in response to: Radhakrishna Sa... Edit Reply
    Hey Sarma,
    Exterme aplogies to say that I don't know how to raise a new thread.
    Thanks in advnce for your help.
    -J
    user636482
    Posts: 202
    Registered: 05/15/08
    Re: Performance issue (Oracle 10.2.0.3.0)
    Posted: May 22, 2009 2:51 AM in response to: user527345 Reply
    Hi User 527345,
    Please follow the steps to raise a request in this Forum.
    1. Register urself.
    2. Go to the forum home and select the Technolgy where do you want to rasie a request.
    eg : If is related to Oracle DATAbase general then select Oracle databse general...
    3. clik on post new thread
    4. Give the summary of your issue.
    5. then submit the issue.
    please let me know if you need more information.
    Thank you

    Jayashree Mohanty wrote:
    My investigation resulted following 2 points.
    There are 2 main reasons why some scripts might take longer in live than on Staging.
    1: Weekend backups were running on the live server so slowing the server down allot.
    2: the tables are re-orged when they are imported into staging/Dev – so the table and index layout is optimal, on live the tables and indexes are not necessarily contiguous so in order to do the same work the server will need to do many more I/O operations.
    Can we have some action points to address these above issues?
    I think if data can be contigous then it may help.First , I didn't get at all what actually was that thing when you copied some part of don't know which post in your actual question? Please read this , it would help you post a proper question to get a proper answer ,
    http://www.catb.org/~esr/faqs/smart-questions.html
    Now, how did you come to the conclusion that the backups are actually making your query slower? What's the benchmark that you lead to this? And what's the meaning of the 2nd point , can you please explain it ?
    As others have also mentioned, please post the plan of the query at boththe staging and production, that only can tell that what's going on.
    HTH
    Aman....

  • Why it takes long time to establish Database Connection ???

    Can any one please have a look on the following code snippet and show me which mistake I'm doing so it take long time to connect to DB(more than 5 minutes !!!!)
    Thanx in advance ...
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Class.forName("oracle.jdbc.driver.OracleDriver");
    String dbString2 = "jdbc:oracle:thin:@" + "127.0.0.1" + ":" + "1521" + ":" + "nat";
    aCon = DriverManager.getConnection(dbString2, "scott", "tiger");
    stmt = aCon.createStatement();
    System.out.println("Connection to DB Established");
    catch (ClassNotFoundException cnfe)
    System.out.println("Class not found:");
    cnfe.printStackTrace();
    catch (SQLException sqle)
    System.out.println("SQL Exception: " + sqle.toString());
    sqle.printStackTrace();

    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Why do you need this if you are going to Oracle. Try
    removing this. It might be trying things out with the
    old driver and then moving to the new driver. This has nothing to do with it. (And it doesn't "try things out")
    >
    Also check your machines. They might be slow. There is
    no reason, it should take more than few hundred
    milliseconds to connect to a database on localhost as
    your case is.Possible reasons...
    - Network traffic
    - Faulty router/gateway
    - Busy server
    - Faulty network card (either end)
    - Conflict with another box

  • How to do following restore? Full backup takes long and transaction backup in the middle.Thanks!

    One database starts to run full backup at 10am. Full backup finishes at 11:45 AM
    transaction log backups every 30 minutes: 10:00am, 10:30am,11:00 am , 11:30 am and 12:00 PM
    At 1:30 PM
    I need to restore database back to 12:00PM.
    So I should restore:
    1) Full backup at 10:00 am + transaction log backup 10:30am+ transaction log backup 11:00 am +transaction log backup at 11:30 am + transaction log backup at 12:00 PM
    or
    2) Full backup at 10:00 am + transaction log backup at 12:00PM
    Because full backup starts at 10:00 am and ends at 11:45 am, I am not sure 1) or 2) should I choose.
    Please let me know which one is correct--1) or 2) .Thanks

    alternatively you can make use of 
    RESTORE HEADERONLY FROM <BACKUP_DEVICE>
    database backup has LSN number information in te backup header, and last LSN will help you to locate next log backup in
    sequence to be restored.
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • Why GPS Takes long time to start in E90

    i do have an E90, everytime i start the MAP the GPS takes more than 10minute to start and sometimes it dosent start unles i plan a route so i start using external GPS is there any updates or a way to raise the performance of the GPS??

    Incorrect.
    A-GPS is used to speed up the TTFF or sat acquisition. Nokia is using the TI chip in the N95 and the E90 rather than the better SIRFstar III chipset.
    A-GPS is new.
    Show the KUDOS button some love.... Hit that bad boy.... It don't hurt....
    Apple iPhone 5,
    Retina MacBook Pro, iPad Mini, Nikon D4

  • Why it takes long time to query ldap using the filter (uid=*) after deleting all(140000) the entries from the LDAP.

    The platform we are using is Iplanet 5.1 running on Solaris 8 with Sun 280R dual processor 900Mhz with 4GB ram

    Are you using replication? If so, this may be due to the fact that the database is now full of tombstone entries. So, how do you get rid of the tombstone entries? That depends on your update rate and the number of servers you replicate to, plus how painful it is to reinitialize all of the consumers.
    If your tombstone purging is too aggressive, you risk losing state information you need during update resolution.
    If you don't care about any of this, the easiest thing to do is to export your database then reimport. After this, you will have to reinitialize the other servers as well.

  • How much space does tiger take up & how to make it take up less

    i recently read a post by someone claiming that tiger took 18.5gb on there ibook, and some one replied saying that apple claims you can install tiger in to 3gb.
    : is this true?
    : if so, how do you "compress" it?
    : iff not so, how much space does it take up on avarage?

    hi Axl....
    I've got tiger in ok, running fine - bought family pack and have done 3 installs without problem, so that's the good news ....
    I did a major reshuffle and toss-out of files before I installed - bought 80gb mobile external hard drive - and did install with 5+gb free, so after it had about 3gb free, then all of a sudden I went down to less than 1gb
    I've been in a hunt for more files to throw out (a nice find were the old ipod updaters that were eating 500mb) ....
    If I want to throw out most of the language files (for instance) ... where are they ? (I did search for danois and found nothing, so .... buried ?)
    any other suggestions for things to throw away .... I've pretty much eliminated 90% of all things classic, for instance ....
    and - do you have ideas for why space seems to disappear so fast .... I'm not doing anything special, but wham, 2gb flies away to ???
    thanks

  • I can't figure out how to make my MacBook (videos, etc.) show up on my TV. Help?

    I am attempting to connect my MacBook to my TV. Unfortunately, I am trying to make new technology and old technology talk and they don't seem to like each other (I think my TV is about five years old and I have the current MacBook). I have the cords to hook up the two devices (Component cords, Component to VESA Adapter, and Mini DisplayPort to VGA Adapter) courtesy of the Apple tech staff. However, when I hook them all up, it still isn't showing up on my TV. I'm on the correct setting for my TV and I know that the cords are not broken or anything. It's really frustrating. I don't want to have wasted my money on the cords...Any suggestions? Thank you!

    I have the same problem - but the other way round i.e. the macbook is a few years old and the TV is only a few months old - so I'm hoping for some helpful pointers.  The cables bought in the Apple shop on their advice added up to around £45 - worth it if it works, of course, but a big waste otherwise.  One website I found suggests putting the macbook to sleep when all is connected then powering it up to get the TV to recognise it - yet to try that out.

  • How to make grid without text etc., expand upon load of app?

    hello,
    i did this,
    JPanel panInner = new JPanel();
    panInner.setLayout(new GridLayout(5, 5, 10, 10));
    then after that, i add 25 labels on each without any text.., the grid looks very small and will enlarge upon entering text.., i don't want that to happen, i want the grid boxes to have a constant size all through out regardless of the text's length.
    also, how do i have a 'fixed size', seems all the component's size fitting to the size of the texts.,
    many thanks! :)

    Submit your feedback directly to Apple using the appropriate link on the Feedback page:
    http://www.apple.com/feedback

  • How to make this algorithm shorter?

    My goal here is to waste less memory, to use less timers, and to make the whole algorithm shorter, Advices?:
    (This algo make 4 texts appear (one letter at once) and change their colors constantly.)
    Wrong place. (my bad)

    This algo make 4 texts appear (one letter at once) and change their colors constantly.
    What is a DispatcherTimer? If you want something other than generalisations you need to provide code that people can test.
    Create a class the encapsulates the whole information about each label (L, LT, LL()). Create an instance for each label, and add it to a list. Create a global variable to use as the list index.  Use one timer and use the global counter as the index
    into the list to get the label to be processed. When you complete processing for one label, increment the counter.   When the counter gets to 5 turn the timer off.

Maybe you are looking for

  • BP Replication from R/3 to CRM

    Hi Forum, I am facing an issue with BP Replication from R/3 to CRM. Although the same scenario and configuration works well on my dev and qual environment and the same has been trasported to Production, apart from that R3 dev and qual system are comp

  • Restore Time Machine backup to another Mac

    If I use time machine to backup my Macbook Pro to an external hard drive, then lose my Macbook Pro, can I restore my data to another Mac? Does anyone know the answer

  • Brand new 27" iMac with Snow Leopard has constant hard disk activity

    I just purchased a new 27" iMac which was an upgrade for my 24" with Leopard. I have used my older machine for a good year and not noticed any hard drive activity when idle. Now on the new machine with Snow Leopard I constantly get hard disk activty

  • External Monitor Playback

    I have an external monitor attached to my iMac.  (LED TV).  When I view playback on my iMac, the video is fit to the screen.  When I view my playback monitor tv.....the video is about 3/4 of the screen?  How do I make it full screen?Ext

  • Is this still the only way to view Xvid and DivX movies on ATV?

    By removing the drive and ssh'ing into it to add the codec support. Has anyone come up with a simpler solution that is less techie and complicated? Thanks