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

FCREPO-1797. Added scripts to test backups and restore of fcrepo home #28

Closed
wants to merge 3 commits into from

Conversation

mohideen
Copy link

No description provided.

@ruebot
Copy link

ruebot commented Oct 29, 2015

testing

@mohideen thanks! Is there a JIRA ticket for this one?

@mohideen mohideen changed the title Added scripts to test backups and restore of fcrepo home FCREPO-1797. Added scripts to test backups and restore of fcrepo home Oct 29, 2015
@mohideen
Copy link
Author

@ruebot
Copy link

ruebot commented Oct 29, 2015

@mohideen everything looks good on my end.

@whikloj do you want to take a look too?

@awoods
Copy link

awoods commented Oct 29, 2015

@ruebot, I am waiting for @mohideen to put the associated ticket into "review" before reviewing this potentially in-flight work.

- Fixed typo in file name.
- Cleanup tmp files

```
cd ~/backup_restore/
./hot_backup_runner.sh 50 /var/lib/tomcat7/fcrepo4-data 2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I run this command, after a few minutes I run out of disk space with:
cp: cannot create directory ‘./backups/fcrepo_home.bkp.20151213181231’: No space left on device
How much disk is needed to run this? Is there a way of specifying or limited the required disk space?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@awoods, the amount of space required depends on the input params. For example, ./hot_backup_runner.sh 50 /var/lib/tomcat7/fcrepo4-data 2 will run 50 parallel ingest processes and create backups every 2 seconds. You can reduce the backup frequency to 5 or 10 seconds, if you are running out of storage.

@awoods
Copy link

awoods commented Dec 22, 2015

Resolved with: f359465

@awoods awoods closed this Dec 22, 2015
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

Successfully merging this pull request may close these issues.

None yet

3 participants