Welcome, Guest. Please login or register.
April 18, 2014, 15:36:02 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  Keep a Backup of Installed Packages
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Keep a Backup of Installed Packages  (Read 757 times)
waf
Guest
« on: June 26, 2009, 22:27:23 PM »



http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/

« Last Edit: April 29, 2011, 10:39:56 AM by waf » Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #1 on: June 27, 2009, 00:01:27 AM »

I think this should work out :

Backup
Code:
pisi li | awk '{print $1}' > installed-software.bak

Restore
Code:
pisi it installed-software.bak

You can propose it to the webmaster if it works.
« Last Edit: June 27, 2009, 00:06:17 AM by PhiX » Logged

Team Pardus-fr - French Pardus tools translator
waf
Guest
« Reply #2 on: June 27, 2009, 00:16:02 AM »

Thanks, PhiX!
Logged
BenimAdımKırmızı
Guest
« Reply #3 on: June 27, 2009, 13:25:06 PM »

how do i handle *bak files?
I think this should work out :

Backup
Code:
pisi li | awk '{print $1}' > installed-software.bak

Restore
Code:
pisi it installed-software.bak

You can propose it to the webmaster if it works.

the comand i also found out but i reinstalled the listed packages as follow:
Code:
#!/bin/bash

#FILE: pus-k.sh
# VERSION: 0.1
# COPYRIGHT: miltonjohn
#LICENSE: not specified ;)
#Description:pardus-script
#
echo ''
echo ' ____               _               ("`-""-/")                         '
echo '|  _ \ __ _ _ __ __| |_   _ ___      `6_ 6  ).--...--��"`-._           '
echo '| |_) / _` | �__/ _` | | | / __|     (_Y_.) �   `-.  (     ).`-.__.�)  '
echo '|  __/ (_| | | | (_| | |_| \__ \      `--�_.._._   )  `._ `. ``-..-�   '
echo '|_|   \__,_|_|  \__,_|\__,_|___/   _.�  .�    _/  /---_.' , '          '
echo '                                  (il)-�    (li)-�  ((!.-�             '
echo ''
echo '                         (PARDUS Linux)                                '
echo ''

for x in $(<get.txt); do pisi it -y $x; done
exit
Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #4 on: June 27, 2009, 15:36:08 PM »

*bak files are just text files. On Linux, the nature of the file (text, zip, movie, etc.) is described in the file itself, not in the name of the file. So you can change the file extensions as you like, it doesn't matter. Call it ".backup" if you want. Only the icon and default applications associated with the extension will change, but you can open it nevertheless.
« Last Edit: June 27, 2009, 15:40:41 PM by PhiX » Logged

Team Pardus-fr - French Pardus tools translator
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!