Report this

What is the reason for this report?

How to backup server content?

Posted on June 16, 2015

Hi,

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

Thanks



This textbox defaults to using Markdown to format your 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.