Create a Compressed tar.gz Backup
Creates a compressed tar.gz archive of a directory. -c creates, -z compresses with gzip, -v lists processed files, -f specifies the output file.
When you need this: Before server migrations or when archiving a deployment for later rollback.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.