The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
backup диска с freebsd через acronis, !*! Wital, 07-Июн-05, 12:37  [смотреть все]
  • backup диска с freebsd через acronis, !*! lavr, 13:02 , 07-Июн-05 (1)
  • backup диска с freebsd через acronis, !*! Wital, 15:24 , 07-Июн-05 (2)
  • backup диска с freebsd через acronis, !*! Wital, 06:49 , 08-Июн-05 (7)
    • backup диска с freebsd через acronis, !*! user, 08:56 , 08-Июн-05 (8)
    • backup диска с freebsd через acronis, !*! axbat, 10:11 , 08-Июн-05 (9)
      2 Dima, Wital
      >надо отвечать читайте help, man, faq .... и больше ничего, давайте
      >ответ понятный человеку некомпетентному в этом вопросе и желательно попроще, а
      Я не lavr, но коль скоро тоже отвечал в этом посте и именно приглашением ознакомиться с документацией, отвечу.

      вот вам и всем интересующимся конкретное решение. Проще - поверьте! - НЕКУДА

      To boot in single user mode:
      Press the [spacebar] at the 10 second countdown.
      type:
      boot -s
      Press [enter] for the default shell.

      At the (#) prompt type:
      fsck -p
      mount -u /
      mount -a
      swapon -a
      adjkerntz -i

      Next, make sure you have the device files made so you can mount the partitions on the slave drive.
      Type:
      cd /dev
      ./MAKEDEV ad1s1a
      ./MAKEDEV ad1s1e
      ./MAKEDEV ad1s1f

      Now make mount points for the new drive's partitions:
      Type:
      mkdir /backup
      mkdir /backup/root
      mkdir /backup/usr
      mkdir /backup/var


      Lastly, I use a shell script to do the following:

      1 - create new filesystems (newfs the drive)
      2 - mount the partitions
      3 - dump the data from my old drive, and restore it to my new one
      4 - unmount the new drives partitions
      5 - enable softupdates on the new drive (optional)


      Here is the script I use:

      #!/bin/sh
      newfs /dev/ad1s1a
      newfs /dev/ad1s1e
      newfs /dev/ad1s1f

      mount /dev/ad1s1a /backup/root
      mount /dev/ad1s1e /backup/var
      mount /dev/ad1s1f /backup/usr

      ( dump -0f - / ) | ( cd /backup/root ; restore -rf - )
      ( dump -0f - /var ) | ( cd /backup/var ; restore -rf - )
      ( dump -0f - /usr ) | ( cd /backup/usr ; restore -rf - )

      umount /backup/root
      umount /backup/var
      umount /backup/usr

      tunefs -n enable /dev/ad1s1a
      tunefs -n enable /dev/ad1s1e
      tunefs -n enable /dev/ad1s1f

      #end

      It will probably take several hours to perform the dump/restore, so be patient. Once the data has been dumped and restored to the new drive, all you have to do is remove your old drive and put it in a safe place, set the new drive to a master and reboot. Your system will now boot your old FreeBSD installation on your new hard disk.

      Note: You can download the drivecopy shell script by clicking on the drivecopy.tar filename located on the right sidebar of this page. Issue the command tar xvf drivecopy.tar to untar the drivecopy.sh file. You may need to modify the drivecopy shell script if you are using custom partitions. If you had selected the standard FreeBSD partitions at install, this file will work without modification.

      To learn more about dump, restore and other unix commands, please read the man pages:

      man dump
      man restore
      man tar
      man mount
      man adjkerntz

      >вот немного разобравшись с вопросе мы и сами начнем читать маны

      Мне было бы проще сказать:
      http://www.unixcities.com/howto/
      это - именно то, что Вы просили, "Какие нибудь ссылки плиз, на инструменты которые сделают полный бэкап системы с минимальными телодвижениями. "

      Поймите, КОНКРЕТНЫЕ РЕКОМЕНДАЦИИ можно давать людям, которые имеют минимальное представление о том, что делают. Поэтому - во избежание Ваших дальнейших бед все предлагают Вам читать документацию, чтобы хотя бы понять, что вам рекомендуют и что делать, если начнут возникать проблемы.


      Сделайте себе хорошо, прочтите
      http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ba...
      и http://www.freebsddiary.org/drive-to-drive-backup.php

      учитесь учиться же в конце концов...




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру