Whats the best way to back up my VM hosted Wordpress?

Use rsync, it will use incremental backup method.
rsync is kinda advanced. If you're a basic user, just zip all the files, and create a backup of the database (phpMyAdmin has a "backup" utility that makes this easy).
 
rsync is kinda advanced. If you're a basic user, just zip all the files, and create a backup of the database (phpMyAdmin has a "backup" utility that makes this easy).
ok nice. I did that actually on a site I had... just copy the contents into my new wp file?
 
ok nice. I did that actually on a site I had... just copy the contents into my new wp file?

Yeah. Pay attention to other server stuff too though:
  • Do both servers have the same PHP version?
  • Is the php configuration (php.ini) the same?
Generally, your database is the most important part. It holds all the content (blog posts, WP accounts, post revisions, etc.). The files are slightly less important, but you should still back them up. They contain files needed by themes, plugins, etc.

If you want to be extra careful, you can try restoring it to a different server and domain name, and see how it goes. Some minor changes will have to be made - like changing the domain name in the database to match the domain name you're testing on.
 
if are wanting a wordpress backup with database included, there is a popular free Backup plugin on Wordpress plugin directory. Just install and you can get backup right away, as well as set scheduled periodic backups.
 
If it’s your own VM then the safest way is to back the virtual machine up using VEEAM or similar tool.
If it’s not then use a wordpress backup tool
 
Yeah. Pay attention to other server stuff too though:
  • Do both servers have the same PHP version?
  • Is the php configuration (php.ini) the same?
Generally, your database is the most important part. It holds all the content (blog posts, WP accounts, post revisions, etc.). The files are slightly less important, but you should still back them up. They contain files needed by themes, plugins, etc.

If you want to be extra careful, you can try restoring it to a different server and domain name, and see how it goes. Some minor changes will have to be made - like changing the domain name in the database to match the domain name you're testing on.

Yea it should be ok with the same os...
 
Yea it should be ok with the same os...
I've used this method to port from Windows (with MySQL) to CentOS (with MariaDB) and had no extra problems. But I am usually very consistent with my PHP setups. And MariaDB was built with the intention of making it as compatible with MySQL as possible.

If you have problems you can always do a fresh WP install, reinstall the theme, and overwrite the SQL database.

If you're lost, feel free to PM me and I'll help you out.
 
Use VaultPress for two main reasons. It is extremely easy to use, and it offers real-time incremental backups. What this means is that instead of backing up all of your files every day or every hour, it only creates a backup of what has been updated literally within minutes of the update. This is ideal for a large site because it allows us to use server resources efficiently.
 
Back
Top