In the middle of the desert you can say anything you want

11 Dec 2023

Backing up a wordpress installation with wp-cli

Wordpress-Backups mit der WordPress-CLI – emsgold:

# check if upgrading is needed
wp core check-update 
wp plugin status 
wp theme status 

# DB
wp db export

# the entire website files
touch backupname.tar.gz
tar --exclude=backupname.tar.gz -vczf backupname.tar.gz .
Nel mezzo del deserto posso dire tutto quello che voglio.