This commit is contained in:
Heavybullets8 2022-07-28 13:50:34 -06:00
parent ca8d3f5b4e
commit 88e047e56a
2 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,7 @@ done
export -f sync export -f sync
prune(){ prune(){
echo -e "\n\n🄳 🄾 🄲 🄺 🄴 🅁 🄿 🅁 🅄 🄽 🄴" echo -e "\n\n🄿 🅁 🅄 🄽 🄴"
echo "Pruned Docker Images" echo "Pruned Docker Images"
docker image prune -af | grep "^Total" || echo "Failed to Prune Docker Images" docker image prune -af | grep "^Total" || echo "Failed to Prune Docker Images"
} }

View File

@ -146,8 +146,7 @@ done
[[ "$restore" == "true" ]] && restore && exit [[ "$restore" == "true" ]] && restore && exit
[[ "$mount" == "true" ]] && mount && exit [[ "$mount" == "true" ]] && mount && exit
if [[ "$backup" == "true" && "$sync" == "true" ]]; then # Run backup and sync at the same time if [[ "$backup" == "true" && "$sync" == "true" ]]; then # Run backup and sync at the same time
echo "Running the following two tasks at the same time" echo "🅁 🅄 🄽 🄽 🄸 🄽 🄶 🅃 🄰 🅂 🄺 🅂 :"
echo "------------------------------------------------"
echo -e "Backing up ix-applications dataset\nSyncing catalog(s)" echo -e "Backing up ix-applications dataset\nSyncing catalog(s)"
echo -e "This can take a LONG time, please wait for the output..\n" echo -e "This can take a LONG time, please wait for the output..\n"
backup & backup &