Add yams binary to install directory during backup
This commit is contained in:
parent
6a4832c75d
commit
cb849cae2e
1
yams
1
yams
@ -129,6 +129,7 @@ if [ "$option" == "backup" ]; then
|
|||||||
backup_date=$(date '+%Y-%m-%d-%s')
|
backup_date=$(date '+%Y-%m-%d-%s')
|
||||||
backup_file="$destination/yams-backup-$backup_date.tar.gz"
|
backup_file="$destination/yams-backup-$backup_date.tar.gz"
|
||||||
|
|
||||||
|
cp $(which yams) $install_directory
|
||||||
tar --exclude='transcoding-temp' -caf "$backup_file" -C "$install_directory" .
|
tar --exclude='transcoding-temp' -caf "$backup_file" -C "$install_directory" .
|
||||||
|
|
||||||
echo "Backup completed! 🎉"
|
echo "Backup completed! 🎉"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user