Solved

Suse 10.2 /tmp folder filling up after nightly backups

Posted on 2007-03-19
5
445 Views
Last Modified: 2011-09-20
I have a fairly fresh install of Suse 10.2 server with a 500gb hard drive for the OS and 3 500gb hard drives in a raid 5 equaling 1tb for the data. I went for the default partitioning setup since I am new to this and let things rip. Well so far all is good except one thing. I wanted to be sure of having backups so I scheduled a new backup daily going from the main drive to the raid setup nightly. Every single morning the /tmp directory is full of what appears to be temporary backup files. The /tmp directory appears to be a 10gb partition and you would think that would be enough ? The main 500gb is being backed up to the 1tb raid partition.

What am I doing wrong here ? I would think increasing the size would be a band-aid fix and would still fill up in time
0
Comment
Question by:ParanoidOne
  • 3
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18751810
You need to say what is the backup procedure you are using. The fact that it leaves /tmp full every morning suggests to me that it's not actually working at present 0- well written software will delete temporary files on completion but if the temporary resource gets exhausted midway then they may not.
In other words, I suspect your backup process is failing nightly because /tmp fills up.
You can either give /tmp a *lot* more room (try 100GB but it might not be enough) or change the behaviour of your backup package or ditch that package in favour of something that doesn't use /tmp for intermediary storage.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18751831
You can be as aggressive as you like in flushing /tmp with a root cron job, so you needn't worry about it filling up over time. My concern is that it may be filling up before one instance of a backup can complete.
0
 

Author Comment

by:ParanoidOne
ID: 18752001
Well it was the backup that comes with Suse 10.2, you get to it through Yast2

Duncan,

0
 

Author Comment

by:ParanoidOne
ID: 18752012
Duncan,
     I am also worried that no matter how much I flush the tmp folder, or how much I give /tmp it is always going to fill up quickly. Can anyone suggest a simple to use backup program that will backup into a single tar/gzip file ?
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 18754509
I simply back up using tar.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question