How do I backup my my database from my Linode?
I would like to have our code files as a zip file and our database exported from our Linode. How would I do this?
In terms of getting your files into a compressed zip file you would follow the series of commands below.
To zip specific files you would do this:
zip $zipfilename.zip file1 file2 file3 etc
To zip a full directory you would do this:
zip -r $zipfilename.zip dir1
To uncompress you would use this:
Now to address exporting your database from your Linode. We have a handy guide that you can view here that walks you through the steps and different options to back up your database.
I've also included a general backup guide that will include options for using rsync as well here. I hope this helps! if you have any other questions let us know.