-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
currently, domains not owned by a client are not backed up in client-level migrations, because the admin user doesnt back up nicely. implement this if this issue persists across additional tests:
admindomains=`mysql psa -u admin -p$(cat /etc/psa/.psa.shadow) -Ns -e 'SELECT c.login, d.name FROM clients AS c JOIN domains AS d ON d.cl_id = c.id;' | grep ^admin\s* | awk '{print $2}'`; /usr/local/psa/bin/pleskbackup domains-name $admindomains -c --skip-logs --output-file=/var/migrationtemp/backup.admin.tar