Backup Projects

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
speedyrazor
Posts: 9
Joined: 20 Mar 2010, 13:49

Backup Projects

Post by speedyrazor »

Hi, I have just updated to 1.2.8 and really need to 'backup' certain projects.
I think we have in the region of 400+ projects, probably about 300 of them with the enabled tick box un-ticked (disabled), but still in the projects list.
We constantly create new projects but do not want to delete old projects as we may want to reference it one day.
So we would love to backup on a project by project basis so they disappear from the projects list but would be easy to import / restore that project back in to reference if needed.
Is there any workable solution to this currently?

Kind regards,
Kev.
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Backup Projects

Post by atrol »

speedyrazor wrote:about 300 of them with the enabled tick box un-ticked (disabled), but still in the projects list.
I am not able to reproduce this behaviour. I tried 3 public projects A, B and C, disabled C and get just A and B in the project selection.
Please use Search before posting and read the Manual
speedyrazor
Posts: 9
Joined: 20 Mar 2010, 13:49

Re: Backup Projects

Post by speedyrazor »

atrol wrote:
speedyrazor wrote:about 300 of them with the enabled tick box un-ticked (disabled), but still in the projects list.
I am not able to reproduce this behaviour. I tried 3 public projects A, B and C, disabled C and get just A and B in the project selection.
No, you can't see them in the public project list, just when you create a new project or try and edit another you have to sift through 400+projects.
We may never want to reference the completed projects again, but just in case we would need to back them up and be able to restore them on an individual project by project basis.

Cheers.
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Backup Projects

Post by atrol »

as a workaround:
Change line 95 of file manage_proj_page.php from

Code: Select all

	$t_projects = user_get_accessible_projects( auth_get_current_user_id(), true );
to

Code: Select all

	$t_projects = user_get_accessible_projects( auth_get_current_user_id(), false);
If you want to reactive a project you can
a) temporary undo the change of manage_proj_page.php or
b) change the column "enabled" in database table "mantis_project_table" from 0 to 1 for the desired project

Are you aware, that you can sort the projects by clickung on the "Enabled" link?
Maybe this is enough functionality and you don't need the change.
Please use Search before posting and read the Manual
speedyrazor
Posts: 9
Joined: 20 Mar 2010, 13:49

Re: Backup Projects

Post by speedyrazor »

Hi atrol, many thanks for your suggestion, although the 300+ and counting projects are still festering in the ever growing database and at sometime in the future I will have 1000+ completed projects bulking up my database.
This would be an invaluable feature if you could select a project and export it from the database to a single file and then have the option to import it back in if need be.
I'm sure I'm not the only one who would use this feature constantly.

Kind regards,
Kev.
Post Reply