![]() |
[Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 10/07/2012 )
BackDeb :
A script ( NEW ! with Menu ! ) For Backuping Packages Installed - All User Packages ( Applications and Depends ) - One User Package - One System Package Backup Folder : MyDocs/BackDeb/ - MyDocs/BackDeb/All ( For All Packages Backup ) - MyDocs/BackDeb/User ( For User Packages Backup ) - MyDocs/BackDeb/System ( For System Packages Backup ) Install : Copy the .tar file to MyDocs and in terminal Run this command : Code:
tar -xvf /home/user/MyDocs/backdeb.tar -C /Code:
# backdebbackdeb.tar Recommended Using It In N9QT |
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
hi farfary,
you can use this tar http://dl.dropbox.com/u/52851745/tar if you want to use dpkg-deb on your device... It is tested to work well... Btw: Forgot to report earlier your script works well ;) |
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
Quote:
this tar is the gnu-tar package in harmattan sdk repo ? |
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
yup gnu-tar that won't install on your system as its for n900...i extracted just tar and linked it...putting it in /bin/ with chmod 775'ng it allows dpkg-deb to successfully compile...Its tested so no worries ;)
|
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
Quote:
i work to fix these :) |
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
farfary, from this message of thedead1440 you need to edit your first post from 777 to 775 ;)
Quote:
|
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
Quote:
i Edited post #1 |
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
farfary one last thing :D
for the tar replacement just do: cp -R /path/to/downloaded/tar /bin/ chmod 775 /bin/tar rm /bin/tar hence not required... it will ensure people are less scared to try this out :D Edit: why don't you package the new tar together with your backdeb with a cp -R command in your package? that would save the cp -R step...actually i think you can add a Makefile that does this as well as chmod 775's both backdeb and tar so then a user just installs your package and is good to go... |
Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
Quote:
i try to add tar to my package but the dpkg errorED , its say the busybux has this file in file list , and you can not replace it when i want to use the dpkg-divert , its not allowed to divert file i not know about dpkg-divert and replace a file that in other package, if know help mee --- i now work to add digsigsums the deb file in next update i add it , and try to add tar to my package if i can :D |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Sorry, do not quite understand. I can get the installer.. Skype for example? I saw your mod in Quicktweak. Thanks.
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
in terminal as root: Code:
backdeb -o account-plugin-skypeEdit: If you want to find the package name of an app; in terminal as root: Code:
dpkg -l | grep APP_NAME |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
Yes You can , all app was installed on System ( these app is original app , you can not delet these or find theme with Code:
dpkg show <packagename>Code:
apt-cache show <packagename>Code:
dpkg -L <packagename>AND a things some app need depends ! i dont tested these , but when you backdeb a package , dpkg error depends , and now you can install theme with Code:
apt-get -f installapt-get downloaded these , now you can install theme with " incept " only for find the package details i add options for my app , because the way is deffrent |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
Tweak KK-4-3-2 it will ask: "Write the correct SYSTEM package name: " here just write the name of package, for example: Code:
account-plugin-skype |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
On Nokia N9, I need to install "binutils" package so "ar" works.
I've changed the destination directory to "/root/" instead of "/home/user/MyDocs/BackDeb/" by editing the scripts in "/opt/backdeb/". |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
I would prefer it to backup to the mmc partition as it does now so that i can backup how many packages i want without eating up space from the rootfs partition...
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
ar: /home/user/MyDocs/BackDeb/<package-name>.deb: Permission denied |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
hmmm i have never got that... Maybe Because i am using the version since that was first released and had a modified tar instead of the regular tar... The first page still has links to that tar...I also never installed binutils..
Will test the latest version and report back... |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Thedead1440, its not because of "tar" file, i don't use this file and after installation binutils it work without any problem..
After creating the .deb File, a Latest command is just transfer to user directory: Code:
devel-su user -c "cp -f /home/.backdebtmp/$package$VERSION\_armel.deb /home/user/MyDocs/BackDeb" |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
Do you also get the permission denied error as in 4posts above? I've never got that error... |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Yes, i got this when copy command is directly without "devel-su user -c "command""
This is what i edited and added to N9QT.. Work like a charm ;) |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
ah...so the new package has to be run as user not root in terminal?
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
No, you run it as root, just the latest copying command run as user to transfer to user directory.
This its way work from N9QT. |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
Edit: True just used it from N9QTweak; it installed binutils and it works well :D |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
So if the package included any symlinks or special files, they will not be backed up. |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
farfary,
Is there a method that would allow the backup of all user/store installed apps in one go? Instead of manually entering the package names? As I've 149 apps and unfortunately due to an issue, I need to reflash :( |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
P.S: 149 :eek: !!!!! It is just the total number of Meego applications :D |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
Edit: 1880 programs btw :D Source |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
thedead1440 :
i updated post #1 :) see it but first test it and after trust it and backup |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
if this scripts fully worked plz say me :)
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Ok just tried and it didn't work out...
I chose the first option to backup all packages; it asked me to create a backup from settings->Sync and backup...Once I did that it asked me to enter the bacup folder name which in my case was "Backup1"...After entering this an error came about grep"...." not found...Before i could see the error a message came that all backed up successfully... However in the BackupN9 folder there is a empty file of BackupedListOfPackagesInBackAll.list with size 0kb... Edit: Took a screenshot of it :D The output is: Code:
/opt/backn9/backdeb/backupalluserdeb.sh: line155: unzip: not foundEdit 2: Also if you are wondering, I do have binutils installed due to BackDeb :D |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
ok you dont have unzip ?
apt-get install unzip |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Nope thats the thing it says:
Code:
# apt-get install unzip |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
:) Good Luck Brother but some package not good for installing : orginaizerfeed i tested but for installing have problem :( i dont know why |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Well even if it gets 70% of the packages right we can manage the other 30%...
Really Thanks for this brilliant creation! I can now reflash tomorrow in peace :D |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
Quote:
|
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
btw, where is your donation link?
You really deserve it :) |
Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
my app is free :)
both of my app are gift for n9 users from me :) |
| All times are GMT. The time now is 08:04. |
vBulletin® Version 3.8.8