Skip to content

jeverduzco/aws-lightsail-local-wp-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple bash script to create AWS Lightsail WordPress backups

This script is used to automate local WordPress backups on an AWS Lightsail instance.

How to use it

  1. Connect to your WordPress instance over SSH

  2. Create a file and assign it the correct permissions

    sudo touch backup.sh && sudo chmod u+x backup.sh && sudo chmod 744 backup.sh
  3. Edit the file and: copy and paste the script you need

    sudo nano backup.sh
  4. Execute the script

    sudo bash backup.sh

This will create a copy of your WordPress and your database in:

/var/backups/wordpress

And that's it

License

Distributed under the MIT License. See LICENSE for more information.

Releases

No releases published

Packages

No packages published

Languages