• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Dropbox Backup Extension for Plesk 11.5

EugeneKazakov

Regular Pleskian
Staff member
Hello,

Parallels does not provide technical support services for these Plesk extensions. The extensions are intended to serve as examples of how certain technical tasks can be accomplished.
If you need assistance with an extension, ask on this forum.

Backup into Cloud is a wanted feature for a lot of Plesk customers:
http://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/3539762-backup-into-cloud
http://forum.parallels.com/showthread.php?t=262215

Let me announce extension providing backup and restore functions for website's content and configuration into the Dropbox storage.

Dropbox backup 1.0
Download: http://ext.plesk.com/packages/9f3b75b3-d04d-44fe-a8fa-7e2b1635c2e1-dropbox-backup
Screenshots:
1.png

How to use:
1. Download and install extension (in Service Provider view see Extensions in left menu, in Power User view see Server tab > Extensions).
2. Click 'Dropbox Backup' on the dashboard (Websites & Domains tab).
3. Authorize the application to use the Dropbox folder.
4. Now you can backup and restore the website.

Features:
* Backup immediately for the subscription.
* Scheduled backup (daily) for the subscription.
* Restore backup (choose one of 10 previous versions) for the subscription.
* Files are rotated by Dropbox: storage never be full.
* Dropbox notify about file update:
dropbox-notification-windows.png

Known Problems and Limitations:
- Linux OS is supported only.
- Server/customer/reseller backup/restore is not implemented.
- Unable to restore backup on a server different from the one it was created.
- Unable to choose a period for scheduled backup (daily period only).

Your feedback will be greatly appreciated!

P.S. Soon there will be an article about how does it work and how to develop similar extensions.

---

Here is an article about how the extension works, some technical details, how to extend it in order to fit your requirements:
http://devblog.plesk.com/2013/10/dropbox-backup-extension/
 
Last edited:
Will this Extension work in parallels plesk automation 11.5 after release it ?
 
Last edited:
Will this Extension work in parallels plesk automation 11.5 after release it ?
No, it wont.
PPA backup capabilities are restricted due to the distributed environment. You cannot upload/download backup file, CLI utilities are disabled - but this is the foundation of the extension.
 
Hello,
I keep getting: Error: Unable to install the extension: Corrupted meta.xml file.
Not sure whats going on.
Thanks
 
Hello,
I keep getting: Error: Unable to install the extension: Corrupted meta.xml file.
Not sure whats going on.
Thanks

Try to install extension "example": http://autoinstall.plesk.com/extensions/packages/example-1.7-1.zip
Have you gotten the same error?

The error means that the file meta.xml copied from package to temporary directory /usr/local/psa/tmp/module*/meta.xml is not readable or contains invalid XML data.
You can try the following:
run in console:
while :; do [ -d /usr/local/psa/tmp/module* ] && [ -f /usr/local/psa/tmp/module*/meta.xml ] && ls -la /usr/local/psa/tmp/module*/meta.xml && cat /usr/local/psa/tmp/module*/meta.xml && break; done​
try to install extension
check the result: was the file found? was it owned by psaadm:psaadm? was XML valid?
 
what sort of encryption does this use? i never store anything not encrypted on public clouds, so i need to know if the backups are encrypted and how.
 
what sort of encryption does this use? i never store anything not encrypted on public clouds, so i need to know if the backups are encrypted and how.
Backup is stored without encryption.

The main idea of the extension is to create alternative for the personal FTP repository. It's functionality based on CLI pleskbackup.
In Plesk Backup Manager you can specify a password for encryption, but only sensitive data (passwords) will be protected. Site's content is plain.
We are going to use the same option for passwords encryption in the extension, but it is not implemented now.
 
Backup is stored without encryption.

The main idea of the extension is to create alternative for the personal FTP repository. It's functionality based on CLI pleskbackup.
In Plesk Backup Manager you can specify a password for encryption, but only sensitive data (passwords) will be protected. Site's content is plain.
We are going to use the same option for passwords encryption in the extension, but it is not implemented now.

well, i am in charge of security of my own server. and i am in charge of security of my personal FTP repository (my home NAS)

however, as i can not admin/modify/do anything about dropbox security, i would NEVER use it for sensitive data. not password, not plain content, nothing.



so... is there, or will there be a way to encrypt plesk backups? be it regular backups or dropbox ones.
 
Try to install extension "example": http://autoinstall.plesk.com/extensions/packages/example-1.7-1.zip
Have you gotten the same error?

The error means that the file meta.xml copied from package to temporary directory /usr/local/psa/tmp/module*/meta.xml is not readable or contains invalid XML data.
You can try the following:
run in console:
while :; do [ -d /usr/local/psa/tmp/module* ] && [ -f /usr/local/psa/tmp/module*/meta.xml ] && ls -la /usr/local/psa/tmp/module*/meta.xml && cat /usr/local/psa/tmp/module*/meta.xml && break; done​
try to install extension
check the result: was the file found? was it owned by psaadm:psaadm? was XML valid?

Hello,
That worked perfectly I now have it installed! I'll start playing around with it soon.
-Matt
 
I've tested myself this extension and everything is working perfectly, however I have tree questions:
1) Lets say my dropbox account have 2GB, but my subscription has 4GB, what will happen? Will extension try to make backup and then failed or extension have information about space on dropbox?
2) If you schedule daily backup, if some error occours, will client/admin receive email what happened?
3) On link above:
"Resume":
Files are rotated by Dropbox: your storage will never be full.

Can someone explain this, I didn't fully understood.
 
1) Lets say my dropbox account have 2GB, but my subscription has 4GB, what will happen? Will extension try to make backup and then failed or extension have information about space on dropbox?
The backup task will be created, you will see it in 'Current tasks' list.
But it will fail with error '507 User is over Dropbox storage quota.' as it is mentioned in Dropbox Core API

2) If you schedule daily backup, if some error occours, will client/admin receive email what happened?
No emails. You can find errors in 'Current tasks' list.
Every morning I see Dropbox client's notification about updated files. In one fine day I will miss it, I gonna check tasks list.

Files are rotated by Dropbox: your storage will never be full.

Can someone explain this, I didn't fully understood.
The most frequent cause of exceeding a free space on both local and FTP storage is rotating: amount of file copies is too large.
Dropbox does not sum the size of previous file versions, but your local filesystem does.
 
Awesome, I understand now everything. Thank you for the fast reply.

Two more questions:
1) does this backup execute with low priority or?
2) does scheduled backup have something like normal plesk backup settings (Maximum number of simultaneously running scheduled backup processes) - does this setting in plesk efect also dropbox scheduled backup tasks?
 
Last edited:
Hello,

I'm trying to install the extension but I get this error:

Error: No se pudo instalar la extensión: Executing /usr/local/psa/admin/plib/modules/dropbox-backup/scripts/post-install.php failed: ERROR: PleskUtilException: /usr/bin/crontab execution failed: "crontab9Cks7x":20: bad command errors in crontab file, can't install. System error: crontab execution error (Agent.php:212)

Can I you can help?

thanks
 
I tried installing the extension mentioned, and I still am having issues. Possibly an issue on my end?
 
1 year has passed and i still haven't got any sort of official reply to my previous questions (scroll up and read)
 
Back
Top