• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

/tmp is too small to download backup form server

stefanoostwegel

Basic Pleskian
Hi All,

I wish to download a backup from my server repository to my computer.
As soon as i do that, i recieve an error.
It seemend that the /tmp folder is too small.
It is only a 500 MB partition.

I have tried changing the following:
in file /etc/psa/psa.conf
change line:
# Backups directory
DUMP_D /storage/psa/dumps
DUMP_TMP_D /tmp

Where i changed DUMP_TMP_D to /backup
Then i did /etc/init.d/psa restart
As soon as i did that, i could press the download button on the server repository, but then i got the error in my browser 'file not found'.
I did change the folder permission to 777
Any suggestions how i can change the tmp folder to some other place? Have i created a bad directory with /backup?

Thank you!
 
Make sure that you have absolutely the same permissions and owners like /tmp directory:

# stat /tmp
File: `/tmp'
Size: 16384 Blocks: 32 IO Block: 4096 directory
Device: 18h/24d Inode: 34804519 Links: 3
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
 
Taking a look at my stat, this is what i get in erturn.
Is this correct or does it need any change?

File: `/backup'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd00h/64768d Inode: 3497473 Links: 3
Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)

File: `/tmp'
Size: 12288 Blocks: 24 IO Block: 4096 directory
Device: fd02h/64770d Inode: 2 Links: 4
Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
 
I did change the folders permission, but then again, when i try to download the backup, it still gives me the rror "coul not find file or directory".
That is net a legit Plesk error, just a browser error by Chrome.
If i check the /backup folder it actually has a dumpXXXXX.tar file, supposed to be my backup file.
Why won't it be downloaded?
 
Back
Top