I want amanda to back up multiple home directories,
but I don't want to back up everything in /home.
I tried using syntax like
this:
myserver /dev/sdc1
{
server-user-tar
include
"./home/(user1|user2|user3|user4)*"
}
Amcheck didn't have any problems with it but when
the backup actually ran, I got the following messages in the dump
report:
FAILURE AND
STRANGE DUMP SUMMARY:
frank.veritime.com /dev/sdc1 lev
0 STRANGE
FAILED AND
STRANGE DUMP DETAILS:
/-- myserver /dev/sdc1 lev 0
STRANGE
sendbackup: start [myserver:/dev/sdc1 level 0]
sendbackup: info
BACKUP=/bin/gtar
sendbackup: info RECOVER_CMD=/bin/gtar -f...
-
sendbackup: info end
? gtar: ./home/(user1|user2|user3|user4)*: Warning:
Cannot stat: No such file or directory
| Total bytes written: 10240 (10kB,
?B/s)
sendbackup: size 10
sendbackup:
end
\--------
Did I do the regex incorrectly, or is there a
better way to accomplish this?
Thanks,
Jeff