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!
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!