Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Eugene M. Zheganin                   2:5054/79.2    23 Jan 2003  10:41:16
 To : Constantin Stefanov
 Subject : backup
 -------------------------------------------------------------------------------- 
 
 
  20 Jan 03 в 13:59, Constantin Stefanov -=> Alexander Gavrilov о "Re: backup":
 
  [...]
 
  CS> Я тут недавно задавал тот же вопрос - никто ничего толком так и не
  CS> сказал. Hу ясно, в хэндбуке раздел есть, далее tar, dump/restore - по
  CS> вкусу. Если машина одна - никаких вопросов - что-нибудь из
  CS> вышеперечисленного + cron. А вот если надо с нескольких машин данные
  CS> скидывать на одну ленту - тогда как? Hеужто никто так не делает?
  CS> Вариант создать дамп на локальной фалововй системе, а потом залить на
  CS> ленту меня не очень устраивает - тратится очень много лишнего места.
 
 Hа солярке man tar гораздо лучше. Потому что в нем описан штатный способ
 дампиться/бэкапиться по сети.
 Лично у меня все так и сделано. Только блоки по 200 байт, и не rsh, а ssh с
 авторизацией ключами. Если нужны примеры таких скриптов- скажи, но они
 элементарные. 8) Больше времени ушло на то, чтобы понять механизм авторизации
 ключами.
 
 ===Cut===
       Example 3: Using tar to Transfer Files Across the Network
 
      The following is an example  using  tar  to  transfer  files
      across the network. First, here is how to archive files from
      the local machine ( example) to a tape on a remote system  (
      host):
 
      example% tar cvfb  -  20 files |  rsh host dd of=/dev/rmt/0  obs=20b
       messages from tar
      example%
      In the example above, we are creating a tarfile with  the  c
      key  letter,  asking  for verbose output from tar with the v
      function modifier, specifying the name of the output tarfile
      using  the f function modifier (the standard output is where
      the tarfile appears, as indicated  by  the  `-'  sign),  and
      specifying  the blocksize (20) with the b function modifier.
      If you want to change the blocksize,  you  must  change  the
      blocksize  arguments  both  on the tar command and on the dd
      command.
 
      Example 4: Using Tar To Retrieve Files From A  Tape  On  The
      Remote System Back To The Local System:
 
      The following is an example that uses tar to retrieve  files
      from a tape on the remote system back to the local system:
 
      example% rsh -n host dd if=/dev/rmt/0 bs=20b | tar xvBfb - 20 files
      messages from tar
      example%
      In the example above, we are  extracting  from  the  tarfile
      with  the  x  key letter, asking for verbose output from tar
      with the v function modifier, telling tar it is reading from
      a  pipe with the B function modifier, specifying the name of
      the input tarfile using the f function modifier  (the  stan-
      dard input is where the tarfile appears, as indicated by the
      `-' sign), and specifying the  blocksize  (20)  with  the  b
      function modifier.
 ===Cut===
 
                                     Hа этом остаюсь искренне Ваш, Евгений.
 
 --- GoldED+/BSD 1.1.5
  * Origin:  ----> Default GoldED Origin <----  (2:5054/79.2)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 backup   Alexander Gavrilov   18 Jan 2003 01:54:22 
 Re: backup   Andrey Ivanov   18 Jan 2003 11:36:40 
 backup   Vladislav Zhuk   18 Jan 2003 10:27:51 
 backup   Dima Veselov   18 Jan 2003 13:35:00 
 Re: backup   Constantin Stefanov   20 Jan 2003 14:59:41 
 Re: backup   €Ј®ам €ў ­®ў   20 Jan 2003 15:20:07 
 Re: backup   Constantin Stefanov   20 Jan 2003 15:46:24 
 Re: backup   €Ј®ам €ў ­®ў   20 Jan 2003 16:00:20 
 Re: backup   Ilya N Mashkov   23 Jan 2003 02:57:55 
 backup   Eugene M. Zheganin   23 Jan 2003 10:41:16 
 Re: backup   Constantin Stefanov   23 Jan 2003 13:53:41 
 backup   Eugene M. Zheganin   23 Jan 2003 17:34:48 
 Re: backup   Constantin Stefanov   23 Jan 2003 17:26:59 
 backup   Eugene M. Zheganin   23 Jan 2003 20:12:02 
 Re: backup   Constantin Stefanov   24 Jan 2003 15:59:55 
 backup   Eugene M. Zheganin   24 Jan 2003 20:03:10 
 Re: backup   Igor Karpov   27 Jan 2003 14:21:57 
 Re: backup   Constantin Stefanov   27 Jan 2003 16:43:57 
 Re: backup   Ilya N Mashkov   30 Jan 2003 00:53:37 
Архивное /ru.unix.bsd/28173e2f73b0.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional