Full backup hard drive

Discussion topics, Linux related - not requests for help

Moderators: ChriThor, LXF moderators

Full backup hard drive

Postby bobthebob1234 » Sat Jul 16, 2011 2:52 pm

Code: Select all
jim@vle1:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             294G  294G     0 100% /backup-hdd

What happens now?
Backups are still appearing, and ls -lh says they are about the right size (5.5gb tars, once a week), however extracting the latest one I get
Code: Select all
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Are they really there, overwriting old ones or what?

I have used webmin to set up a filesystem backup (well a directory backup).

I guess I need to write a quick script to delete old backups?
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
LXF regular
Posts: 1373
Joined: Thu Jan 03, 2008 9:38 pm
Location: A hole in a field

Re: Full backup hard drive

Postby nelz » Sat Jul 16, 2011 4:07 pm

bobthebob1234 wrote:Are they really there, overwriting old ones or what?

I would hope not, it would be a lousy backup program that overwrote the previous backups before verifying the new ones.

I'd suggest deleting some of the 50-odd old backups you have to make some space, or switch to a system that uses incremental backups.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
Site admin
Posts: 9046
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby guy » Sun Jul 17, 2011 5:01 pm

What is your backup program supposed to do when the drive fills up?

That's a bit rhetorical - I never like challenging the program's quality with real-life boundary conditions like that. Yes, get rid of the oldest backups to create some space - just check whether you should be archiving them somewhere first!

A routine script to archive/delete the oldest file after backing up might be useful - assuming of course that it behaves sensibly if the archive medium is full!
"We don't need no frikkin' aliens, we c'n do this ourselves!" — anon.
LXF regular
Posts: 1331
Joined: Thu Apr 07, 2005 12:07 pm
Location: Worcestershire

Return to Discussion

Who is online

Users browsing this forum: No registered users and 2 guests