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

Home » FUDforum » How To » Forum backup
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Forum backup [message #34442] Mon, 30 October 2006 05:43 Go to next message
Alexey is currently offline  Alexey   Norway
Messages: 70
Registered: June 2005
Karma: 0
Member
Why "Make forum datadump" on linux shell. Where is the bash script?
Re: Forum backup [message #34487 is a reply to message #34442] Sun, 05 November 2006 17:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to comment out a single line in the dump script (documented at the top of the script) and you'll be able to make data dump on the command line.

FUDforum Core Developer
Re: Forum backup [message #34681 is a reply to message #34487] Tue, 14 November 2006 16:14 Go to previous messageGo to next message
Alexey is currently offline  Alexey   Norway
Messages: 70
Registered: June 2005
Karma: 0
Member
Ilia писал(а) Вск, 05 Ноября 2006 12:11

You need to comment out a single line in the dump script (documented at the top of the script) and you'll be able to make data dump on the command line.


admdump.php?
I don't known why comment and run it Crying or Very Sad
Re: Forum backup [message #34698 is a reply to message #34681] Wed, 15 November 2006 02:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes, that is the script you need. If you open the file you'll find instructions at the top.

FUDforum Core Developer
Re: Forum backup [message #34708 is a reply to message #34698] Wed, 15 November 2006 17:11 Go to previous messageGo to next message
Alexey is currently offline  Alexey   Norway
Messages: 70
Registered: June 2005
Karma: 0
Member
I am seek two lines:
        // fud_use('adm_cli.inc', 1); // this contains cli_execute() function.
        // cli_execute('');

Is the work "Make forum datadump" in admin panel after uncomment this lines?
Re: Forum backup [message #34709 is a reply to message #34708] Wed, 15 November 2006 17:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to remove the // in front of these two lines if you intend to run the dump script on the command line. To have it work via the admin control panel you do not need to do anything.

FUDforum Core Developer
Re: Forum backup [message #34716 is a reply to message #34709] Wed, 15 November 2006 17:43 Go to previous message
Alexey is currently offline  Alexey   Norway
Messages: 70
Registered: June 2005
Karma: 0
Member
I think add start this php file in cron job and run this script in admin panel too Cool
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New User Import
Next Topic: Posting Date and maillist.php
Goto Forum:
  

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

Current Time: Thu Nov 21 20:51:36 GMT 2024

Total time taken to generate the page: 0.02212 seconds