• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

/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