How Do I Backup Files in Linux?
Contents

What is the backup command in Linux?

Rsync. It is a command-line backup tool popular among Linux users especially System Administrators. It feature-rich including incremental backups, update whole directory tree and file system, both local and remote backups, preserves file permissions, ownership, links and many more.

How do I backup a folder in Linux?

How to automatically backup files and directories in Linux

  1. Step 1 – archive the content. Backing up your files using tar is very simple using the following command: # tar -cvpzf /backup/backupfilename.tar.gz /data/directory. …
  2. Step 2 – create backup script. Now let’s add tar command in a bash script to make this backup process automatic.

10 февр. 2017 г.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest