Backup & Restore ubuntudebiancentos intermediate

Tar Archive Backup

Compress directory into tar.gz archive

Overview

Compress directory into tar.gz archive

Commands

tar -czf backup_$(date +%Y%m%d_%H%M%S).tar.gz {source_dir}

Use Cases

Config file backup, full packaging of website files.