Howto write a backup script on linux
I am writing a backup script on linux using python
The script runs continuously on a live linux box and tries to backup every file that changes in the filesystem by checking the latest change time of the file.
My question is how can I maintain file integrity with files being used by running applications on the box and these files being read and written to by the backup script.
Do I nead some form of locking (flock does not seem to be the trick, but I don't know)
Kind regards,
Jeroen Eitjes
|