Question
February 13, 2007 at 08:26 AM
danlm

backing up directories with active process’s running in unix

by danlm . Updated 19 years, 5 months ago

Ok, I know this is a stupid question(least in my eyes). I have just set up a UNIX box(FreeBSD 6.2), and building the backup process’s. The directories that I want to back up are /home /etc /namedb and /apache22.

As you can tell, most of these directories will have active process’s including the home directories. When I tried using tar -cfvz, I get the following error message;tar: /usr/local/backups/apache22/apache22-daily-20070213.tgz: Cannot stat: No such file or directory.

This error message is being driven out of a perl script that performs the tar function via a system call. When I try to perform the same tar function from command line, I also receive the same error. This is all occurring from root account, so no permission issues should be occurring.

What I have read on that specific error message states that there is an active process running, and this is most likely causing the error. Yea, ok… Works for me, I know there are active process’s running in all of those directories.

Suggestions here on how I can back up these directories??? It is a remote machine where I will be ftping/sftp the backup files off site for safe keeping after the backup is complete.

god, Im stupid. This is going to be a chit day.

Dan

This discussion is locked

All Comments