WordPress Backups with WP-CLI and TAR
The paths used may be server specific. Adjust accordinarly. Simple commands and bash scripts useful for quick backups of Wordpress.
The paths used may be server specific. Adjust accordinarly. Simple commands and bash scripts useful for quick backups of Wordpress.
#!/bin/bash | |
CYAN="$(tput bold; tput setaf 6)" | |
RESET="$(tput sgr0)" | |
clear | |
if command -v python3 > /dev/null 2>&1; then | |
if [ $(python3 -c "print('ye')") = "ye" ]; then | |
clear |