rsync [options] source dest I assume the 'source' mentioned is what I want to backup and the dest is
Hi, As a fairly long time subscriber to this list and running Os 11.2 and looking at making a backup of my home directory to a locally connected NAS device that is owned by the root user. That is part of what will enable me to update to 13.2 on release. My current user can use 'sudo' but it is the syntax of the rsync command that is stopping me from executing as rsync can apparently be a BEAST if used incorrectly. I have read and re-read the man pages as well as doing some Google searches and reading Suse Linux Toolbox by Chris Negus. Many of references show copying from a remote host or using a remote daemon. Since I am doing it all locally I hope the list can help i.e. I am at the terminal on the machine that holds the information to be backed up and also has the Drobo is connected. My reading has given me that the command reads: the location I want the backup? My command so far is: $> sudo rsync -avPh /home root@Umalusi:/drobo/backup-'date +%A'/ This would, I believe, recursively copy all items in the /home directory, archiving files and folders, being verbose, and provide a human readable progress indicator, and place them in a dated folder on the backup medium with path being /Drobo. Since it is copying onto a root file-system is sudo still required or would it not still request the root password? Can you answer any of the queries, correct my command syntax, or redirect my thinking? Help towards using the cli property is the main aim, besides doing the backup etc etc. Your thoughts? Regards Hylton -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org