So I'm writing a backup/restore script, and it's getting a little intense in my head.
I mean seams simple enough, tar up the files, restore them on a new install. The restore will/can be relatively destructive, it is after all a restore. The backup though I want to be able to run as often as possible if necessary. Which brings me to this question:
What happens when tar attempts to archive something actively being written (say someone recording a voicemail, or something)? Will this just bomb out? Will it be destructive to the source file at all?
And then there's PGDump. I'm thinking this is less likely to be problematic, but same question applies.
Thoughts on the matter?
I mean seams simple enough, tar up the files, restore them on a new install. The restore will/can be relatively destructive, it is after all a restore. The backup though I want to be able to run as often as possible if necessary. Which brings me to this question:
What happens when tar attempts to archive something actively being written (say someone recording a voicemail, or something)? Will this just bomb out? Will it be destructive to the source file at all?
And then there's PGDump. I'm thinking this is less likely to be problematic, but same question applies.
Thoughts on the matter?