• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk Backup to FTP AND Local Server

Florian_M

New Pleskian
i want to backup my plesk 11 ubuntu 12.04 server to both ftp and local storage.

At the Moment, my local Storage is organized by Plesk (via Backup GUI). The Problem is that i have to choose between local OR FTP Storage and can't figure out how to send the backup to both (local + ftp).

At the moment, i've realized it in this way:
- Via GUI i've chosen "save to server repository"
- I've created a command line Script which get's executed at night via Cron:
/usr/local/psa/bin/pleskbackup --server --output-file=ftp://xy.xyz.xz/`date '+%Y-%m-%d'`/backup.tar.gz \
--ftp-login='[email protected]' --ftp-password='myPassword' --description=FTPBackup \
-s 2G

The Problem: Plesk now generates 2 Backups at night which is really CPU intensive. Also, I have to store both backups on my local server for short time (after generating the backup, it's moved to ftp i think?), so i'm soon reaching my hdd capacity at night.

My Question:
Is there any way to send ONE Backup to Both FTP + Server Repository? Is this possible via GUI / Command line? I don't want to create 2 Backups at night because it slows down my server...

Thanks for any suggestions!
 
It is better rewrite your script which will copy all content from $DUMP_DIR to ftp.
And use rsync instead of ftp as secure method of transfering data (SSH). And it is faster bacause it copies only changed files. Or you can use lftp to syncronize local dir with remote ftp dir.

And I must say that Plesk backup better to use in case if you need to restore some part of information, like server configuration or client's domain, a couple of reseller's subscription, etc...

The ideal way to make server's backup is to place Plesk inside virtual container or virtual machie and make every day backup of whole VM (CT). In this case you can significantly faster to restore server if something was wrong with HDD or else...

It is not advised to rely solely on Plesk backup if you do not backup of whole system.
 
Back
Top