updated external_backup script

This commit is contained in:
naturallaw77 2024-03-18 23:24:38 -07:00
parent 631c1d543f
commit 03c72e55bd

View File

@ -18,7 +18,7 @@ time_stamp=$(date +%Y-%m-%d-%T)
mkdir -p /home/free/Documents/External_Backup_Logs
if ! ssh root@localhost 'rsync -avr /run/media/Second_Drive/BTCEcoandBackup/NixOS_Snapshot_Backup/hourly.0 /"$file"/"$time_stamp" 2>&1 | tee /home/free/Documents/External_Backup_Logs/"$time_stamp"_External_Backup_Log.txt'; then
if ! ssh root@localhost rsync -avr /run/media/Second_Drive/BTCEcoandBackup/NixOS_Snapshot_Backup/hourly.0 /"$file"/"$time_stamp" 2>&1 | tee /home/free/Documents/External_Backup_Logs/"$time_stamp"_External_Backup_Log.txt; then
zenity --error \
--width=500 \