• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Change tmp backup directory

Erwan

Regular Pleskian
Server operating system version
AlmaLinux 9.4
Plesk version and microupdate number
18.0.60
Hi all,

We have just set up a new server with 2 disks: a basic 400G SSD, a classic 6T for a data site (/var/www/vhosts/mydomain.com/data.mydomain.com - currently with 1T of data).

We have scheduled a data backup to a remote S3.
Everything works well except the 1st backup once the data has been migrated which failed because there was not enough disk space. Which is understandable, a minimum of temporary disk space is required so that the backup can be created before being sent to S3.

Can you confirm that the variable to modify is "DUMP_TMP_D" in /etc/psa/psa.conf?
Nothing else?

...
# Backups directory
DUMP_D /var/lib/psa/dumps
# Backups temporary directory. DUMP_TMP_D should not be inside of (or equal to) DUMP_D.
DUMP_TMP_D /tmp
...

Wa have 6T on data domain, so:
DUMP_TMP_D /var/www/vhosts/mydomain.com/data.mydomain.com/backup_server_tmp

Thank you.

Erwan
 
Ok.
And using a symlink from /tmp to /var/www/vhosts/mydomain.com/data.mydomain.com/backup_server_tmp
and excluding /var/www/vhosts/mydomain.com/data.mydomain.com/backup_server_tmp from the backup ?

How do I know what minimum disk space is necessary for the backup process to be carried out (for example for 2T)?
On the system disk (400G), i've 200G available.
 
To answer both questions you'll have to test to find out what the result is. It's hard to predict.
 
So

Here is the error message from the saved state (S3 backup):

Error:
Unable to run the backup agent: PHP Warning: file_put_contents(/var/lib/psa/dumps/domains/mydomain.com/backup_info_2405310841_2406032111.xml): Failed to open stream: No space left on device; File: /usr/local/psa/admin/plib/backup/Agent/Dumper/DumpObject.php, Line: 75PHP Warning: file_put_contents(/var/lib/psa/dumps/domains/mydomain.com/backup_info_2405310841_2406032111.xml): Failed to open stream: No space left on device in /usr/local/psa/admin/plib/backup/Agent/Dumper/DumpObject.php on line 75PHP Warning: file_put_contents(/var/lib/psa/dumps/domains/mydomain.com/.discovered/backup_info_2405310841_2406032111/props): Failed to open stream: No space left on device; File: /usr/local/psa/admin/plib/backup/Agent/Dumper/DiscoveredInfo.php, Line: 45PHP Warning: file_put_contents(/var/lib/psa/dumps/domains/mydomain.com/.discovered/backup_info_2405310841_2406032111/props): Failed to open stream: No space left on device in /usr/local/psa/admin/plib/backup/Agent/Dumper/DiscoveredInfo.php on line 45PHP Warning: file_put_contents(/var/lib/psa/dumps/backup_info_2405310841_2406032111.xml): Failed to open stream: No space left on device; File: /usr/local/psa/admin/plib/backup/Agent/Dumper/DumpObject.php, Line: 75PHP Warning: file_put_contents(/var/lib/psa/dumps/backup_info_2405310841_2406032111.xml): Failed to open stream: No space left on device in /usr/local/psa/admin/plib/backup/Agent/Dumper/DumpObject.php on line 75PHP Warning: file_put_contents(/var/lib/psa/dumps/.discovered/backup_info_2405310841_2406032111/props): Failed to open stream: No space left on device; File: /usr/local/psa/admin/plib/backup/Agent/Dumper/DiscoveredInfo.php, Line: 45PHP Warning: file_put_contents(/var/lib/psa/dumps/.discovered/backup_info_2405310841_2406032111/props): Failed to open stream: No space left on device in /usr/local/psa/admin/plib/backup/Agent/Dumper/DiscoveredInfo.php on line 45PHP Warning: file_put_contents(/usr/local/psa/PMM/sessions/2024-06-03-211104.768/migration.result): Failed to open stream: No space left on device; File: /usr/local/psa/admin/plib/backup/Agent/LogWriter.php, Line: 72PHP Warning: file_put_contents(/usr/local/psa/PMM/sessions/2024-06-03-211104.768/migration.result): Failed to open stream: No space left on device in /usr/local/psa/admin/plib/backup/Agent/LogWriter.php on line 72PHP Warning: copy(/var/lib/psa/dumps/.discovered/backup_info_2405310841_2406032111/profile.log): Failed to open stream: No space left on device; File: /usr/local/psa/admin/plib/backup/Agent/Agent.php, Line: 503PHP Warning: copy(/var/lib/psa/dumps/.discovered/backup_info_2405310841_2406032111/profile.log): Failed to open stream: No space left on device in /usr/local/psa/admin/plib/backup/Agent/Agent.php on line 503

# df -lh
Filesystem Size Used Avail Use% Mounted on
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 13G 286M 13G 3% /run
/dev/md3 474G 83G 391G 18% /
/dev/md2 1019M 154M 865M 16% /boot
/dev/nvme1n1p1 511M 2.5M 509M 1% /boot/efi
/dev/md127 5.5T 1.5T 3.8T 28% /var/www/vhosts/mydomain.com/data.mydomain.com
tmpfs 6.3G 0 6.3G 0% /run/user/992
tmpfs 6.3G 0 6.3G 0% /run/user/1000

However, there is disk space available. How to do??
 
Back
Top