Hi @sylvertech
Looks like we forgot to mention it, we will add it soon.
Yes our plugin supports multisite backups & restoration.
On such environment it will backup entire site no matter what.
It can be managed from any sub site.
If you’re doing migration make sure both sites are running on multisite.
Otherwise it may not work since multisite requires additional configuration.
Let me know if you need more pieces of information π
Thank you
Thanks for your fast reply.
I will install it and get back to you if any further questions.
OK, I installed the Plugin in my Multisite environment,
then tried to make a simple “Backup Now” and nothing happens…
Checked your Debug Log file and found the following messages:
[2021-02-22 22:17:50] [LOG] Plugin has been activated
[2021-02-22 22:18:01] [ERROR] POST error:
[2021-02-22 22:18:01] [ERROR] UnexpectedValueException:
DirectoryIterator::__construct(/home/sylvertech/public_html/wp-content/uploads/*.*): failed to open dir: Too many levels of symbolic links in /home/sylvertech/public_html/wp-content/plugins/backup-backup/includes/scanner/files.php:116
Stack trace:
#0 /home/sylvertech/public_html/wp-content/plugins/backup-backup/includes/scanner/files.php(116): DirectoryIterator->__construct()
#1 /home/sylvertech/public_html/wp-content/plugins/backup-backup/includes/scanner/files.php(130): BMI\Plugin\Scanner\BMI_FileScanner::scanDirectorySizeOnly()
#2 /home/sylvertech/public_html/wp-content/plugins/backup-backup/includes/scanner/files.php(362): BMI\Plugin\Scanner\BMI_FileScanner::scanDirectorySizeOnly()
#3 /home/sylvertech/public_html/wp-content/plugins/backup-backup/includes/ajax.php(165): BMI\Plugin\Scanner\BMI_FileScanner::scanFiles()
#4 /home/sylvertech/public_html/wp-content/plugins/backup-backup/includes/ajax.php(47): BMI\Plugin\BMI_Ajax->dirSize()
#5 /home/sylvertech/public_html/wp-content/plugins/backup-backup/includes/initializer.php(108): BMI\Plugin\BMI_Ajax->__construct()
#6 /home/sylvertech/public_html/wp-includes/class-wp-hook.php(287): BMI\Plugin\Backup_Migration_Plugin->ajax()
#7 /home/sylvertech/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#8 /home/sylvertech/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
#9 /home/sylvertech/public_html/wp-admin/admin-ajax.php(184): do_action()
#10 {main}
At first sight, there is maybe 5 or 6 directories under the “/uploads/sites/” each ones containing some repetitive (same names) directories, but none “symbolic links” under these directories.
What’s the problem???
Hi @sylvertech
Not sure which plugin created link inside upload directory but;
Here’s good explanation why this happens: https://unix.stackexchange.com/a/180532
In this case I’d suggest you to find all links (if any) under this directory:
/home/sylvertech/public_html/wp-content/uploads
Once you find them check make sure it’s not a link but hard folder/file.
This error is registered by size scanner module and as you probably know it’s not possible to do any operation on symlink especially as PHP process when it’s outside web root directory.
What’s your structure?
Default is mostly:
/var/www/html/<domain_name>/<wordpress files (multisite?)>
/var/www/html/<second_domain_name>/<different wordpress install>
Is your WordPress installation clear or has some additions?
Let me know
Thank you π