updated external_backup script
This commit is contained in:
parent
631c1d543f
commit
03c72e55bd
@ -18,7 +18,7 @@ time_stamp=$(date +%Y-%m-%d-%T)
|
|||||||
|
|
||||||
mkdir -p /home/free/Documents/External_Backup_Logs
|
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 \
|
zenity --error \
|
||||||
--width=500 \
|
--width=500 \
|
||||||
|
Loading…
Reference in New Issue
Block a user