On Wed, 2020-12-09 at 10:44 -0500, Bob Goodwin wrote:
On 2020-12-09 09:34, Patrick O'Callaghan wrote:
> On Wed, 2020-12-09 at 09:29 -0500, Bob Goodwin wrote:
> > I have a failed NFS and would like to copy the data from the hard drive.
> > rsync seems the best way? What is the best set of rsync options to
> > ensure that I get everything?
> From 'man rsync':
>
> --archive, -a archive mode; equals -rlptgoD (no -H,-A,-X)
>
> Optionally add 'v' (verbose) and 'z' (compression) according to
taste.
>
> poc
I should have been more specific in asking this. I am concerned with the
possibility it will not go through directories. in the past I have had
an empty list of directories. it didn't go through recursively in every
one and I am not sure what options I used at that time since it was long
afterward discovered. Just want to get it right without experimenting ...
The -a option includes -r (recursive). See the man page I referenced.
You can also do a dry run to check:
--dry-run, -n perform a trial run with no changes made
poc