Displaying 1 result from an estimated 1 matches for "qaze".
Did you mean:
maze
2003 Mar 16
0
creating directories on destination
...ackups/host_name/
and I want to backup the source host to this dir so that at the end of the
backup I have:
/home/backups/host_name/home/user1
/home/backups/host_name/home/user2
/home/backups/host_name/var/lib/mysql/db1
/home/backups/host_name/var/lib/mysql/db2
etc.
I am using:
/usr/bin/rsync -qaze ssh /home/user1/
root@host_name:/home/backups/host_name/home/user1
(I call this for all other dirs too of course, see my next
message for why I do not just backup /home/ all at once)
With this command line, rsync fails unless I first:
mkdir /home/backups/host_name/home/
mkdir -p /home/backups/h...