How to backup server content?


How can I save the content of my server (files, database) to my computer?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

For a one-off or infrequent backup you could dump the database and FTP the files. If you’re looking for a more regular process, you could consider a CRON job to dump your database, put the dumped file into a directory and Rsync your files and database dumps. Rsync is nice because it has parameters that will only copy files that have changed, so you’re not re-copying everything each time. There are other solutions out there too. Bacula is one that I believe uses Rsync underneath.