From 3c4f6490f2c59331b891d990e5c7098bccf2f696 Mon Sep 17 00:00:00 2001 From: Olaf Lederer Date: Sun, 1 May 2022 16:12:00 +0200 Subject: [PATCH] Information about the new release Check the readme file for more information. --- README.md | 41 +++++++++++++++++++++++------------------ libs/func.php | 4 ++-- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 9c66e78..e249891 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If your web host is based on Apache, the is an option to protect the directory u ## Features * Super fast, a backup from a 500MB website takes only seconds! -* NEW (optional)! Download your backups and use the ZIP file for the site import in Local (by Flywheel) +* Optional: Download your backups and use the ZIP file for the site import in Local (by Flywheel) * Quick setup, using email credentials from existing plugins like Easy SMTP, WP Mail SMTP or Sendgrid * Apache user can authenticate via login/password or IP address * Backup with a single mouse click (full or partly backups) @@ -29,8 +29,19 @@ If your web host is based on Apache, the is an option to protect the directory u ## Installation -Download the files as a zip or via the GIT tools on your server. Place/upload the files into a directory named "mybackup" and place it into the website's public folder. Access the tool and enter your email address and enter your Sendgrid API key or your SMTP credentials. Confirm your email address via the link you get in your mailbox. -If you like to use the authorization feature provided by Apache, than continue to "Apache authentication" and enter your details on that page. If you need the "Download" opttion for your backups, you need to change the variable ENABLE_DOWNLOADS to "true" inside the file *libs > func.php*. +Using Composer, just run the following code within the public HTML directory from your WordPress website: + +``` +composer create-project finalwebsites/backup4wp mybackup +``` + +Replace the directory name "mybackup" with something else, if you like. + +### Manual installation + +Download the the zip file here. Extract and upload the files into a directory named "mybackup" (or some other name) right into the website's public folder. Accesss the tool and enter your email address and enter your Sendgrid API key or your SMTP credentials. Confirm your email address via the link you get in your mailbox. + +If you like to use the authorization feature provided by Apache, than continue to "Apache authentication" and enter your details on that page. If you need the "Download" option for your backups, you need to change the variable ENABLE_DOWNLOADS to "true" inside the file *libs > func.php*. ### Installation snippet for ManageWP users @@ -39,29 +50,23 @@ Use this snippet if you use ManageWP. Just run the code and access the tool and querySingle("SELECT confirmed FROM backupsettings WHERE id = 1"); if ($confirmed == 'no') { $db->exec("UPDATE backupsettings SET confirmed = 'yes' WHERE id = 1");