Composr: include your non-composr folders in the backup

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
User avatar
Stevyn
SysOp
Posts:1776
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
Composr: include your non-composr folders in the backup

Post by Stevyn » Thu May 09, 2019 3:36 pm

TIP: include your non-composr folders in the backups

Hello,

If you have other directories in the composr root for different projects it could be handy to have them included when composr does a full backup.

The composr backup will normally ignore non-composr files.... "... We only backup directories that we know as Composr ones (users put all kinds of stuff in root directories that would not be feasible to include in the backup scope)...."

1. copy sources/backup.php
2. save to sources_custom/backup.php
3. edit sources_custom/backup.php
4. look around line 334, you can add in your own directory
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply