How do I backup a copy of my website files to my local environment?

Linode Staff

I'm looking to copy my website files to my location. How can this be done?

1 Reply

An easy way to backup your data is to use Filezilla to copy files from your server to your location. Another good option is to use the "scp" command. To copy directories recursively, you can use the -R option for the scp command. An example would be the following:

scp -R your_username@ip_address:/path/to_your/website_files /path/to_your/local_directories

The following links will also help you with both options.

https://www.linode.com/docs/tools-reference/file-transfer/filezilla/
https://www.binarytides.com/linux-scp-command/

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