Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have set up a perforce server and now want to run deja-dup back up to back the server up.

The problem is that before the back up starts, I have to run a script to make a check point on perforce database and journaling.

The question is: can I change deja-dup setting to run that script before the back up starts or there is another better automated way to do that?

Please let me know if further info is required. I have Ubuntu 12.10

share|improve this question

2 Answers 2

There's no easy way to do what you want, to my knowledge. You could have something server-side that notices new files in the backup directory?

share|improve this answer

The question is: can I change deja-dup setting to run that script before the back up starts

Nope. deja-dup is made to do 1 thing and do it good: make a backup. It has, intentionally, not got a lot of features.

or there is another better automated way to do that?

Create a script that does the things you need it to do and let the script itself start deja-dup and then execute your script instead of the deja-dup executable.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.