*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> backup (1m)              
Title
Content
Arch
Section
 

Contents


 backup(1M)                                                       backup(1M)




 NAME    [Toc]    [Back]
      backup - backup or archive file system

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/backup [-A] [-archive] [-fsck]

 DESCRIPTION    [Toc]    [Back]
      The backup command uses find(1) and cpio(1) to save a cpio archive of
      all files that have been modified since the modification time of
      /var/adm/archivedate on the default tape drive (/dev/update.src).
      backup should be invoked periodically to ensure adequate file backup.

      The -A option suppresses warning messages regarding optional access
      control list entries.  backup(1M) does not backup optional access
      control list entries in a file's access control list (see acl(5)).
      Normally, a warning message is printed for each file having optional
      access control list entries.

      The -archive option causes backup to save all files, regardless of
      their modification date, and then update /var/adm/archivedate using
      touch(1).

      backup prompts you to mount a new tape and continue if there is no
      more room on the current tape.  Note that this prompting does not
      occur if you are running backup from cron(1M).

      The -fsck option causes backup to start a file system consistency
      check (without correction) after the backup is complete.  For correct
      results, it is important that the system be effectively single-user
      while fsck is running, especially if -fsck is allowed to automatically
      fix whatever inconsistencies it finds.  backup does not ensure that
      the system is single-user.

      You can edit /usr/sbin/backup to customize it for your system.
      Several local values are used that can be customized:

           BACKUPDIRS     specifies which directories to back up recursively
                          (usually /, meaning all directories);

           BACKUPLOG      file name where start and finish times, block
                          counts, and error messages are logged;

           ARCHIVE        file name whose date is the date of the last
                          archive;

           REMIND         file name that is checked by /etc/profile to
                          remind the next person who logs in to change the
                          backup tape;

           FSCKLOG        file name where start and finish times and fsck
                          output is logged.



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 backup(1M)                                                       backup(1M)




      You may want to make other changes, such as whether or not fsck does
      automatic correction (according to its arguments), where cpio output
      is directed, other information logging, etc.

      In all cases, the output from backup is a normal cpio archive file (or
      volume) which can be read using cpio with the c option.

    File Recovery    [Toc]    [Back]
      backup creates archive tapes with all files and directories specified
      relative to the root directory.  When recovering files from an archive
      tape created by backup, you should be in the root directory and
      specify the directory path names for recovered files relative to the
      root directory (/).  When specifying the directory path name for file
      recovery by cpio, do not precede the leading directory name with a
      slash.  If you prefer, you can also use cpio with a -t option to
      determine how files and directories are named on the archive tape
      before attempting recovery.

 WARNINGS    [Toc]    [Back]
      Refer to WARNINGS in cpio(1).

      When cpio runs out of tape, it sends an error to standard error and
      demands a new special file name from /dev/tty.

      To continue, rewind the tape, mount the new tape, type the name of the
      new special file at the system console, and press Return.

      If backup is being run unattended from cron(1M) and the tape runs out,
      backup terminates, leaving the find process still waiting.  Kill this
      process when you return.

 FILES    [Toc]    [Back]
      /var/adm/archivedate          parameterized file names

 SEE ALSO    [Toc]    [Back]
      cpio(1), find(1), touch(1), cron(1M), fbackup(1M), frecover(1M),
      fsck(1M), acl(5).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
updadmin Tru64 Invokes the Update Installation Cleanup utility to remove or archive backup files created by an Upda...
dump FreeBSD file system backup
rdump FreeBSD file system backup
ldahread Tru64 read the archive header of a member of an archive file
ldahread IRIX read the archive header of a member of an archive file
Backup IRIX backup the specified file or directory
vgcfgbackup HP-UX create or update LVM volume group configuration backup file
vgcfgrestor HP-UX display or restore LVM volume group configuration from backup file
dgcfgbackup HP-UX create or update VxVM volume group configuration backup file
dgcfgrestor HP-UX display or restore VxVM disk group configuration from backup file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service