Solved

Suse 10.2 /tmp folder filling up after nightly backups

Posted on 2007-03-19
5
438 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
Comment Utility
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
Comment Utility
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
Comment Utility
Well it was the backup that comes with Suse 10.2, you get to it through Yast2

Duncan,

0
 

Author Comment

by:ParanoidOne
Comment Utility
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
Comment Utility
I simply back up using tar.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now