• Resolved Rajat

    (@rajatwp)


    Is it a good idea to backup the files and database to a folder in local server only, or it’s a must to keep separate backups ready somewhere else?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Now on your own topic I can contribute. 😉

    That link Krishna provided is really good but the question I have for you is “how valuable is your WordPress site to you?

    If your host provides complete backups of your server and you can get them to restore the data in the event of something really bad happening, then a directory on the same server should be fine.

    You have a relationship with your host provider and as long as that’s good you’ll be alright.

    If you want to be more self sufficient and not rely on your host then you may want to duplicate that backup somewhere else. That doesn’t mean that you don’t trust your host, it just means that you want to remove a dependency on someone else.

    If you want to have the ability to pick up and move/restore to another server without involving your host provider, then backing up to another location (not your web server) is the way to go.

    I backup every night to another server because I can run cron jobs on my VPS. I use a variant of this script to do the job.

    http://www.tamba2.org.uk/wordpress/cron/

    On another server I run a simple cron job to retrieve the backup and delete old backups older than 30 days. All I need to do is make sure I have enough disk space and check my backups by restoring them to that other server periodically.

    Once you’ve setup an automated backup, it will generally take care of itself. You’ll just need to check from time to time that the backups are complete and can be restored.

    Thread Starter Rajat

    (@rajatwp)

    @krishna Thanks for the link.Few doubts cleared.

    If you want to be more self sufficient and not rely on your host then you may want to duplicate that backup somewhere else.

    @jan Yes I would definitely like to be more self sufficient.I am using a plugin BackWPup to backup my files and database to local server daily.It keeps my last three backups and deletes old ones.Should I keep more than last 3 backups?The only thing I wanted to know is if I should and must store a copy of the same somewhere else.I can see it’s a good idea to keep a copy every night.Thanks for clearing my doubts and sharing the script.I will check if I can use it somehow.

    You’ll just need to check from time to time that the backups are complete and can be restored.

    @jan Where to check if the backups can be restored?

    Thanks Guys 🙂

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Should I keep more than last 3 backups?

    That’s up to you. I keep 30 because I’m sufficiently paranoid. 😉 Also I have the disk space and since it’s automated 3 or 30 isn’t really much of a difference.

    I’ve never had to restore more than the last backup, so the last three should be fine.

    As to where to restore: if you have access to another server, that would be ideal. If not then there is always WAMP or MAMP setups that you can restore to.

    http://codex.wordpress.org/Installing_WordPress#Installing_WordPress_on_your_own_Computer

    As long as you can restore the files and database somewhere else, then you’ll be very self-sufficient.

    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    Thread Starter Rajat

    (@rajatwp)

    As to where to restore: if you have access to another server, that would be ideal. If not then there is always WAMP or MAMP setups that you can restore to.

    Good information Jan and Thanks for sharing again. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is it a good idea to backup the files and database to local server only?’ is closed to new replies.