Editing Talk:1718: Backups

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
I think this makes more sense if only a small portion of all files from the laptop complete the ENTIRE loop. if the total percentage of files which complete the entire loop is 0.0004% , and he backups once a month, that should give him exponential growth slightly smaller than Moore's Law.  At 18 months, his total file size would be about 168% of the original.  [[Special:Contributions/172.68.58.245|172.68.58.245]] 22:03, 10 August 2016 (UTC)
 
I think this makes more sense if only a small portion of all files from the laptop complete the ENTIRE loop. if the total percentage of files which complete the entire loop is 0.0004% , and he backups once a month, that should give him exponential growth slightly smaller than Moore's Law.  At 18 months, his total file size would be about 168% of the original.  [[Special:Contributions/172.68.58.245|172.68.58.245]] 22:03, 10 August 2016 (UTC)
: "Cueball: Wait. My laptop is backing up some folders to this server..." Because of that I agree with you. It's saying "Some" folders are being backed up. The wording heavily implies it's not everything in the computer being backed up just a part. [[Special:Contributions/141.101.98.61|141.101.98.61]]
 
: Even if all the files do make the round trip they might use good deduplication. If all the files round trip but only the changes and a few kilobytes of metadata per file are duplicated then the growth can be exponential. This is only true if none of the backups are compressed or encrypted, though. {{unsigned ip|108.162.219.232}}
 
  
  
Line 9: Line 7:
  
 
This happens. It can really surprise you when the exponential curve is flat enough. We had a case where we kept a log of the backups on a server that was backed up. This went fine for years, until at some point when we ran out of backup space we found that backups of the logs of backups consumed over 99% of our diskspace.[[Special:Contributions/162.158.87.11|162.158.87.11]] 10:04, 11 August 2016 (UTC)
 
This happens. It can really surprise you when the exponential curve is flat enough. We had a case where we kept a log of the backups on a server that was backed up. This went fine for years, until at some point when we ran out of backup space we found that backups of the logs of backups consumed over 99% of our diskspace.[[Special:Contributions/162.158.87.11|162.158.87.11]] 10:04, 11 August 2016 (UTC)
:Tee hee! This is why the first thing I exclude from backup is the log directory, or the whole /var tree (with a few selected exceptions, like /var/spool/cron/crontabs - this is a royally misplaced location, it should go under /etc). The logs that need to be kept are sent to a log server, online, by the logger daemon itself. If there's no log server (small systems) at least send the logs to backup place during log rotation. -- [[Special:Contributions/162.158.203.151|162.158.203.151]] 18:59, 11 August 2016 (UTC)
 
:I once managed to backup / to the backup disk at /media/Backup Disk. D'oh. Backupception. --[[Special:Contributions/162.158.150.228|162.158.150.228]] 12:17, 11 August 2016 (UTC)
 
 
I think there should be an explanation, why this setup leads to exponential growth. IMO, it is linear or polynomial of degree 2 at most. Let's assume, the notebook does only contain one file: /A.txt. After one backup-cycle there are two files: /A.txt and /backups/A.txt. After the next one, there are three: /A.txt, /backups/A.txt and /backups/backups/A.txt. Thus the amount of files does only grow in a linear way. Only the path-information is growing faster: The amount of additional directories in the file's path is growing with the square of the amount cycles (it's the sum of all integers from 1 to the cycle-count).
 
Can anybody explain the exponential growth? [[User:Epaminaidos|Epaminaidos]] ([[User talk:Epaminaidos|talk]]) 06:44, 12 August 2016 (UTC)
 
 
: The number of files grows exponentially, if not a certain amount of data but a percentage of the data is backed up in each cycle. --[[Special:Contributions/162.158.83.228|162.158.83.228]] 07:31, 12 August 2016 (UTC)
 
:: Can you elaborate this? I don't get it. [[User:Epaminaidos|Epaminaidos]] ([[User talk:Epaminaidos|talk]]) 09:50, 12 August 2016 (UTC)
 
 
: I guess most backup systems keep older backups. First, there's /A.txt. Next, there's /A.txt and /backup/2016-08-12/A.txt. Third, there's /A.txt, /backup/2016-08-12/A.txt, /backup/2016-08-13/A.txt and /backup/2016-08-13/backup/2016-08-12/A.txt. --[[User:SlashMe|SlashMe]] ([[User talk:SlashMe|talk]]) 09:38, 12 August 2016 (UTC)
 
:: Cueball is talking about "syncing folders", not about a backup-system that keeps old versions. [[User:Epaminaidos|Epaminaidos]] ([[User talk:Epaminaidos|talk]]) 09:50, 12 August 2016 (UTC)
 
::: ?????  The first two panels say they are creating back-ups. [[Special:Contributions/108.162.210.196|108.162.210.196]] 12:35, 12 August 2016 (UTC)
 
::: Actually, there are two backup systems and one sync involved. --[[User:SlashMe|SlashMe]] ([[User talk:SlashMe|talk]]) 13:17, 12 August 2016 (UTC)
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Template used on this page: