ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@lists.altlinux.org
Subject: Re: [Comm] Обновление из 4.0/branch
Date: Thu, 27 Sep 2007 10:35:59 +0300
Message-ID: <20070927073559.GJ20472@osdn.org.ua> (raw)
In-Reply-To: <ffee06470709270026y23f487b6p406eec8250a25a42@mail.gmail.com>

On Thu, Sep 27, 2007 at 11:26:29AM +0400, Александр Макаров wrote:
> Спасибо за оказанное внимание! Но я уже переустановил систему и
> пока все нормально!  И еще один вопрос, если система полетит,
> каким командами можно восстановить ее (переустановить) без
> потери документов, каких-то личных файлов и т.д.  Я так понимаю
> нужно с диска запустить спасение, а вот что дальше?

Главное -- иметь /home на отдельном разделе, там все
пользовательские файлы.  Тогда при повторной установке,
если система настолько разрушена, можно _не_ форматировать
этот раздел, а только подключить и ехать дальше.

Его же в этом случае сильно проще бэкапить и оценивать по 
объёму (df -h /home).

Второе -- /etc, здесь общесистемные настройки;
их лучше архивировать так:

$ su -
# mkdir -p ~/BAK
# cd ~/BAK
# tar zcf etc-`date +%Y-%m-%d`.tar.gz /etc

Это создаст архив с датой в имени и размером в несколько мегабайт
в защищённом от посторонних глаз каталоге /root/BAK; его хорошо
бы скопировать на какой-нить отдельный носитель или другой хост
в сети (опять же обеспечив разумную степень недоступности
посторонним, хоть пароли из ALT выковыривать подбором и куда
сложнее, чем из многих других дистро).

С rescue осмысленно загружаться, зная, что делать с UNIX-системой
в командной строке...

См. тж. http://www.opennet.ru/docs/RUS/FromPowerUpToBash/
http://www.opennet.ru/docs/HOWTO/mini/Partition-Rescue/
http://www.faqs.org/docs/Linux-HOWTO/LILO-crash-rescue-HOWTO.html

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  parent reply	other threads:[~2007-09-27  7:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25  8:30 ` [Comm] Обновление из rpm ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch/ i586 classic Andrii Dobrovol`s`kii
2007-09-26 20:52 ` Michael Shigorin
2007-09-27  7:33     ` Motsyo Gennadi aka Drool
2007-09-27  7:35     ` Michael Shigorin [this message]
2007-09-27  7:53       ` [Comm] Обновление из 4.0/branch Timur Batyrshin
2007-09-27  9:55         ` Michael Shigorin
2007-09-27  9:59           ` Timur Batyrshin
2007-09-27 10:15             ` Alexey I. Froloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070927073559.GJ20472@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git