2

I want to fully backup my Mantis tracking system, what is the easiest way to do this? If I only backup the database, does it backup everything on Mantis already?

Thanks!!

RRN
  • 1,127
  • 1
  • 12
  • 37
  • This question is perhaps more suited to the Mantis support forums. It's not related to programming either. – Andomar Aug 12 '12 at 18:06
  • yes, but here should get much faster response, also many topics have its own official forum too.. – RRN Aug 12 '12 at 18:12

1 Answers1

2

To completely backup Mantis, the database state must be saved. In addition, you should back up the following files or directories:

  • the upload directory, if Mantis is configured to store attachments on disk;
  • the config_inc.php file
  • any other custom files, like custom_strings_inc.php or custom_constant_inc.php
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
  • sorry for late reply. Where should I find the 'upload' folder? Also, I can't find the 'custom_strings_inc.php' file, where is it located? Thanks. – RRN Aug 14 '12 at 17:01
  • If there's no custom_strings_inc.php file, there's nothing to backup. The upload folder should exist if `$g_file_upload_method` is set to `DISK` – Robert Munteanu Aug 14 '12 at 19:45
  • The 'upload' folder should be stored in './mantis/' folder, right?? Thanks. – RRN Aug 15 '12 at 08:39
  • Yes, I think so ( I don't use disk uploads ) – Robert Munteanu Aug 15 '12 at 10:11
  • Thanks, I checked the 'config_inc.php' file, but I can't find the '$g_file_upload_method' option, what is the default setting? – RRN Aug 15 '12 at 13:23
  • Sorry, I just found in config_default_inc.php, it is set to: $g_file_upload_method = DATABASE, so upload folder shouldn't exist, right? – RRN Aug 15 '12 at 13:25
  • Yes, if you save attachments to the db there's no upload folder. – Robert Munteanu Aug 15 '12 at 14:10