Backup Procedure. Using tar.

warning: Cannot modify header information - headers already sent by (output started at /home/content/12/9797512/html/index.php:4) in /home/content/12/9797512/html/includes/common.inc on line 153.

Procedures to backup files using the tar linux command.

Steps Overview

  • Programs Needed
  • Procedure
  • Append Files or Folders to an Archive
  • Links of Interest

Programs Needed

tar

Procedure

The following procedure is done at the command line. You will need administrative privilages, as in root priviliges, if you need to back up files or folders outside your own home directory.

Command

tar -vccf <name_of_archive> <file_or_folder_to_archive>

Append Files or Folders to an Archive

To append archives to a previously created archive you need to use the following command and flags.

Command

tar -uvf <name_of_archive> <file_or_folder_to_archive>

Links of Interest

Links used as reference to create this article