?
Solved

Suse 10.2 /tmp folder filling up after nightly backups

Posted on 2007-03-19
5
Medium Priority
?
453 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 35

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 35

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 35

Accepted Solution

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

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

771 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