I have decided to backup this blog. First time. So following instructions from wordpress.
- 1- Backup Database:
https://your_domain_or_IP/phpmyadmin
- 2- Backup webserver files
root@vps:/var/www# ls html wordpress root@vps:/var/www# cd .. root@vps:/var# tar zcvf web-backup.tgz www
- 3- Transfer the tgz and the sql file to a folder in my laptop that is backed-up to external hard drive.
/blog-backup$ tree . ├── apache-files │ └── web-backup-20200707.tgz └── mysql └── blog-backup-20200707.sql