Skip to content

Commit

Permalink
Update newuserguide.rst
Browse files Browse the repository at this point in the history
Rsync addition - slight changes
  • Loading branch information
flmaxey committed Jan 29, 2021
1 parent 016398e commit 5d0e6f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions new_user_guide/newuserguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2869,15 +2869,17 @@ Add the following exclude statements to the rsync command line:
``--exclude='aquota.group' --exclude='aquota.user'``

A full command line example:
``rsync -av -–delete --exclude='aquota.group' --exclude='aquota.user' /srv/dev-disk-by-label-DATA/ /srv/dev-disk-by-label-RSYNC/``

``rsync -av -–delete --exclude='aquota.group' --exclude='aquota.user' /srv/dev-disk-by-label-DATA/ /srv/dev-disk-by-label-RSYNC/``

**Solution 2:**

Turn the quota service off.

``sudo /etc/init.d/quota stop``

(In the following examples, substitute the appropriate labels for the source and destination drives.)

``sudo quotaoff --user --group /srv/dev-disk-by-label-DATA``
``sudo quotaoff --user --group /srv/dev-disk-by-label-RSYNC``

Expand Down

0 comments on commit 5d0e6f6

Please sign in to comment.