added new external backup app and update other apps

This commit is contained in:
2024-03-13 16:00:01 -07:00
parent 830996a69b
commit fc7b2694c8
9 changed files with 380 additions and 5 deletions

View File

@ -0,0 +1,23 @@
Welcome to the Sovran_SystemsOS External Backup App!
1. Make sure your external hard drive is plugged into your Sovran Pro in one of the open USB ports
2. The external hard drive should be at least 500GB in size
3. The external hard drive needs to be "exFAT" formatted
This external backup app will run through a few stages. At the beginning, it will ask you to choose where to put the backup file on the attached external hard drive. Click the external hard drive from the file window and/or a folder of your liking inside the attached external hard drive to proceed.
It could take up to 4 hours for it to finish depending on the amount of data stored on your Sovran Pro and the speed of your external hard drive. Be patient...
When it is finished, a final pop up will state "All Finished! Please eject the drive before removing it from your Sovran Pro."
All updates come from these links:
https://git.sovransystems.com/Sovran_Systems/Software
Don't Trust, Verify!
After you have checked that the software is safe from the links above, then click "OK."
Enjoy!

View File

@ -0,0 +1,53 @@
#!/usr/bin/env bash
CHOOSE () {
file=$(zenity --file-selection --directory --title="Sovran_SystemsOS External Backup - CHOOSE BACKUP LOCATION")
}
SAGE () {
time_stamp=$(date +%Y-%m-%d-%T)
if ! ssh root@localhost rsync -ar /run/media/Second_Drive/BTCEcoandBackup/NixOS_Snapshot_Backup/hourly.0 /"$file"/"$time_stamp"; then
zenity --error \
--width=700 \
--title="Sovran_SystemsOS External Backup" \
--text="Error Could Not Backup."
else
zenity --info \
--ellipsize \
--no-wrap \
--width=700 \
--title="Sovran_SystemsOS External Backup" \
--text="All Finished! Please eject the external drive before removing it from your Sovran Pro."
fi
}
#########
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_External_Backup/External%20Backup Source%20Files/Intro.md" |
zenity --text-info \
--width=1000 \
--height=750 \
--title="Sovran_SystemsOS External Backup"
if [[ $? -eq 1 ]]; then
exit 1
else
CHOOSE
SAGE | zenity --progress --no-cancel --auto-close --width=660 --pulsate --text="Backing up now. It could take up to 4 hours for it to finish depending on the amount of data stored on your Sovran Pro and the speed of your external hard drive. Be patient..." --title="Sovran_SystemsOS External Backup"
fi
exit 0