Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Full backup hard drive

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Sat Jul 16, 2011 3:52 pm    Post subject: Full backup hard drive Reply with quote

Code:

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:
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
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8457
Location: Warrington, UK

PostPosted: Sat Jul 16, 2011 5:07 pm    Post subject: Re: Full backup hard drive Reply with quote

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)
Back to top
View user's profile Send private message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1071
Location: Worcestershire

PostPosted: Sun Jul 17, 2011 6:01 pm    Post subject: Reply with quote

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!
_________________
Cheers,
Guy
The eternal help vampire
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast