Birmingham mumbai


Backing up and restoring Debian



Download 15,21 Mb.
Pdf ko'rish
bet139/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   135   136   137   138   139   140   141   142   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

Backing up and restoring Debian 
packages
As you maintain your server, your list of installed packages will grow. If, for some 
reason, you needed to rebuild your server, you would need to reproduce exactly 
what you had installed before, which can be a pain. It's always recommended that 
you document all changes made to your server via a change control process, but, 
at the very least, keeping track of which packages are installed is an absolute must. 
In some cases, a server may only include one or two extra packages in order to 
meet its goal, but, in other cases, you may need an exact combination of software 
and libraries in order to get things working like they were. Thankfully, the 
dpkg
 
command allows us to export and import a list of packages to install.
To export a list of installed packages, we can use the following command:
dpkg --get-selections > packages.list
This command will dump a list of package selections to a standard text file. If you 
open it, you'll see a list of your installed packages, one per line. A typical line within 
the exported file will look similar to the following:
tmux install


Managing Software Packages

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   135   136   137   138   139   140   141   142   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish