FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » On-Line backup method (Tranfer posts on-the fly)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: On-Line backup method [message #163743 is a reply to message #163739] Mon, 29 November 2010 12:43 Go to previous messageGo to previous message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma:
Senior Member
There are third party software that handles this, although it would be nice to have it, I think setting up a proper backup system is the better choice than to make it builtinto the forum software, since very often (if not always) it requires chron jobs or schedueled tasks on the serverside.

You can always make a forum backup from the admin panel that you can later import but it is not ideal if you have many file attachments or large attachments, for example.

What you want is a SH script that checks the files, copies over newer files into a new dir and leave another folder with redundant info behind - IE keeps a shadow of each week, and then sorts all the new stuff into a "latest backup" where all the files are up to date daily.

What you really want is the database, the messagefiles and the attachments, so every day you do an SQL dump with a chronjob, (not accessible from the web, of course) and then you check for all files that have changed in the DATA_DIR and copy it over into your latest_update folder. Once a week, you copy the entire DATA_ROOT and WWW_ROOT into a folder with a dataname, for example weekly_backup_2010-11-28 in case the daily update gets messed up or you wanna do a rollback.

Then on a rolling backup, monthly, you delete the old backups, and keep the thing rolling.

There should be either installable scripts/software that does this automatically, or you can write your own shellscript.


That's at least how I'd do it if you dont have RAID mirrors, etc.


[Message index]
 
Read Message icon12.gif
Read Message
Read Message
Previous Topic: Question about email loggin
Next Topic: Getting specific share-this icons
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 23:01:53 GMT 2024

Total time taken to generate the page: 0.04763 seconds