Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to backup a whole wordpress site from ubuntu?

There is a program like WinSCP to use it for backup, or it is not necessary?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

On Ubuntu you can use Filezilla (available through the Software Centre, or by runnin to connect to SFTP servers, in the same manner as WinSCP.

This will only backup the files (including uploads, attachments, themes), in order to create a complete backup you will either want to make a database backup, or use WordPress's built-in backup feature.

The built-in feature will backup all "posts, pages, comments, custom fields, terms, navigation menus and custom posts" and can be accessed by navigating to Tools > Export in the administration panel.

share|improve this answer

In the wordpress admin console, go to tools -> export -> download export file.

Alternatively dump the DB to mysqldump & tar up your wordpress directory.

share|improve this answer
    
I use mysqldump and it is a good tool. Do you thing this is the best way to keep backup my WordPress? (I know it is a DB backup tool) –  Vassilis Apr 6 '11 at 11:06
1  
@Vassilis You still need to backup the wordpress folder to save any uploads such as pictures. –  Egil Apr 6 '11 at 11:26

Shell script to backup WordPress.com site. If your WP site is not on wordpress.com it should be easy to adapt the script. That way you can easily do a nightly backup including files automatically.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.