rsync is not copying recursively even with --archive












0














I am trying to use rsync to backup my home folder to an external hard drive. I have tried the following command:



sudo rsync -a /home /run/media/TOSHIBA_HDD/home_12_18


Inside my home directory I have my user folder, inside of which are the regular Documents, Downloads, etc. All of those folders are being copied, but without any of their contents. So I have the folder structure, but all the folders are empty. I've been searching around but cannot seem to find a solution. I've also noticed that rsync seems to copy exactly 1GB before hanging. I also get the following error messages right after running rsync:



rsync: symlink "/media/tac/TOSHIBA_HDD/home_12_18/tac/.face.icon" -> ".face" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf/.user.BnazoW" failed: Operation not permitted (1)









share|improve this question






















  • Don't you have permission to write to the destination?
    – Kusalananda
    Dec 19 '18 at 8:13










  • I'm running this with sudo so I believe I have permission. I also made sure to change ownership of the external drive so I'm not sure what that chown error is about.
    – dialh
    Dec 20 '18 at 5:48










  • Is the external drive using a filesystem type that does not support symbolic links and ownerships? If you cd to a directory on the mounted drive, can you, as root, change ownership of a file with chmod and create a symbolic link?
    – Kusalananda
    Dec 20 '18 at 10:26
















0














I am trying to use rsync to backup my home folder to an external hard drive. I have tried the following command:



sudo rsync -a /home /run/media/TOSHIBA_HDD/home_12_18


Inside my home directory I have my user folder, inside of which are the regular Documents, Downloads, etc. All of those folders are being copied, but without any of their contents. So I have the folder structure, but all the folders are empty. I've been searching around but cannot seem to find a solution. I've also noticed that rsync seems to copy exactly 1GB before hanging. I also get the following error messages right after running rsync:



rsync: symlink "/media/tac/TOSHIBA_HDD/home_12_18/tac/.face.icon" -> ".face" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf/.user.BnazoW" failed: Operation not permitted (1)









share|improve this question






















  • Don't you have permission to write to the destination?
    – Kusalananda
    Dec 19 '18 at 8:13










  • I'm running this with sudo so I believe I have permission. I also made sure to change ownership of the external drive so I'm not sure what that chown error is about.
    – dialh
    Dec 20 '18 at 5:48










  • Is the external drive using a filesystem type that does not support symbolic links and ownerships? If you cd to a directory on the mounted drive, can you, as root, change ownership of a file with chmod and create a symbolic link?
    – Kusalananda
    Dec 20 '18 at 10:26














0












0








0







I am trying to use rsync to backup my home folder to an external hard drive. I have tried the following command:



sudo rsync -a /home /run/media/TOSHIBA_HDD/home_12_18


Inside my home directory I have my user folder, inside of which are the regular Documents, Downloads, etc. All of those folders are being copied, but without any of their contents. So I have the folder structure, but all the folders are empty. I've been searching around but cannot seem to find a solution. I've also noticed that rsync seems to copy exactly 1GB before hanging. I also get the following error messages right after running rsync:



rsync: symlink "/media/tac/TOSHIBA_HDD/home_12_18/tac/.face.icon" -> ".face" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf/.user.BnazoW" failed: Operation not permitted (1)









share|improve this question













I am trying to use rsync to backup my home folder to an external hard drive. I have tried the following command:



sudo rsync -a /home /run/media/TOSHIBA_HDD/home_12_18


Inside my home directory I have my user folder, inside of which are the regular Documents, Downloads, etc. All of those folders are being copied, but without any of their contents. So I have the folder structure, but all the folders are empty. I've been searching around but cannot seem to find a solution. I've also noticed that rsync seems to copy exactly 1GB before hanging. I also get the following error messages right after running rsync:



rsync: symlink "/media/tac/TOSHIBA_HDD/home_12_18/tac/.face.icon" -> ".face" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf" failed: Operation not permitted (1)
rsync: chown "/media/tac/TOSHIBA_HDD/home_12_18/tac/.cache/dconf/.user.BnazoW" failed: Operation not permitted (1)






rsync






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 19 '18 at 6:41









dialh

11




11












  • Don't you have permission to write to the destination?
    – Kusalananda
    Dec 19 '18 at 8:13










  • I'm running this with sudo so I believe I have permission. I also made sure to change ownership of the external drive so I'm not sure what that chown error is about.
    – dialh
    Dec 20 '18 at 5:48










  • Is the external drive using a filesystem type that does not support symbolic links and ownerships? If you cd to a directory on the mounted drive, can you, as root, change ownership of a file with chmod and create a symbolic link?
    – Kusalananda
    Dec 20 '18 at 10:26


















  • Don't you have permission to write to the destination?
    – Kusalananda
    Dec 19 '18 at 8:13










  • I'm running this with sudo so I believe I have permission. I also made sure to change ownership of the external drive so I'm not sure what that chown error is about.
    – dialh
    Dec 20 '18 at 5:48










  • Is the external drive using a filesystem type that does not support symbolic links and ownerships? If you cd to a directory on the mounted drive, can you, as root, change ownership of a file with chmod and create a symbolic link?
    – Kusalananda
    Dec 20 '18 at 10:26
















Don't you have permission to write to the destination?
– Kusalananda
Dec 19 '18 at 8:13




Don't you have permission to write to the destination?
– Kusalananda
Dec 19 '18 at 8:13












I'm running this with sudo so I believe I have permission. I also made sure to change ownership of the external drive so I'm not sure what that chown error is about.
– dialh
Dec 20 '18 at 5:48




I'm running this with sudo so I believe I have permission. I also made sure to change ownership of the external drive so I'm not sure what that chown error is about.
– dialh
Dec 20 '18 at 5:48












Is the external drive using a filesystem type that does not support symbolic links and ownerships? If you cd to a directory on the mounted drive, can you, as root, change ownership of a file with chmod and create a symbolic link?
– Kusalananda
Dec 20 '18 at 10:26




Is the external drive using a filesystem type that does not support symbolic links and ownerships? If you cd to a directory on the mounted drive, can you, as root, change ownership of a file with chmod and create a symbolic link?
– Kusalananda
Dec 20 '18 at 10:26















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489838%2frsync-is-not-copying-recursively-even-with-archive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489838%2frsync-is-not-copying-recursively-even-with-archive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre