How do I backup my my database from my Linode?

Linode Staff

I would like to have our code files as a zip file and our database exported from our Linode. How would I do this?

1 Reply

Hey there,

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:

unzip $zipfilenam.zip

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.

-Blake

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct