I'm trying to come up with the correct command line parameters to do
what should be (I think) a pretty simple rsync backup/copy to another
directory.
The tricky parts seem to be how to preserve the "sub-"directory
structure for each sub-directory. Clear as mud ... right?
What I'm confined by is I'm backup up to a Windows server via ftp. I've
install curlftpfs and it is working fine. Using cp kind of worked.
What I'm trying to back up is a bunch of varying files and directories
from several directories.
Source files and directories look like this:
/topdir/svr1/
/topdir/srv2/
/topdir/srv3/
And the file and directory names to be backedup/copied are in the files:
/var/backup.d/{srv1.lst,svr2,srv3}.lst
The backup/copies) need to go to:
/mnt/backup/{svr1,svr2,svr3}
preferably without the /topdir/.
I've tried several iterations using different naming conventions in the
/var/backup.d/*.lst files and command line combinations with varying
levels of success.
The last try was:
srv1.lst contained (actual names and values obfuscated):
/topdir/srv1/etc/passwd
/topdir/svr1/var/www/
rsync -azrR --include-from=/var/backup.d/svr1.lst /mnt/backup/svr1/
I'm just getting a list of existing files in /mnt/backup/ but no copy of
the files.
Any suggestions about what else to try or where to look?
TIA,
Rod
--
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug