#!/bin/sh # https://www.ionos.com/digitalguide/server/tools/tar-backup-how-to-create-an-archive-with-linux/ DATE=$(date +%F-%H%M%S) BACKUP_DIR="" SOURCE="" tar --exclude='v' -cvzpf $BACKUP_DIR/backup-$DATE.tar.gz $SOURCE