Backing up aptbackup...

Discussion in 'Jailbreaks and iOS Hacks' started by MikeRiv87, Feb 21, 2009.

  1. MikeRiv87 macrumors newbie

    Joined:
    Jul 17, 2008
    #1
    how do I manually backup the list that aptbackup makes of all my installed cydia apps? When I restore my phone I usually go from a fresh start so I need to be able to back up that aptbackup file to manually reinject after I restart my phone. It would also be nice to make a general apt backup file with most of the must have apps so when I jailbreak a friends phone I can set it up that much faster.
    Thanks for any insite
     
  2. Tokiopop macrumors 68000

    Tokiopop

    Joined:
    Dec 6, 2008
    Location:
    West Yorkshire, UK
    #2
    1. Download AptBackup from Cydia
    2. Open the app, and tap backup
    3. Sync your phone with iTunes
    4. Restore the phone, update firmware, and re-jailbreak as normal
    5. Restore the iPhone backup from iTunes
    6. Download AptBackup from Cydia again
    7. Tap restore
    8. Done! :D

    The AptBackup file is actually stored in your iTunes sync, so no SSHing needed.
     
  3. bytethese macrumors 68030

    bytethese

    Joined:
    Jun 20, 2007
    Location:
    Cranford, NJ
    #3
    You don't need to. AptBackup works by keeping a list and gets included in a normal iTunes backup. When you restore the iPhone, the backup gets pushed to the device and when you download and launch AptBackup, you press Restore and it starts downloading all your Cydia apps your had before. :)
     
  4. MikeRiv87 thread starter macrumors newbie

    Joined:
    Jul 17, 2008
    #4
    I am aware of how aptbackup functions... I just want to know where on my iphone does aptbackup create/store the list of cydia apps? Thats all...
     
  5. bytethese macrumors 68030

    bytethese

    Joined:
    Jun 20, 2007
    Location:
    Cranford, NJ
    #5
    We were just pointing out that you shouldn't need to touch the file, but if you still need it:

    /private/var/mobile/Library/Preferences/aptbackup_dpkg-packages.txt

    Enjoy. :)
     
  6. jcde7ago macrumors 6502

    jcde7ago

    Joined:
    Aug 4, 2008
    Location:
    San Francisco, CA
    #6
    There's actually 3 aptbackup files in that Preferences folder and you should copy all 3 of them, not just the .txt file.;)
     
  7. Night Spring macrumors G5

    Night Spring

    Joined:
    Jul 17, 2008
    #7
    I only see two...
     
  8. MikeRiv87 thread starter macrumors newbie

    Joined:
    Jul 17, 2008
    #8
    perfect! I see all three! Thank you very much. The reason why I want to back them up is because when I restore my phone I never use a backup. Just a clean start. Having these files will speed up my restore vastly!
     
  9. bytethese macrumors 68030

    bytethese

    Joined:
    Jun 20, 2007
    Location:
    Cranford, NJ
    #9
    If you restored from backup you wouldn't need to copy these 3 files. :)
     
  10. jcde7ago macrumors 6502

    jcde7ago

    Joined:
    Aug 4, 2008
    Location:
    San Francisco, CA
    #10
    Yes, you still do. Sometimes AptBackup doesn't work properly, even after taking the correct steps...so, in order to fix that, you can drop the 3 files you copied prior to the restore and drop it in afterwards if AptBackup didn't work properly.

    Backing up AptBackup is done just in case it does not work after restoring from a backup.
     
  11. bytethese macrumors 68030

    bytethese

    Joined:
    Jun 20, 2007
    Location:
    Cranford, NJ
    #11
    Strange, 3 restores so far for me, no issues. :) But if you'd want to be cautious I agree that this is pretty useful.
     
  12. fuzion11 macrumors 65816

    fuzion11

    Joined:
    Sep 24, 2008
    Location:
    Hamilton, Ontario
    #12

    I'm new to this whole aptbackup thing, so excuse my rookie-ness.....

    If you say aptbackup is put back on your phone after restoring from a previous iTunes backup, then why would one need to reinstall aptbackup from Cydia a second time, if it was on the iTunes backup?
     
  13. Knowlege Bomb macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #13
    The program itself isn't restored to the phone from iTunes, only the information about the mods you had installed.

    You have to install Aptbackup to use the data that was backed up before.

    Get it?
     
  14. fuzion11 macrumors 65816

    fuzion11

    Joined:
    Sep 24, 2008
    Location:
    Hamilton, Ontario
    #14
    So you mean, the information that aptbackup holds is backed up to iTunes, but not the application itself.

    Once you have restored and rejailbroken your phone again, then you reinstall aptbackup from Cydia, open aptbackup, press restore and the info that iTunes held will be placed back on the phone through aptbackup?

    If that's the answer, then yes, I definitely get it.....

    Thanks for your help.

    James
     
  15. Knowlege Bomb macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #15
    You've pretty much got it. When you hit restore in Aptbackup, it will automatically download all of the mods you had before. At that point you'll have to reactivate them in Winterboard.

    Basically it's saving you the time of making a list and redownloading everything manually.
     
  16. fuzion11 macrumors 65816

    fuzion11

    Joined:
    Sep 24, 2008
    Location:
    Hamilton, Ontario
    #16
    Great, Thanks again for the info! Very helpful.
     
  17. Snide macrumors 6502a

    Snide

    Joined:
    Apr 12, 2005
    #17
    One thing to note is that when I used Aptbackup after I updated to 2.2.1, the
    iPhone went to sleep and was unresponsive during the 15 minutes or so it took
    to re-download everything. I just let it go (not sure how long it actually took),
    and then I got the normal lock-screen when I pressed the Home button.

    VERY cool app!
     
  18. fuzion11 macrumors 65816

    fuzion11

    Joined:
    Sep 24, 2008
    Location:
    Hamilton, Ontario
    #18
    Good info, I probably would have gotten impatient and thought it wasn't working properly.

    THanks.
     
  19. j2innet macrumors newbie

    Joined:
    Jul 25, 2009
    #19
    apt backup mechanism

    can anyone tell me what is the apt backup mechanism?

    how does apt backup know it is now up to date?
    say i have a fresh install and what if i install everything manually and i accidentally pressed restore, will apt backup wipe my thing away and tally with the empty list?

    i just want to make clear of the process...

    thanks.
     
  20. iMrNiceGuy0023 macrumors 68000

    Joined:
    Jun 5, 2009
    #20
    so this will restore all of my jailbroken apps and sources????
     
  21. scirica macrumors 68020

    scirica

    Joined:
    May 13, 2008
    Location:
    Dallas, TX
    #21
    Another Option: Rock Apps Backup

    I've used AptBackup successfully in the past, however since I was forced to load Rock Apps when I purchased tlert I figured I might as well try their backup process. I have to say that it works great, the difference being that the backup list is stored on the Rock App server and not in iTunes. Not that it should make a difference, but if anyone is paranoid about storing a Cydia apps list within an Apple application, there is an option.

    Cheers
     
  22. scirica macrumors 68020

    scirica

    Joined:
    May 13, 2008
    Location:
    Dallas, TX
    #22
    I think "reload" would be more accurate. Restore presumes that you will have all data and settings as well. I believe that is dependent on how the developer built the application and you may only get a fresh install of the application and have to re-configure.
     
  23. astro2 macrumors newbie

    Joined:
    Apr 12, 2009
    #23
    ...

    the OP is smart

    making itunes do a backup is stupid (i'd only do it as a double backup) one false move and itunes might delete your files OR the backup failed for some weird reason

    having a manual copy saved on a computer or flash drive is smart

    AND

    doing a clean re-jailbreak maybe a good thing, i hear restoring from a backup throws alot of crap back into the phone thus slows it down
     

Share This Page