From: Evgeniy Z. <ei...@ro...> - 2004-12-10 15:27:30
|
Hello flexbackup-help, I use Flexbackup 1.2.1 for backup data by the machines scattered in a network. Flexbackup it is started under user 'backup' and for backuping data on remote machines it is used ssh-keys without password and with sudo-command. On the majority of machines as operational system stand Linux (Gentoo). The data normally backuping. But I have faced a problem at attempt to backup data on remote FreeBSD machine (start flexbackup occurs by the linux-machine): Flexbackup 1.2.1 Gentoo Linux ======= ssh =====> FreeBSD 5.3 The problem consists that $prune={"} directories are not ignored as the linux-machine transfers on the bsd-machine the next line (for example): ssh -l bbb remote-bsd 'cd "/home" && sudo find . -regex "\./\(ftp\|mysql\|backup/data\)/.*" -prune -o (using csh-shell, $prune={'remote-bsd:/home'} = "ftp mysql backup/data"; ) this list of directories are not prune from backup-list on FreeBSD-mashine. For FreeBSD it is necessary to specify in addition a key "-E" for find-utility and to NOT escape ("\|","\)"...) symbols "|", ")" and "(". Problem in that Flexbackup check of operational system goes only at start, i.e. by the local machine. And that fact, that a command will be executed on other OS, it is not taken (if start flexbackup with the same options directly on freebsd-mashine, all parameters, including "-E" are transferred the utility find correctly). Unfortunately, my knowledge does not suffice for correction of this problem. Someone can it already has solved? -- Best regards, Evgeniy mailto:ei...@ro... |