Where are backups stored prior to being transferred?

3 posts / 0 new
Last post
#1 Sun, 02/27/2011 - 11:59
JohnPenrod

Where are backups stored prior to being transferred?

Quick question...

Dedicated server I am using has seperate mounts for /, /usr and /var.

They are rather small, but I can increase their size.

Where does the scheduled backup script store the gzipped file prior to transfer?

It's failing right now due to an "out of space" error, so I assume it's one of these mounts.

Thanks!

John P.

Sun, 02/27/2011 - 12:34
JohnPenrod

So, found that /tmp is hard coded in the backup scripts.

For the dedicated server I have, /tmp is mounted as a tmpfs drive. So, only 1 gig of room by default.

I can make it larger of course, but this would send much of the store to swap space.

mount -t tmpfs tmpfs /tmp -o size=10000M,mode=1777,remount

Could also unmount /tmp and make it a standard partition; albiet larger.

What would be good, would be to have a configuration setting that allows setting a specific "temp" location for backups.

John P.

Sun, 02/27/2011 - 13:22
andreychek

Howdy,

Yeah, as you saw, it uses /tmp by default.

However, you can change that to use another path by going into Webmin -> Webmin -> Webmin -> Configuration -> Advanced Options.

From there, you can set the tmp directory to use a partition that has more space.

-Eric

Topic locked