Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tod /crusader backup filesystem full #41

Closed
jdimatteo opened this issue Oct 30, 2014 · 7 comments
Closed

tod /crusader backup filesystem full #41

jdimatteo opened this issue Oct 30, 2014 · 7 comments
Assignees

Comments

@jdimatteo
Copy link
Member

Related to this, we should complete BradnerLab/SystemAdmin#3 .

(Note that I mistakenly created this as a pipeline issue when I meant to create it as a SystemAdmin issue.)

@jdimatteo jdimatteo self-assigned this Oct 30, 2014
@jdimatteo
Copy link
Member Author

Clearing some space now, by removing the backups we disabled last December:

root@tod:/crusader/backup/rdiff-backup# rm -rf ifs
root@tod:/crusader/backup/rdiff-backup# rm -rf mnt

(Still running)

This should allow tonight's backup to proceed normally.

@jdimatteo
Copy link
Member Author

After we get #3 done, we can do something like the following to remove files/diffs older than 1 month:

rdiff-backup --remove-older-than 1M --force /backups

@jdimatteo
Copy link
Member Author

root@tod:/crusader# df -h .
Filesystem                   Size  Used Avail Use% Mounted on
172.24.209.62:/volume1/data   17T   15T  2.0T  89% /crusader
root@tod:/crusader# 

@jdimatteo
Copy link
Member Author

I changed tod:/root/backup-scripts/backup-grail.sh

from

rdiff-backup --backup-mode --exclude-other-filesystems /grail/ /crusader/backup/rdiff-backup/grail

to

rdiff-backup --backup-mode --exclude-other-filesystems --include /grail/bam --include /grail/projects --include /grail/TONY --exclude /grail /grail/ /crusader/backup/rdiff-backup/grail

This will prevent directories like /grail/raw from being backed up in the future. When we run the rdiff-backup --remove-older-than thing we can delete /crusader/backup/rdff-backup/grail/raw

@jdimatteo
Copy link
Member Author

The grail and root rdiff-backups keep failing during regressing.

Trying to correct based off suggestions at http://www.nongnu.org/rdiff-backup/FAQ.html#regress_failure :

root@tod:/crusader/backup/rdiff-backup/grail/rdiff-backup-data# mv current_mirror.2014-10-21T03:00:08-04:00.data ~/gunk/
root@tod:/crusader/backup/rdiff-backup/root_directory/rdiff-backup-data# mv current_mirror.2014-10-23T03:00:10-04:00.data ~/gunk/

There were no mirror_metadata files with a later date, so I didn't remove those like the faq suggested.

@jdimatteo
Copy link
Member Author

The last time I fixed the grail backup it failed to complete because TOD was restarted in the middle of the backup. It seems like it needs to finish a full backup before it can recover itself. I just did the suggested fix again and hopefully the backup will finish. It might take a couple days to finish since it has to do extra work to recover from the prior interrupted backup.

root@tod:/crusader/backup/rdiff-backup/grail/rdiff-backup-data# mv current_mirror.2014-10-23T03\:00\:10-04\:00.data ~/gunk/current_mirror.2014-10-23T03\:00\:10-04\:00.data-2 

@jdimatteo
Copy link
Member Author

Backups back to normal as of January 13th using the /mnt/bradner/data for grail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant