07-04-2017, 07:19 PM
It's getting those directories from the top of the admin_backup.php file you can see where it's doing /users and /usersc and where the everything option adds /
The problem is that when it adds the array it must be doing it in memory or somewhere else, because everything I've done to exclude folders and files that begin with backup only result in the db being backed up and nothing else. The backup program itself is in the helpers folder. Feel free to take a crack at it. I ran out of time.
I'd also like to make a feature to just select folders, because, for instance, my DMS app has all the code stored in a private repository, so I really only need the receipts people upload to it and the db. There's really no reason to backup userspice itself. I already have that.
The problem is that when it adds the array it must be doing it in memory or somewhere else, because everything I've done to exclude folders and files that begin with backup only result in the db being backed up and nothing else. The backup program itself is in the helpers folder. Feel free to take a crack at it. I ran out of time.
I'd also like to make a feature to just select folders, because, for instance, my DMS app has all the code stored in a private repository, so I really only need the receipts people upload to it and the db. There's really no reason to backup userspice itself. I already have that.