WordPress WP Backup Sample Script Rumi, July 26, 2024 #!/bin/bash # your backups will use these filenames. db_backup_name=”tweenpath-db-backup-“`date “+%Y-%m-%d”`”.sql.gz” wpfiles_backup_name=”tweenpath-files-backup-“`date “+%Y-%m-%d”`”.tar.gz” ## 1: database connection info. You can get these details from your wp-config file. db_name=”user_name” db_username=”database” db_password=”password” ## 2: Path to your WordPress Upload and Theme directories. Replace /home/username/ with path to your home directory. wp_upload_folder=”/home/tweenpath/public_html” ## 3:… Continue Reading
Upgrade WordPress without FTP Rumi, March 26, 2017December 23, 2019 Open /wp-config.php Now the first thing you need to do is to open the wp-config.php file from your WordPress root folder (you may access this file from your WordPress installer folder). From the installation folder, the file is located at wordpress/wp-config.php Insert FS_METHOD Paste the following code to your wp-config.php… Continue Reading