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

Home » FUDforum Development » FUDforum 3.0+ » backup via script
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
backup via script [message #187961] Wed, 28 October 2020 19:41 Go to next message
atrebbi is currently offline  atrebbi   United States
Messages: 11
Registered: June 2020
Karma: 0
Junior Member
Is there a way to take a backup (forum dump) via command line with a script ?

(i'm getting errors due to the large size of forums,
i.e.:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4096 bytes) in /Volumes/DATI/ServicesData/FUDforum/include/theme/default/db.inc on line 110
)

[Updated on: Wed, 28 October 2020 19:44]

Report message to a moderator

Re: backup via script [message #187963 is a reply to message #187961] Thu, 29 October 2020 19:12 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
I know of no script to take backups dumps. Our forum is roughly 2gb is size currently. Backup via the gui take 3 tries to get a complete dump. That said I uncheck gzip compression and check skip the search index for my dumps.

I'd love to see a backup and restore option via the command line, maybe someday.
Cheers!
Gary


[Updated on: Thu, 29 October 2020 19:12]

Report message to a moderator

Re: backup via script [message #187965 is a reply to message #187961] Fri, 30 October 2020 09:12 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes, see http://cvs.prohost.org/index.php?title=Backup
Re: backup via script [message #187966 is a reply to message #187965] Fri, 30 October 2020 21:30 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
Thank you Frank!

Re: backup via script [message #187969 is a reply to message #187966] Tue, 03 November 2020 07:50 Go to previous message
atrebbi is currently offline  atrebbi
Messages: 11
Registered: June 2020
Karma: 0
Junior Member
I have tried, but the backup does not terminate ; it creates a file that goes on growing, up to more than 100gb, but never stops; i have tried to run a consistency check of the forum, but the problem continues ; is there a way to understand what it's douing ?

Backup progress
Backup forum files:
... backup DATA_DIR/ (0 MB)
... backup DATA_DIR/messages/ (987.23 MB)
... backup DATA_DIR/cache/ (0.03 MB)
... backup DATA_DIR/plugins/ (0.05 MB)
... backup DATA_DIR/include/ (0.29 MB)
... backup DATA_DIR/thm/ (0 MB)
... backup DATA_DIR/scripts/ (0.23 MB)
... backup DATA_DIR/files/ (0.11 MB)
^C
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: automatically close old topic
Next Topic: new forums created via api are not visibile
Goto Forum:
  

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

Current Time: Thu Nov 21 09:56:40 GMT 2024

Total time taken to generate the page: 0.02668 seconds