New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Install VestaCp and you will have all you ask there.
A wordpress site is composed of two main parts: the website files and the database. Backing up the website files is easy. Something like this would do the trick:
Then for the database, there's a tool called mysqldump (or pgdump if you use PostgreSQL instead of MySQL):
Then just copy your .tar.gz and .sql file out to a safe place. When you need to restore it, you can un-tar your backup and execute the SQL file to restore both the website and the database.
Having said all that, I use rsync to do incremental nightly backups instead of the above method because incremental backups tend to be much smaller and it was easier to automate. The command I use goes a little something like this:
That makes a copy of the entire main disk (minus the stuff that is excluded) and stuffs it in a directory that's mounted on a different disk. After doing it the first time, it only updates whatever changed since the last time it ran. You can also get it to rsync over ssh to do a remote backup without much effort.
Or use docker and make a backup for all your container
If you only want to back up the Wordpress site itself, I just use a plugin called UpdraftPlus which backs up both the site and the database files.
what is docker, is that free?
thanks ,i will have a try
Hi,
2 links here 'where you described are methods for making copies - if you need help then write - we'll help
https://backupftp.pl/knowledgebase/6/SkryptAutomatyczna-kopia-bezpieczenstwa---skrypt-z-poziomu-backupFTPpl.html
https://backupftp.pl/knowledgebase/7/SkryptAutomatyczna-kopia-bezpieczenstwa---skrypt-z-poziomu-wasnej-usugi.html