Backup Procedure. Using tar.

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