V3 - The big one #71
1
yams
1
yams
@ -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! 🎉"
|
||||
|
Loading…
x
Reference in New Issue
Block a user