This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision |
docs_in_draft:utilities_bckup_maint [2022/12/13 00:35] – [The Openmediavault Forum] crashtest | docs_in_draft:utilities_bckup_maint [2022/12/13 00:42] – [Rsync Drive Copy Errors] crashtest |
---|
**Solution 1:**\\ | **Solution 1:**\\ |
\\ | \\ |
Turn the quota service off. | Turn the quota service off.\\ |
\\ | \\ |
<html><tt><span style="color:#fa502c>"sudo /etc/init.d/quota stop</span></tt></html> | <html><tt><span style="color:#fa502c">sudo /etc/init.d/quota stop</span></tt></html>\\ |
\\ | \\ |
(In the following examples, substitute the appropriate UUID's for the source and destination drives in the Rsycn command line.) | (In the following examples, substitute the appropriate UUID's for the source and destination drives in the Rsycn command line.)\\ |
\\ | \\ |
<html><tt><span style="color:#fa502c">sudo quotaoff --user --group /srv/dev-disk-by-uuid-3bdb3de5-218b-4930-bb61-05cda64f8c6b</span></tt></html> | <html><tt><span style="color:#fa502c">sudo quotaoff --user --group /srv/dev-disk-by-uuid-3bdb3de5-218b-4930-bb61-05cda64f8c6b</span></tt></html> |
''''\\ | ''''\\ |
\\ | \\ |
Optionally, delete the files <html><tt><span style="color:#fa502c"aquota.group</span></tt></html> and <html><tt><span style="color:#fa502c"aquota.user</span></tt></html> from the source and destination drives.\\ | Optionally, delete the files <html><tt><span style="color:#fa502c">aquota.group</span></tt></html> and <html><tt><span style="color:#fa502c">aquota.user</span></tt></html> from the source and destination drives.\\ |
\\ | \\ |
**Solution 2:**\\ | **Solution 2:**\\ |
A full command line example: | A full command line example: |
| |
<html><tt><span style="color:#fa502c">rsync -av --delete --exclude='aquota.group' --exclude='aquota.user' /source-drive/ /destination-drive/</span></tt></html> | <html><tt><span style="color:#fa502c">rsync -av --delete --exclude='aquota.user' --exclude='aquota.group' /source-drive/ /destination-drive/</span></tt></html> |
| |
---- | ---- |