Add yams binary to install directory during backup

This commit is contained in:
Roger Gonzalez 2024-12-23 12:15:54 -03:00
parent 6a4832c75d
commit cb849cae2e
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

1
yams
View File

@ -129,6 +129,7 @@ if [ "$option" == "backup" ]; then
backup_date=$(date '+%Y-%m-%d-%s')
backup_file="$destination/yams-backup-$backup_date.tar.gz"
cp $(which yams) $install_directory
tar --exclude='transcoding-temp' -caf "$backup_file" -C "$install_directory" .
echo "Backup completed! 🎉"