Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
01-15-2012, 03:45 PM #81
1. OpenBackup has always grabbed dependencies for two reasons: at backup every package you have installed (including dependencies) is backed up in list form. The second reason is that at restoration, the method used for restoring grabs dependencies at the same time for whatever package it is downloading.
2. Yes, I'm trying to incorporate this new method into OpenBackup as a second option (since its harder and more time consuming). The hardest part will be making the new interface.
01-15-2012, 04:19 PM #82
01-15-2012, 04:22 PM #83
There's nothing wrong with the current version, it just downloads the packages at restoration instead of backup. I wait until my error log is zero bytes before I release an app.
I'm having trouble creating a deb with a postinst script. I have it run the command and export the results to a log file, but it doesn't do anything and the log is empty.
Last edited by Zokunei; 01-15-2012 at 04:24 PM.
01-15-2012, 04:39 PM #84
Last edited by thazsar; 01-15-2012 at 04:42 PM.
01-15-2012, 05:04 PM #85
I made room for three more buttons
I know exactly where to go from here, the hardest part will be writing the instructions.
01-15-2012, 05:34 PM #86
How bout the postinst/deb problem? Did u get it resolved?
01-15-2012, 05:54 PM #87
No. Currently you would just need to AutoInstall openssl and openssh then run the "dpkg -iREG /var/mobile/OpenBackupDebs/archives" command.
01-15-2012, 06:31 PM #88
I realize that this 'offline' method is for the tech-savvy person BUT a quick tutorial will lessen the risk of troubleshooting emails. Know what I'm sayin!
Last edited by thazsar; 01-15-2012 at 06:34 PM.
01-15-2012, 06:34 PM #89
As of right now I've got it to pull my debs from my computer to the archives folder (using your destination path for debs). I linked that command with a && to run the dpkg command after the transfer then followed with another && followed by a reboot and one last & to put it in background. So mine looks something similar to this:
./recoverdeb && dpkg -iREG /var/mobile/openbackup/archives/*.deb && reboot &
Note recoverdeb is a script to pull the debs from my personal server to the archive folder.
Last edited by A3gOwner; 01-15-2012 at 06:42 PM.
01-15-2012, 06:42 PM #90
He was trying to create a .deb package but 'postinst' is throwing an error. At least that's what I think is happening...
Last edited by thazsar; 01-15-2012 at 06:46 PM.
01-15-2012, 06:45 PM #91
01-15-2012, 06:47 PM #92
I use mobile terminal version 520-1 from a repo on cydia. I'm not using openbackup like Z but it should be able to be incorporated into it. Once I get it where I want in a stand alone then I'll submit it to Z for openbackup use if he hasn't got it working yet. I'm using his destination path of /var/mobile/openbackup/archives to make it easier to port to openbackup.
01-15-2012, 06:49 PM #93
01-15-2012, 06:51 PM #94
01-15-2012, 06:52 PM #95
01-15-2012, 07:00 PM #96
01-15-2012, 07:04 PM #97
It (MT) and ssh would be a dependency of the stand alone version. (as of now anyway it could change tho)Then before running the script you'd want to ssh into the phone to created the needed auth keys. Then running the command I posted above would take care of everything but the second reboot at the end, you'd have to dothat manually.
01-15-2012, 07:16 PM #98
01-15-2012, 09:05 PM #99
Literally my only problem is that the spinner won't go away after one of the buttons finishes. I've spent a lot of time trying to fix it but I haven't been able to. -.-
Ok got it fixed. Everything is fully implemented now. I just need to tweak the script to make a folder with OpenBackup.deb and all of its dependencies. And write the instructions
Last edited by Zokunei; 01-15-2012 at 09:18 PM.
01-15-2012, 10:34 PM #100