I have little experience with the command line and working directly with servers so far. Before Wordops, I used the VPSSIM console. But the author stopped supporting his product. There was a very convenient function for backing up and restoring sites. It was enough to select a few items and the backup is ready.
I think many people would find this feature useful in Wordops.
For example, implement something like: wo site mysite.com --backup
and wo site mysite.com --restore
How do I backup now:
- First I go to the site folder and zip? example
cd var/www/mysite.com
andzip -r backup.zip htdocs
- then I dump the database
mysqldump -uroot -p mydatabasename > /var/www/mysitedump.sql
- And then I download all this via ftp
I repeat, I'm a completely newbie and I came to this option in stages using Google. I would like to know who how organizes their work on creating backups, and perhaps, or rather, most likely, there are best practices for creating backups. Share your options.