The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Backup userspice files & table - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: Backup userspice files & table (/showthread.php?tid=622) |
Backup userspice files & table - firestorm - 07-01-2017 I've completed the script for backing up userspice files and db tables, if you want it +1 in the comments, see the gif for preview: Backup userspice files & table - mudmin - 07-01-2017 I'm super interested in this. Care to share??? Backup userspice files & table - firestorm - 07-02-2017 cool here goes, below is a link to a GitHub Gist which contains everything, all you guys will need to do is adapt its html to suit your styling choice and you will need to add a link to it in your navigation. Userspice backup gist Backup userspice files & table - firestorm - 07-02-2017 i would also appreciate feedback on its performance on windows machines & servers both local and remote, in mamp pro and ampps on MacOS localhost I've encountered mysqldump command not found error so db tables don't get dumped, i'd be interested to see if anyone else encounters this. I'm sure its a path issue on the devices not the script. Backup userspice files & table - mudmin - 07-02-2017 I'm going to send you a PM to your email firestorm...thanks for all you're doing. Backup userspice files & table - mudmin - 07-02-2017 I'm guessing your "master" email address is the one I should use? Backup userspice files & table - mudmin - 07-02-2017 That works REALLY well. I love it. I only have one suggestion... I would like to backup everything from the folder BELOW users. So if I have it in localost/userspice/users, I would like to backup everything that is in the userspice folder. Backup userspice files & table - mudmin - 07-02-2017 I've definitely had issues with anything other than leaving the backup path blank. That works great. No issues there. The only thing I'm having now with the idea of backing up everything (all folders) is not recursively backing up the backups. I have to dig a little more into how the whole thing works to figure out how to exclude certain files/folders. Backup userspice files & table - mudmin - 07-02-2017 I've definitely had issues with anything other than leaving the backup path blank. That works great. No issues there. The only thing I'm having now with the idea of backing up everything (all folders) is not recursively backing up the backups. I have to dig a little more into how the whole thing works to figure out how to exclude certain files/folders. Backup userspice files & table - mudmin - 07-02-2017 I've tested this on my various servers and the only issue I'm having is the path issue and not being exactly sure how to stop it from backing up the backups. Other than that, it works great...and once I download it, I just edit the zip file and it's perfect. THANK YOU. |