PeopleInside
Regular Pleskian
Username:
TITLE
Issue with Google Drive Backup
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Ubuntu 22.04.4 LTS - Plesk Obsidian
Version 18.0.60
PROBLEM DESCRIPTION
1. The first issue
with Plesk backup is the notification email in the case something went wrong.
Plesk backup is a component that never respect the rule to use a specific email sender for notification so emails get not delivered or goes into spam. Even if in the php ini editor of plesk the line
is used, this never affect the backup that still use my gmail account that is not authorized to send email from a not Gmail server so errors or backup email notification fail to arrive or get flagged as spam or generate a delivery status notification.
Consider also that Gmail will be more severe on this on next months.
For fix this issue I had to take template example from the file /usr/local/psa/admin/share/pmmcli/pmmcli-rc.sample
then on the file pmmcli-rc add and customize the following:
I take this solution from here.
2. The second issue
is about Google Drive backups.
I installed the Google Drive backup 1.4.1-102
I configured it.
Each backup is less then 2 GB for be more clear 1,90 GB
I have 15 GB of free space in my Google Drive account.
First issue is that the Google Drive backup never let me decide how much backup I wanna keep on Google Drive.
I expect to be able to set for example max 7 full backup then erase the last one when you need to save a new backup.
Seems the Google Drive backup not only miss this function but never respect also what I set on Plesk backup.
What happen is that after some days of successfully backup I get an error email where say the space on Google Drive was ended.
It was strange to me this because I was set Plesk to store 7 backup and 1,90 GB x 7 = is about 13, 3 GB of space so was strange find that Google Backup alerted me about not enough space.
To avoid this error I reduced the Plesk backup server settings to keep just 6 full backup, no incremental backup.
Also with this I get error after few days and after clean all existent backup on Google Drive.
In this screen I expect to specify to the Google Drive backup to store only 6 or 7 backups then erase the oldest one.
No settings about this are present.
As you can see the extension detect correctly that I have used 11,02 GB of 15 for backups so looks there is enough space for another backup... but I get the error email
There is not enough disk space at Google Drive at My Drive/My Plesk Ionos to backup creation. At least 4.03 GB free space is required (3.98 GB is available)
If I open the Google Drive space I see there is 6 backup present.
What I expect is that the last backup is erased then the new one is saved but this seems not to happen.
Seems the Google Drive extension is try to add the 7 backup that I never allow in any settings. Plesk is set to store only 6 backup.. I changed from 7 to 6 for avoid this error on Google Drive but seems not only the Google Drive extension miss an option to set how many backups keep on Google Drive but even ignore what is set on Plesk.
End of the story: I need deactivate Google Drive backup for now as there are issues that need to be fixed before I can try to use again.
Seems Google DRive backup is never deleting old backups.
Miss the option to set the maximum backup to keep and wrongly alert me the free space is not enough.
Why 4 GB is required if my backup are only 2 GB and 2 GB are available?
Also if Google drive work correctly the oldest backup is deleted so 2 GB of free space are added so is not true that 11,02 is used because on this space there is also the old backup that the extension need to delete before upload the new backup.
Maybe the deletion is done only after adding the next 7 backup even if I set Plesk to store only 6 backups?
In this case maybe add the max backup settings in the Google Drive can resolve by set up only 5 backup to store on Google Drive?
I don't know.. but currently I have 3,98 GB of free space this can store 2 other backups but your extension is required 4 GB free. I don't understand why if that space can be used but the extension decide I cannot use.
I tried to set from 7 backup to 6 but the space issue is the same so maybe the old backups on Google drive are not deleted and replaced?
STEPS TO REPRODUCE
For the second issue you just can set a Google drive account with 15 GB of space.
Each server backup should be about 1,90 GB and the max backup set to 6
Seems also if there is enough space on Google Drive, the backup are not stored.
ACTUAL RESULT
Having issue with the Google Drive backup because I cannot set a different number of backup to keep, different from local and even if I have enough space for two more backups I cannot see the 6 backup stored correctly.
My Google Drive has 6 backup.
Space is 11.02 GB of 15 GB used
A single backup size is 1.83 GB
there is enought space to save the 7 backups and to delete the old one and to have a max of 6 backup but this is not happening and I'm getting error email and notification about not sufficient space.
EXPECTED RESULT
I expect to be able to set max backup to store on Google Drive.
This settings should be different from the number of backups that can be stored in the local storage.
I expect to use all Google Drive free space for save backups and not see that 4 GB of space is required.
My Google Drive has 6 backup present.
Each backup are less then 2 GB so in the Google drive there are space for other 2 additional backup so for 8 backups.
I reduced the max backup on Plesk from 7 to 6 to avoid the Google Drive error about space but the issue still be present.
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Issue with Google Drive Backup
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Ubuntu 22.04.4 LTS - Plesk Obsidian
Version 18.0.60
PROBLEM DESCRIPTION
1. The first issue
with Plesk backup is the notification email in the case something went wrong.
Plesk backup is a component that never respect the rule to use a specific email sender for notification so emails get not delivered or goes into spam. Even if in the php ini editor of plesk the line
Code:
[notification]
senderAddress=
is used, this never affect the backup that still use my gmail account that is not authorized to send email from a not Gmail server so errors or backup email notification fail to arrive or get flagged as spam or generate a delivery status notification.
Consider also that Gmail will be more severe on this on next months.
For fix this issue I had to take template example from the file /usr/local/psa/admin/share/pmmcli/pmmcli-rc.sample
then on the file pmmcli-rc add and customize the following:
Code:
# Notification mail 'mail-from' parameter
NOTIFICATION_MAIL_FROM '[email protected]'
I take this solution from here.
2. The second issue
is about Google Drive backups.
I installed the Google Drive backup 1.4.1-102
I configured it.
Each backup is less then 2 GB for be more clear 1,90 GB
I have 15 GB of free space in my Google Drive account.
First issue is that the Google Drive backup never let me decide how much backup I wanna keep on Google Drive.
I expect to be able to set for example max 7 full backup then erase the last one when you need to save a new backup.
Seems the Google Drive backup not only miss this function but never respect also what I set on Plesk backup.
What happen is that after some days of successfully backup I get an error email where say the space on Google Drive was ended.
It was strange to me this because I was set Plesk to store 7 backup and 1,90 GB x 7 = is about 13, 3 GB of space so was strange find that Google Backup alerted me about not enough space.
To avoid this error I reduced the Plesk backup server settings to keep just 6 full backup, no incremental backup.
Also with this I get error after few days and after clean all existent backup on Google Drive.
In this screen I expect to specify to the Google Drive backup to store only 6 or 7 backups then erase the oldest one.
No settings about this are present.
As you can see the extension detect correctly that I have used 11,02 GB of 15 for backups so looks there is enough space for another backup... but I get the error email
There is not enough disk space at Google Drive at My Drive/My Plesk Ionos to backup creation. At least 4.03 GB free space is required (3.98 GB is available)
If I open the Google Drive space I see there is 6 backup present.
What I expect is that the last backup is erased then the new one is saved but this seems not to happen.
Seems the Google Drive extension is try to add the 7 backup that I never allow in any settings. Plesk is set to store only 6 backup.. I changed from 7 to 6 for avoid this error on Google Drive but seems not only the Google Drive extension miss an option to set how many backups keep on Google Drive but even ignore what is set on Plesk.
End of the story: I need deactivate Google Drive backup for now as there are issues that need to be fixed before I can try to use again.
Seems Google DRive backup is never deleting old backups.
Miss the option to set the maximum backup to keep and wrongly alert me the free space is not enough.
Why 4 GB is required if my backup are only 2 GB and 2 GB are available?
Also if Google drive work correctly the oldest backup is deleted so 2 GB of free space are added so is not true that 11,02 is used because on this space there is also the old backup that the extension need to delete before upload the new backup.
Maybe the deletion is done only after adding the next 7 backup even if I set Plesk to store only 6 backups?
In this case maybe add the max backup settings in the Google Drive can resolve by set up only 5 backup to store on Google Drive?
I don't know.. but currently I have 3,98 GB of free space this can store 2 other backups but your extension is required 4 GB free. I don't understand why if that space can be used but the extension decide I cannot use.
I tried to set from 7 backup to 6 but the space issue is the same so maybe the old backups on Google drive are not deleted and replaced?
STEPS TO REPRODUCE
For the second issue you just can set a Google drive account with 15 GB of space.
Each server backup should be about 1,90 GB and the max backup set to 6
Seems also if there is enough space on Google Drive, the backup are not stored.
ACTUAL RESULT
Having issue with the Google Drive backup because I cannot set a different number of backup to keep, different from local and even if I have enough space for two more backups I cannot see the 6 backup stored correctly.
My Google Drive has 6 backup.
Space is 11.02 GB of 15 GB used
A single backup size is 1.83 GB
there is enought space to save the 7 backups and to delete the old one and to have a max of 6 backup but this is not happening and I'm getting error email and notification about not sufficient space.
EXPECTED RESULT
I expect to be able to set max backup to store on Google Drive.
This settings should be different from the number of backups that can be stored in the local storage.
I expect to use all Google Drive free space for save backups and not see that 4 GB of space is required.
My Google Drive has 6 backup present.
Each backup are less then 2 GB so in the Google drive there are space for other 2 additional backup so for 8 backups.
I reduced the max backup on Plesk from 7 to 6 to avoid the Google Drive error about space but the issue still be present.
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug