I need to backup a directory throughout the day but would like to know if any processes are currently locking up any of the files within this directory or subdirectories before I do so. Is there a command that would return this type of data?
Was planning on using the (tar cvf - . | gzip > /backupfile.tar.gz) command to do the backup.
Thanks.
Was planning on using the (tar cvf - . | gzip > /backupfile.tar.gz) command to do the backup.
Thanks.