Author Topic: RealBackup  (Read 77002 times)

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: RealBackup[Update ver0.5.0.1] Appstore App Saves
« Reply #75 on: September 23, 2011, 08:09:01 PM »
thanks to both of you

And brian. it is actually pretty simple.
You just check if $1 is exists
Code: [Select]
if [ $1 ];  then
and if it does you check for its value..so like this
Code: [Select]
if  [ $1 ]; then

  if [ "$1" = "-h" ]; then
    echo "do option -h"
    /path/to/script
  elif [ "$1" = "-q" ]; then
    echo "do something else"
    /path/to/some/other/script
  else
    echo "please type in a correct option"
    echo "Yoiu can choose between -h and -q"
  fi
fi

You can look into the file /usr/bin/realbackup. this is handling the option stuff^^
so let's say..i cheated a bit:D
« Last Edit: September 23, 2011, 08:13:24 PM by realblack7 »
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline Bruan

  • Feature Developer
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 13082
  • Country: 00
  • Methuselah
    • View Profile
    • Bruan_WD Twitter
  • Device: iPhone 3G
  • My Computer: Linux
Re: RealBackup[Update ver0.5.0.1] Appstore App Saves
« Reply #76 on: September 25, 2011, 07:59:25 PM »
Ohhhhh....   haha that is simpler than the code snippets I saw online and in other things :P

I will look into some code I can just use for all scripts that need that, then pass it on to you when I get the chance :)

Offline snowcolt

  • Hero Member
  • ****
  • Posts: 167
  • ....
    • View Profile
Re: RealBackup[Update ver0.5.0.1] Appstore App Saves
« Reply #77 on: September 28, 2011, 12:13:38 AM »
loving the new update!!!!

Offline Bruan

  • Feature Developer
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 13082
  • Country: 00
  • Methuselah
    • View Profile
    • Bruan_WD Twitter
  • Device: iPhone 3G
  • My Computer: Linux
Re: RealBackup[Update ver0.5.0.1] Appstore App Saves
« Reply #78 on: October 01, 2011, 04:11:08 AM »
I really should get to work on helping make a GUI screen :(  I feel so bad that I haven't :/

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #79 on: October 03, 2011, 02:27:18 PM »
Update:
For Changelog view the first post.

This should fix some bad issues.

And I have a question.
Does anyone has in this folder /User/Media/DCIM except 100APPLE and .MISC other folder?
Like 101APPLE etc?
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline banana

  • Banana
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2432
  • Country: kp
  • Banana
    • View Profile
    • FinkMac's Blog!
  • Device: iPod Touch 1G
  • My Computer: Mac
RealBackup[Update ver0.5.1] Bug Fixes
« Reply #80 on: October 03, 2011, 02:39:51 PM »
Update:
For Changelog view the first post.

This should fix some bad issues.

And I have a question.
Does anyone has in this folder /User/Media/DCIM except 100APPLE and .MISC other folder?
Like 101APPLE etc?
I know that I do…
Banana

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #81 on: October 03, 2011, 02:45:54 PM »
do you know why? like one folder contains 100 photos so a new one is created.or something like that
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline banana

  • Banana
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2432
  • Country: kp
  • Banana
    • View Profile
    • FinkMac's Blog!
  • Device: iPod Touch 1G
  • My Computer: Mac
RealBackup[Update ver0.5.1] Bug Fixes
« Reply #82 on: October 03, 2011, 06:37:45 PM »
do you know why? like one folder contains 100 photos so a new one is created.or something like that
I'm not sure… I'll check it out…
Banana

Offline Bensge

  • iDevice Fan and Developer
  • Senior Member
  • ***
  • Posts: 86
  • iPhone Developer (not just Whited00r)...
    • View Profile
    • My Developer Website
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #83 on: October 05, 2011, 04:22:02 PM »
@finkmac
i think it when the thousands images was added to picture app.
(does not mean you have more than 1000 photos in photo app!)

And i have got an idea for dropbox:

ther are compiled dropbox versions for the iphone on internet, which you can use through terminal
-so what about using something like this for dropbox support?

bensge
Enjoy whited00r!

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #84 on: October 05, 2011, 05:56:07 PM »
thanks.that info helps.

and i already got a dropbox code from brian.but i am busy making the gui first. but maybe i can handly that next week
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline applepie

  • Redd00r Developer
  • Developer
  • SuperHero Member
  • *****
  • Posts: 1487
  • Country: 00
  • Dormant Beast
    • View Profile
  • Device: iPod Touch 2G
  • My Computer: Mac
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #85 on: October 08, 2011, 04:53:56 PM »
In order to restore cydia apps, you cant have any apps installed right?
I learned that the hard way....

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #86 on: October 08, 2011, 07:45:22 PM »
Sure you can have apps installed. but you should do a backup before you restore..otherwise it thinks you want to have no apps installed and removes every app.
AND it is asking you if you want to remove your apps before it does...

it says:
upgrade 0, update 0, remove 20 (something like that)
do you want to continue?

Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline applepie

  • Redd00r Developer
  • Developer
  • SuperHero Member
  • *****
  • Posts: 1487
  • Country: 00
  • Dormant Beast
    • View Profile
  • Device: iPod Touch 2G
  • My Computer: Mac
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #87 on: October 08, 2011, 10:02:38 PM »
Ok I am restoring app data but it seems to be taking forever.
Its been 2 hours and it restores 1 app every 5 to 10 mins
I know I have alot (500 mb) of app data, but those are coming from a few main apps, the rest are only 10-20 mb.


Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #88 on: October 08, 2011, 10:16:22 PM »
for that reason i made the check if you want to really back those things up. you should really only back things up from app data if you really needs it.

i have to ignore to things. wikipedia (1 GB) and wedict pro ( 50mb). the rest is like 15 mb.
In my Gui you can exclude apps from backup. sry that it is taking so long. but that is not the fault my code. it is too much data i think for he 2g. i backedup my wikipedia once in about 35 mins.
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline applepie

  • Redd00r Developer
  • Developer
  • SuperHero Member
  • *****
  • Posts: 1487
  • Country: 00
  • Dormant Beast
    • View Profile
  • Device: iPod Touch 2G
  • My Computer: Mac
Re: RealBackup[Update ver0.5.1] Bug Fixes
« Reply #89 on: October 08, 2011, 10:39:03 PM »
Its like the same speed for every app.
I dont think it would take 5 mins to restore 20 mb...
The app with the largest app data has 200 mb.
I have like 50 apps, and like 5 have over 100 mb.