backup via script [message #187961] |
Wed, 28 October 2020 19:41 |
|
atrebbi
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 |
|
GaryM
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
http://vintagegruen.org
[Updated on: Thu, 29 October 2020 19:12] Report message to a moderator
|
|
|
|
|
Re: backup via script [message #187969 is a reply to message #187966] |
Tue, 03 November 2020 07:50 |
|
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
|
|
|