Rsnapshot made my external disk run out of space












1














I have Rsnapshot doing incremental backups from Client1 to Server1 (RAID 5) within folder "BACKUP".



On Server 1, tonight, I copied the "BACKUP"to an external disk for the first time using the command rsync -av --whole-file --delete /home/Server1/Backup /mnt/zeusExt/Server1/Backup. The command aborted on "Disk Full", even though the RAID on Server1 is 4TB and the external disk is also 4TB.



So I decided to do a du -h on the "BACKUP" folder (1.2TB) on the RAID and on the "BACKUP" folder on the external disk (492GB).



As you can see, the two sizes are not matching. Any clues as to why this may be? Is this to do with the hard links business that Rsnapshot uses? Is there a way to replicate the "BACKUP" folder on Server1 to its equivalent on the external disk using rsync (I guess there must be some option that I'm missing ...)?



Thanks










share|improve this question






















  • If it's hardlinks, then add rsync -H (preserve hard links). There's also -S sparse, -A ACL, -X extended attributes ...
    – frostschutz
    3 hours ago
















1














I have Rsnapshot doing incremental backups from Client1 to Server1 (RAID 5) within folder "BACKUP".



On Server 1, tonight, I copied the "BACKUP"to an external disk for the first time using the command rsync -av --whole-file --delete /home/Server1/Backup /mnt/zeusExt/Server1/Backup. The command aborted on "Disk Full", even though the RAID on Server1 is 4TB and the external disk is also 4TB.



So I decided to do a du -h on the "BACKUP" folder (1.2TB) on the RAID and on the "BACKUP" folder on the external disk (492GB).



As you can see, the two sizes are not matching. Any clues as to why this may be? Is this to do with the hard links business that Rsnapshot uses? Is there a way to replicate the "BACKUP" folder on Server1 to its equivalent on the external disk using rsync (I guess there must be some option that I'm missing ...)?



Thanks










share|improve this question






















  • If it's hardlinks, then add rsync -H (preserve hard links). There's also -S sparse, -A ACL, -X extended attributes ...
    – frostschutz
    3 hours ago














1












1








1







I have Rsnapshot doing incremental backups from Client1 to Server1 (RAID 5) within folder "BACKUP".



On Server 1, tonight, I copied the "BACKUP"to an external disk for the first time using the command rsync -av --whole-file --delete /home/Server1/Backup /mnt/zeusExt/Server1/Backup. The command aborted on "Disk Full", even though the RAID on Server1 is 4TB and the external disk is also 4TB.



So I decided to do a du -h on the "BACKUP" folder (1.2TB) on the RAID and on the "BACKUP" folder on the external disk (492GB).



As you can see, the two sizes are not matching. Any clues as to why this may be? Is this to do with the hard links business that Rsnapshot uses? Is there a way to replicate the "BACKUP" folder on Server1 to its equivalent on the external disk using rsync (I guess there must be some option that I'm missing ...)?



Thanks










share|improve this question













I have Rsnapshot doing incremental backups from Client1 to Server1 (RAID 5) within folder "BACKUP".



On Server 1, tonight, I copied the "BACKUP"to an external disk for the first time using the command rsync -av --whole-file --delete /home/Server1/Backup /mnt/zeusExt/Server1/Backup. The command aborted on "Disk Full", even though the RAID on Server1 is 4TB and the external disk is also 4TB.



So I decided to do a du -h on the "BACKUP" folder (1.2TB) on the RAID and on the "BACKUP" folder on the external disk (492GB).



As you can see, the two sizes are not matching. Any clues as to why this may be? Is this to do with the hard links business that Rsnapshot uses? Is there a way to replicate the "BACKUP" folder on Server1 to its equivalent on the external disk using rsync (I guess there must be some option that I'm missing ...)?



Thanks







rsync hard-link rsnapshot






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 3 hours ago









MiniTux

113




113












  • If it's hardlinks, then add rsync -H (preserve hard links). There's also -S sparse, -A ACL, -X extended attributes ...
    – frostschutz
    3 hours ago


















  • If it's hardlinks, then add rsync -H (preserve hard links). There's also -S sparse, -A ACL, -X extended attributes ...
    – frostschutz
    3 hours ago
















If it's hardlinks, then add rsync -H (preserve hard links). There's also -S sparse, -A ACL, -X extended attributes ...
– frostschutz
3 hours ago




If it's hardlinks, then add rsync -H (preserve hard links). There's also -S sparse, -A ACL, -X extended attributes ...
– frostschutz
3 hours ago










0






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%2f492902%2frsnapshot-made-my-external-disk-run-out-of-space%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






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%2f492902%2frsnapshot-made-my-external-disk-run-out-of-space%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

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux